CentOS7时:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
yum -y install wget;wget http://download.umaru.uk/Bt_Panel_Pro && sh Bt_Panel_Pro
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
systemctl enable docker
docker run -d -p 5800:5800/tcp -p 5800:5800/udp jpacg/shadowsocksr -s 0.0.0.0 -p 5800 -k 密码 -m aes-256-cfb
docker update --restart=always $(docker ps -a -q)
Ubuntu18.04时:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
apt-get install wget && wget http://download.umaru.uk/Bt_Panel_Pro && sudo sh Bt_Panel_Pro
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
apt-cache madison docker-ce
sudo apt-get install docker-ce=5:18.09.7~3-0~ubuntu-bionic docker-ce-cli=5:18.09.7~3-0~ubuntu-bionic containerd.io
docker run -dt --name ss -p 6443:6443 mritd/shadowsocks -s "-s 0.0.0.0 -p 6443 -m aes-256-cfb -k 密码"
sudo systemctl enable docker
sudo systemctl start docker
docker update --restart=always $(docker ps -a -q)