CentOS 6+ install mountain tease grams (This article comes from the more than the emperor)

Source: Internet
Author: User

System support: CentOS 6+,debian 7+,ubuntu 12+

Memory Requirements: ≥128m

About this script
    1. One-click Installation Shadowsocks-python, SHADOWSOCKSR, Shadowsocks-go, Shadowsocks-libev version (four select one) service;
    2. Each version of the startup script and configuration file name no longer coincide;
    3. One version can be installed per run;
    4. 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);
    5. If you have more than one version installed, you will need to run the uninstallation multiple times (one at a time).
    6. 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.