System support: CentOS 6+,debian 7+,ubuntu 12+
Memory Requirements: ≥128m
About this script
- One-click Installation Shadowsocks-python, SHADOWSOCKSR, Shadowsocks-go, Shadowsocks-libev version (four select one) service;
- Each version of the startup script and configuration file name no longer coincide;
- One version can be installed per run;
- Multiple versions are supported to be run multiple times, and each version can coexist (note that the port number needs to be set to different);
- If you have more than one version installed, you will need to run the uninstallation multiple times (one at a time).
- Shadowsocks-python and SHADOWSOCKSR cannot be started at the same time (because they are essentially Python versions).
Default configuration
Server port: Self-setting (default = 8989 if not set)
Password: self-setting (if not set, default is Teddysun.com)
Note: The script creates a single-user profile by default, and if you want to configure multiple users, manually modify the appropriate profile and then restart it.
How to use
Log in with the root user and run the following command:
wget--no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/ Shadowsocks-all.shchmod +x shadowsocks-all.sh./shadowsocks-all.sh 2>&1 | Tee Shadowsocks-all.log
After the installation is complete, the script prompts the following
Congratulations, your_shadowsocks_version install completed! Your Server Ip:your_server_ipyour Server port:your_server_portyour password:your_passwordyour encryption Method: AES-256-CFB Welcome to Visit:https://teddysun.com/486.htmlenjoy it!
Script Baidu Cloud: Http://pan.baidu.com/s/1c10jIuc Extract Code: 398z
Unloading mountain Tease Grams's method: shadowsocks-all.sh Uninstall
Startup scripts
The meaning of the parameters after the startup script, from left to right: Start, stop, restart, view status.
Version Shadowsocks-python:
/etc/init.d/shadowsocks-python Start | Stop | Restart | Status
Version SHADOWSOCKSR:
/etc/init.d/shadowsocks-r Start | Stop | Restart | Status
Version shadowsocks-go:
/etc/init.d/shadowsocks-go Start | Stop | Restart | Status
Version Shadowsocks-libev:
/etc/init.d/shadowsocks-libev Start | Stop | Restart | Status
Default configuration files for each version
Version Shadowsocks-python:
/etc/shadowsocks-python/config.json
Version SHADOWSOCKSR:
/etc/shadowsocks-r/config.json
Version shadowsocks-go:
/etc/shadowsocks-go/config.json
Version Shadowsocks-libev:
/etc/shadowsocks-libev/config.json
CentOS 6+ install mountain tease grams (This article comes from the more than the emperor)