Detailed description of centos server configuration

Source: Internet
Author: User
Tags md5 centos centos server

The method is very simple. Thanks to the tutorials provided by the N16 group of friends!

1. Make necessary preparations first!

#! /Bin/sh

Yum install-y gcc automake autoconf libtool make build-essential autoconf libtool curl-devel zlib-devel openssl-devel perl-devel cpio expat-devel gettext-devel unzip

2. Download the installation package

Wget-no-check-certificate https://github.com/madeye/shadowsocks-libev/archive/master.zip-O shadowsocks-libev.zip


3. Extract

Unzip shadowsocks-libev.zip

4. Go to the installation directory

Cd shadowsocks-libev-master

5. Compile and install

./Configure

Make

Make install

6. Set the port and password and the encryption method

Echo "/usr/local/bin/ss-server-s server IP-p port-m RC4-MD5-k password">/etc/rc. d/rc. local

After executing the preceding command, you can use shadowsocks for link. The above encryption method is RC4-MD5, you can also set the encryption method.

Note that the command in step 1 is executed only once. To change the password or port, edit the/etc/rc. d/rc. local file!

Related Article

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.