markdown Ubuntu安装ShadowSocks服务

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Ubuntu安装ShadowSocks服务相关的知识,希望对你有一定的参考价值。

## 安装ShadowSocks服务器
```
sudo apt-get update  
sudo apt-get install -y python-gevent python-pip  
sudo pip install shadowsocks  
sudo apt-get install python-m2crypto  
```
## 启动 sss 服务,并设置密码
```
sudo /usr/local/bin/ssserver -p 8388 -k passwd123 -m aes-256-cfb -d start
```
## 加入启动项(把启动 sss 服务的命令放入 `/etc/rc.local` 文件)
```
$ sudo vi /etc/rc.local

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

sudo /usr/local/bin/ssserver -p 8388 -k passwd123 -m aes-256-cfb -d start

exit 0

```

以上是关于markdown Ubuntu安装ShadowSocks服务的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu20 安装markdown

Ubuntu Linux markdown编辑工具 typora 安装

markdown Ubuntu安装NodeJs

markdown Ubuntu安装Java8

markdown Ubuntu安装Nginx

markdown 安装主题ubuntu 16.04