Updated Home (markdown)
parent
0328cb9612
commit
929384a215
21
Home.md
21
Home.md
|
|
@ -3,7 +3,8 @@
|
||||||
| 名称 | 说明 |
|
| 名称 | 说明 |
|
||||||
|:--|-|
|
|:--|-|
|
||||||
| centos|7.x|
|
| centos|7.x|
|
||||||
|libfastcommon|FastDFS分离出的一些公用函数包|
|
|libfastcommon|FastDFS分离出的公用函数库|
|
||||||
|
|libserverframe|FastDFS分离出的网络框架|
|
||||||
|FastDFS|FastDFS本体|
|
|FastDFS|FastDFS本体|
|
||||||
|fastdfs-nginx-module|FastDFS和nginx的关联模块|
|
|fastdfs-nginx-module|FastDFS和nginx的关联模块|
|
||||||
|nginx|nginx1.15.4|
|
|nginx|nginx1.15.4|
|
||||||
|
|
@ -180,6 +181,7 @@ server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
# 启动
|
# 启动
|
||||||
## 防火墙
|
## 防火墙
|
||||||
```shell
|
```shell
|
||||||
|
|
@ -187,20 +189,37 @@ server {
|
||||||
systemctl stop firewalld.service #关闭
|
systemctl stop firewalld.service #关闭
|
||||||
systemctl restart firewalld.service #重启
|
systemctl restart firewalld.service #重启
|
||||||
```
|
```
|
||||||
|
|
||||||
## tracker
|
## 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
|
```shell
|
||||||
systemctl start fdfs_trackerd #启动tracker服务
|
systemctl start fdfs_trackerd #启动tracker服务
|
||||||
systemctl restart fdfs_trackerd #重启动tracker服务
|
systemctl restart fdfs_trackerd #重启动tracker服务
|
||||||
systemctl stop fdfs_trackerd #停止tracker服务
|
systemctl stop fdfs_trackerd #停止tracker服务
|
||||||
systemctl enable fdfs_trackerd #开机自启动
|
systemctl enable fdfs_trackerd #开机自启动
|
||||||
```
|
```
|
||||||
|
|
||||||
## storage
|
## 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
|
```shell
|
||||||
systemctl start fdfs_storaged #启动storage服务
|
systemctl start fdfs_storaged #启动storage服务
|
||||||
systemctl restart fdfs_storaged #重动storage服务
|
systemctl restart fdfs_storaged #重动storage服务
|
||||||
systemctl stop fdfs_storaged #停止动storage服务
|
systemctl stop fdfs_storaged #停止动storage服务
|
||||||
systemctl enable fdfs_storaged #开机自启动
|
systemctl enable fdfs_storaged #开机自启动
|
||||||
```
|
```
|
||||||
|
|
||||||
## nginx
|
## nginx
|
||||||
```shell
|
```shell
|
||||||
/usr/local/nginx/sbin/nginx #启动nginx
|
/usr/local/nginx/sbin/nginx #启动nginx
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue