File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 2020安装到此结束,以下是一些使用示例或提示。
2121-----
2222
23- ## install service
23+ ## 一些常用服务及快捷命令列表
2424
2525在 /home/core/docker 预先封装了大量服务,文件夹名称即是服务名称
2626所有服务都安装在 /home/core/data 目录,需要修改服务的配置请在这里修改,改完使用 ` s service_name ` 重启生效
2727
28+ - 常用服务
29+ - ` mysql `
30+ - ` nginx `
31+ - ` redis `
32+ - ` php `
33+ - ` daemon ` supervisor守护进程服务
34+ - ` ofelia ` 秒级定时器,可替代crontab,能和docker容器更方便的交互,https://github.com/mcuadros/ofelia
35+ - ` shadowsocks ` 飞机场
36+ - ...
37+
38+ 更多快捷命令请查看 /home/core/docker/shell
39+
40+ - 快捷命令
41+ - ` dps ` # show all docker services
42+ - ` dpp ` # show all docker service mapping ports
43+ - ` i service_name ` # install service
44+ - ` s service_name ` # start/restart service service
45+ - ` p service_name ` # stop service service
46+ - ` d service_name ` # enter service container, if the error is reported, try ` d service_name sh `
47+ - ` j service_name ` # view service history log
48+ - ` jf service_name ` # scroll to view service log
49+ - ` st service_name ` # status systemctl service
50+ - ` atop ` # 查看系统负载
51+ - ` iotop ` # 查看系统I/O
52+ - ` fio ` # 测试系统I/O
53+ - ` docker_mirror_aliyun ` # 为docker配置阿里云源
54+ - ...
55+
56+ ## install service
57+
2858 i php # install php server
2959 i nginx # install nginx share
3060 i redis # install redis server
You can’t perform that action at this time.
0 commit comments