Installing ShadowSocks

First, login to your server command terminal to install python pip and use pip to install shadowsocks. m2crypto will make encryption a little faster. Use the commands below to do so.

CentOS:

sudo yum install m2crypto python-setuptools
sudo easy_install pip
sudo pip install shadowsocks

Ubuntu/Debian:

sudo apt-get install python-pip python-m2crypto
sudo pip install shadowsocks

Once done, create a configuration file with a command line text editor like nano.

sudo nano /etc/shadowsocks.json

Paste the following text into the text file.

{
"server":"your_server_ip",
"server_port":8000,
"local_port":1080,
"password":"your_passwd",
"timeout":600,
"method":"aes-256-cfb"
}

Replace with your server's information, save the text file and close the editor. After that, start the ShadowSocks server using this command.

sudo ssserver -c /etc/shadowsocks.json -d start

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

ShadowSocks basic commands

Here are a few basic commands you can use for ShadowSocks. To check ShadowSocks's log, use this...