https://teddysun.com/486.html
This script applies to the environment
System Support: CentOS 6+, Debian 7+, Ubuntu 12+
Memory Requirements: ≥128M
Date: February 24, 2017
About this script
1. One-click installation of Shadowsocks-Python, ShadowsocksR, Shadowsocks-Go, Shadowsocks-libev version (choose one of four) servers;
2. The startup scripts and configuration file names of each version no longer overlap;
3. One can be installed for each run
4. It supports to install multiple versions by running multiple times, and each version can coexist (note that the port number needs to be set to be different); 5.
If multiple versions have been installed, you need to run multiple times when uninstalling (each Uninstall one at a time);
6. Shadowsocks-Python and ShadowsocksR cannot be started at the same time after installation (because they are both Python versions in essence).
Friendly reminder: If you have questions, please read this " Shadowsocks Troubleshooting " before asking.
default allocation
Server port: set by yourself (if not set, the default is 8989)
Password: set by yourself (if not set, the default is teddysun.com)
Note: the script creates a single-user configuration file by default, if you need to configure multiple users, please Manually modify the corresponding configuration files and then restart.
Client Downloads
Regular Windows client
https://github.com/shadowsocks/shadowsocks-windows/releases
ShadowsocksR Windows client
https://github.com/shadowsocksr/shadowsocksr-csharp/releases
Instructions
Log in as root user and run the following commands:
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh chmod +x shadowsocks-all.sh ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log
After the installation is complete, the script prompts as follows
Congratulations, your_shadowsocks_version install completed! Your Server IP :your_server_ip Your Server Port :your_server_port Your Password :your_password Your Encryption Method:aes-256-cfb Welcome to visit:https://teddysun.com/486.html Enjoy it!
Uninstall method
If you have installed multiple versions, you need to run multiple times when uninstalling (one for each uninstall)
Log in as root user and run the following commands:
./shadowsocks-all.sh uninstall
startup script
The meaning of the parameters behind the startup script, from left to right: start, stop, restart, check the status.
Shadowsocks-Python 版:
/etc/init.d/shadowsocks-python start | stop | restart | status
ShadowsocksR 版:
/etc/init.d/shadowsocks-r start | stop | restart | status
Shadowsocks-Go 版:
/etc/init.d/shadowsocks-go start | stop | restart | status
Shadowsocks-libev 版:
/etc/init.d/shadowsocks-libev start | stop | restart | status
Default configuration files for each version
Shadowsocks-Python version:
/etc/shadowsocks-python/config.json
ShadowsocksR version:
/etc/shadowsocks-r/config.json
Shadowsocks-Go version:
/etc/shadowsocks-go/config.json
Shadowsocks-libev 版:
/etc/shadowsocks-libev/config.json
Changelog
2017 年 02 月 24 日:
1、恢复: 通过 Github API 自动获取 Shadowsocks-libev 的最新 release 版本的功能(v3.0.3)。
2017 年 02 月 13 日:
1、升级: Shadowsocks-libev 版到版本 3.0.2;
2、升级: Shadowsocks-go 版到版本 1.2.1(基于 Github 最新代码,用 go 1.8 编译完成的 x86 和 x86_64 二进制文件);
3、修复:在 Debian 7 下默认没有 libudns-dev 依赖包的问题。
2017 年 02 月 12 日:
1、升级: Shadowsocks-libev 版到版本 3.0.1。
2017 年 01 月 27 日:
1、升级: Shadowsocks-go 版到版本 1.2.1 (仅适用于 x86_64 系统)