Updated Home (markdown)

master
YuQing 2022-10-26 08:13:06 +08:00
parent 0328cb9612
commit 929384a215
1 changed files with 20 additions and 1 deletions

21
Home.md

@ -3,7 +3,8 @@
| 名称 | 说明 |
|:--|-|
| centos|7.x|
|libfastcommon|FastDFS分离出的一些公用函数包|
|libfastcommon|FastDFS分离出的公用函数库|
|libserverframe|FastDFS分离出的网络框架|
|FastDFS|FastDFS本体|
|fastdfs-nginx-module|FastDFS和nginx的关联模块|
|nginx|nginx1.15.4|
@ -180,6 +181,7 @@ server {
}
}
```
# 启动
## 防火墙
```shell
@ -187,20 +189,37 @@ server {
systemctl stop firewalld.service #关闭
systemctl restart firewalld.service #重启
```
## tracker
```shell
修改 /usr/lib/systemd/system/fdfs_trackerd.service 中的 PIDFile格式为
PIDFile=$base_path/data/fdfs_trackerd.pid
比如:
PIDFile=/home/dfs/data/fdfs_trackerd.pid
```
```shell
systemctl start fdfs_trackerd #启动tracker服务
systemctl restart fdfs_trackerd #重启动tracker服务
systemctl stop fdfs_trackerd #停止tracker服务
systemctl enable fdfs_trackerd #开机自启动
```
## storage
```shell
修改 /usr/lib/systemd/system/fdfs_storaged.service 中的 PIDFile格式为
PIDFile=$base_path/data/fdfs_storaged.pid
比如:
PIDFile=/home/dfs/data/fdfs_storaged.pid
```
```shell
systemctl start fdfs_storaged #启动storage服务
systemctl restart fdfs_storaged #重动storage服务
systemctl stop fdfs_storaged #停止动storage服务
systemctl enable fdfs_storaged #开机自启动
```
## nginx
```shell
/usr/local/nginx/sbin/nginx #启动nginx