This script applies to the environment:System support: Centos/redhat/fedoraMemory Requirements: ≥128mDate: May 08, 2014
About this script:One-click to install the latest version of the Libev version of Shadowsocks. This version is characterized by small memory footprint (around 600k), low CPU consumption, and can even be installed on OpenWrt based routers.
Default configuration:Server port: 8989Client Port: 1080Password: Set yourself (if not set, de
This script applies to the environment:System support: Centos/redhat/fedoraMemory Requirements: ≥128mDate: May 05, 2014
About this script:One-click to install the latest version of the Shadowsocks Nodejs version, while the installation of Nodejs.Note: Because you need to compile the latest version of the installation Nodejs, if the memory is too small will install failed, so I only in the lowest 128MB VPS test the script.
Default configuration:Serve
-panel)(Ports later than 1026 are used by new users. Add a port ing each time a new user is created. For example :)
docker run -d -p 80:80 -p 1025:1025 -p 1026:1026 -p 1027:1027 maxidea/ss-panelManage ss-panel
1) User ManagementLog on to the background using the admin account: http: // youripaddress: port/admin
2) Monitor the shadowsocks Process
Host:
docker exec
Or in the container:
supervisorctl tail -f shadows
Server-side Installation shadowsocks#
First install the shadowsocks on the server (such as VPS) and configure and enable it according to the Shadownsocks installation instructions.Local Install shadowsocks#
On this machine, we also need a
command. If no error is reported, that is, the execution is successful. If a confirmation prompt is displayed, enter y, press enter (each line of command can be copied, right-click and paste in putty, and press enter to execute)
# Yum install epel-release# Yum update# Yum install python-setuptools m2crypto supervisor# Easy_install pip# Pip install shadowsocks
# Vi/etc/shadowsocks. json
Press the I key
This script applies to the environment:System support: Centos/redhat/fedoraMemory Requirements: ≥64mDate: February 16, 2014
About this script:One-click to install the Python version of Shadowsocks, while installing the Python package tool PIP.
Default configuration:Server port: 8989Client Port: 1080Password: Set yourself (if not set, default is Teddysun.com)
Client Downloads:http://sourceforge.net/projects/shadowsocksgui/files/dist/
How to use:Log
This is a creation in
Article, where the information may have evolved or changed.
Shadowsocks protocol
The Shadowsocks protocol packet format is the IV vector plus playload, which is the result of the encryption.
+-------+----------+| IV | Payload |+-------+----------+| Fixed | Variable |+-------+----------+
After decryption for
+--------------+---------------------+------------------+----------+| Addre
It is very simple to implement through iptables, such as your local shadowsocks address 192.168.0.4 and Port 20091Port 20091 export traffic statistics command: sudo iptables-I OUTPUT-s 192.168.0.4-p tcp-sport 20091Then, check the traffic statistics regularly to view the traffic statistics:Sudo iptables-n-v-L-t filterObtain the specific traffic value: sudo iptables-n-v-L-t filter | grep-I 'spt: 000000' | awk-f''' {print $2 }'The
install Greenlet
Cd/rootWget-q http://peak.telecommunity.com/dist/ez_setup.pyPython ez_setup.pyEasy_install Greenlet
2, install gevent (small memory VPS may not be able to pass)
Cd/rootwget http://pypi.python.org/packages/source/g/gevent/gevent-0.13.8.tar.gzTar zxvf gevent-0.13.8.tar.gzCD gevent-0.13.8Python setup.py BuildPython setup.py Install
Vi. operation of Shadowsocks1. Create a file named "Config.json" under any directory and edit the text
Touch Config.jsonVI Config.json
2, set the
More and more friends bought their own VPS and installed on the Shadowsocks service, if you have not purchased a VPS can refer to: vultr VPS host Japan node use subsection to buy, if you have not set up related services, Please refer to the Tutorial: CentOS a key to install Shadowsocks script, the above work is ready, but need to modify their shadowsocks port num
Configuration of shadowsocks in Ubuntu
System Environment: Ubuntu 14.04 LTS
Install
The commands executed by different Linux distributions are as follows:
Debian/Ubuntu:Apt-get install python-pipPip install shadowsocksCentOS:Yum install python-setuptools easy_install pipPip install shadowsocks
Configuration
Sudo vim/etc/shadowsocks. json// The json file is creat
Install shadowsocks on CentOS7
Use oneinstack one-click installation script to install SS
Install shadowsocks:
wget http://mirrors.linuxeye.com/oneinstack.tar.gztar xzf oneinstack.tar.gzcd oneinstack./shadowsocks.sh install
Set an SS password, which will be used to connect to the SS server. After the password is set, the port is required to be set. The defaul
System Environment: Ubuntu14.04LTS runs the following command to install different Linux distributions: Debian/Ubuntu: apt-getinstallpython-pippipinstallshadowsocksCentOS: yuminstallpython-setuptools amp; easy_installpippipinstallshad
System Environment: Ubuntu 14.04 LTS
Install
The commands executed by different Linux distributions are as follows:
Debian/Ubuntu:Apt-get install python-pipPip install shadowsocksCentOS:Yum install python-setuptools easy_install pipPip install
Recently shadowsocks very hot, read a few posts, feeling on the phone should be pretty good, the computer is hanging ssh, use less than shadowsocks, the following post the server installation process:
The code is as follows
Copy Code
Yum install build-essential autoconf libtool gcc gcc gcc-c++ make openssl-devel-ygit clone git://githu
Before compiling the package, we first confirm that the package required for compilation is installed, and we take CentOS as an example
Install Dependency Pack
$ yum install-y wget gcc gcc-c++ make automake autoconf libtool build-essential libtool \Curl Curl-devel Unzip Zlib-devel openssl-devel perl perl-devel cpio expat-devel Gettext-develCompiling autoconfSince the CentOS 6.5 version of the default installation of the autoconf version is Autoconf-2.63-5.1.el6.noarch, and we compile the sourc
This is a created
article in which the information may have evolved or changed.
Please visit GitHub address
Shadowsocks configuration file Config.json
{ "server":"1.1.1.1", "server_port":8383, "local_address": "127.0.0.1", "local_port":1080, "password":"passwd", "timeout":300, "method":"aes-256-cfb", "fast_open": true, "workers": 1}
Git proxy commands
git config --global htt
Pre-installation configuration
Still the same, that is the installation of various support libraries.Debian
Apt-get UpdateApt-get install-y redis-server git
Centos
Yum install-y redis-server git
Install GO Environment
ubuntu/debian– Installation Golang Installation Tutorial: https://www.bxl.me/9531.htmlCentOS 6– Install the Go Language installation tutorial: https://www.bxl.me/9525.htmlInstall Ss-go-m
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.