Operating environment: CentOS 6.8 32bit
1. Install yum
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
2. Perform system update
yum -y update
3. Install wget downloader
yum -y install wget
4. Download the ss installation script
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
5. Make the above script property executable
chmod +x shadowsocks.sh
6. Execute the script
./shadowsocks.sh 2>&1 | tee shadowsocks.log
7. The console will ask for ss access password, access port, and encryption method in turn (you do not need to open firewall rules after selecting the port)
8. Edit the configuration file:
nano /etc/shadowsocks.
(If the nano editor is not installed, please download yum -y install nano first)
9.Complete!
Command addition:
Service start and stop command:
start up
/etc/init.d/shadowsocks start
stop
/etc/init.d/shadowsocks stop
reboot
/etc/init.d/shadowsocks restart
Status query
/etc/init.d/shadowsocks status
Can I lose a personal WeChat public account weakly, there are too few fans and I have no passion for writing,
If you like technology, parrotsec, and 2D, I look forward to meeting you all.
It's not a lolicon, it's just that the girl I like happens to be a loli, hum~