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 @ 673785bf
......@@ -100,12 +100,14 @@ netstat -an | grep 11411
(注意:要先启动FastDHT。在启动storage,才能使文件去重功能生效。)
```
##4、设置FastDHT开机自启
```
`vi /etc/rc.local `
加入以下配置:
`fdhtd /etc/fdht/fdhtd.conf`
如果开启自启不生效,可能是centOS找不到fdhtd文件。建议把全路径写上:`/usr/local/bin/fdhtd /etc/fdht/fdhtd.conf`
执行命令,使之生效:
`chmod +x /etc/rc.local `
```
## 5、验证
多次执行命令来上传同一个文件:` fdfs_upload_file /etc/fdfs/client.conf /usr/local/src/nginx-1.15.4.tar.gz`
在../fastdfs/storage/data/00/01目录,存在多个软连接,说明FastDHT文件去重功能已经成功实现
\ No newline at end of file
Clone repository
  • Home