Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fastdht
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • YuQing
  • fastdht
  • Wiki
  • Home

Home · Changes

Page history
Updated Home (markdown) authored Apr 11, 2019 by blank-1's avatar blank-1
Show whitespace changes
Inline Side-by-side
Home.md
View page @ 2c9d9fa7
...@@ -74,18 +74,18 @@ line 210 keep_alive=1 ...@@ -74,18 +74,18 @@ line 210 keep_alive=1
line 217: #include /etc/fdht/fdht_servers.conf line 217: #include /etc/fdht/fdht_servers.conf
``` ```
三、启动FastDHT ## 三、启动FastDHT
##1、启动命令: ### 1、启动命令:
``` ```
cp fdhtd /etc/init.d/ cp fdhtd /etc/init.d/
/etc/init.d/fdhtd /etc/fdhtd/fdhtd.conf /etc/init.d/fdhtd /etc/fdhtd/fdhtd.conf
``` ```
##2、重启命令: ### 2、重启命令:
``` ```
fdhtd /etc/fdht/fdhtd.conf restart fdhtd /etc/fdht/fdhtd.conf restart
``` ```
##3、出错排查 ### 3、出错排查
``` ```
#若缺少libdb-6.2.so #若缺少libdb-6.2.so
cp /usr/local/db-6.2.32/lib/libdb-6.2.so /usr/lib/ cp /usr/local/db-6.2.32/lib/libdb-6.2.so /usr/lib/
...@@ -97,7 +97,7 @@ fdhtd /etc/fdht/fdhtd.conf ...@@ -97,7 +97,7 @@ fdhtd /etc/fdht/fdhtd.conf
netstat -an | grep 11411 netstat -an | grep 11411
(注意:要先启动FastDHT。在启动storage,才能使文件去重功能生效。) (注意:要先启动FastDHT。在启动storage,才能使文件去重功能生效。)
``` ```
##4、设置FastDHT开机自启 ### 4、设置FastDHT开机自启
``` ```
vi /etc/rc.local vi /etc/rc.local
#加入以下配置: #加入以下配置:
...@@ -106,7 +106,7 @@ fdhtd /etc/fdht/fdhtd.conf ...@@ -106,7 +106,7 @@ fdhtd /etc/fdht/fdhtd.conf
#执行命令,使之生效: #执行命令,使之生效:
chmod +x /etc/rc.local chmod +x /etc/rc.local
``` ```
### 6、验证 ### 5、验证
``` ```
#多次执行命令来上传同一个文件: #多次执行命令来上传同一个文件:
upload_file /etc/fdfs/client.conf /usr/local/src/nginx-1.15.4.tar.gz upload_file /etc/fdfs/client.conf /usr/local/src/nginx-1.15.4.tar.gz
......
Clone repository
  • Home