see https://www.cnblogs.com/yufeng218/p/8370670.html
useradd core
cd /home/core
git clone https://github.com/wenshunbiao/docker.git
chmod -R 777 docker/shell
/home/core/docker/shell/shell_init
export PATH="/home/core/docker/shell:$PATH"
install
ssh_config www.youname.com
sudo timedatectl set-timezone Asia/Shanghai
sudo hostnamectl set-hostname yourname
web
s bind # install bind server
s samba # install samba share
s git # install git server
cd /home/core/data/nginx
vi nginx.conf # config nginx domain
cd /home/core/data/php
vi php.ini # config php.ini
cd /home/core/data/mysql
vi my.cnf # config my.cnf
dps #show all docker services
i service_name #install service
s service_name #start/restart fleetctl service
p service_name #stop fleetctl service
d service_name #enter service container, if the error is reported, try `d service_name sh`
j service_name #view service history log
jf service_name #scroll to view service log
ss service_name #start/restart systemctl service
st service_name #status systemctl service
sp service_name #stop systemctl service
fl #list all service
fl service_name #list one fleetctl service(except global service)
web #start/restart fleetctl web service
Content type
Image
Digest
Size
5.7 MB
Last updated
almost 7 years ago
docker pull wenshunbiao/shadowsocks