Installation and multi-user configuration of centos, multiple users of centos

Source: Internet
Author: User

Installation and multi-user configuration of centos, multiple users of centos

The operating system of the environment is CentOS 6.

1. Enter the terminal

2. Run yum-y install python-setuptools to install the python package management tool.

3. Run yum-y easy_install pip to install the python package management tool.

Create a Shadowsocks configuration file, which can be stored anywhere.

4 vi/etc/shadowsocks. json

The configuration is as follows:

{    "server":"your_server_ip",    "server_port":8388,                 "local_address": "127.0.0.1",    "local_port":1080,    "password":"*********",    "timeout":300,    "method":"aes-256-cfb",    "fast_open": false}

 

Note:

Server: Your server ip Address

Server_port: Port Number (each account cannot be the same)

Local_address: local address, which is generally the same

Local_port: local port, which is generally not changed

Password: connection password

Timeout: Corresponding timeout time

Method: Encryption method

Fast_open: Use TCP_FASTOPEN. The Parameter options are true/false. Generally, keep the default value.

Save the settings.

5. Start the movie shuttle service

 

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

 

6. Stop the Tissot service.

ssserver -c /etc/shadowsocks.json -d stop

7. What if I want to configure multiple users?

Method 1:

{"Server": "your_server_ip", "local_address": "127.0.0.1", "local_port": 1080, "port_password": {# port number and password "8989": "password0 ", # The port number is on the left, and the password "9001": "password1", "9002": "password2", "9003": "password3", "9004 ": "password4"}, "timeout": 300, "method": "aes-256-cfb", "fast_open": false}

Method 2:

{     "timeout": 600,     "method": "aes-256-cfb",     "port_password":             {                  "40001": "password1",                 "40002": "password2",                  "40003": "password3"             },       "_comment":             {                     "40001": "xiaoming",                     "40002": "lilei", 
            "40003": "mike" } }

 

 

 

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.