linux安装ssr客户端

安装教程

之前在ubuntu上用其他方式安装都不行,不知道为什么,用下面方法成功了:

使用root用户登录,运行以下命令:

wget http://www.djangoz.com/ssr
sudo mv ssr /usr/local/bin
sudo chmod 766 /usr/local/bin/ssr
ssr install
ssr config

该脚本会运行 git 命令,所以要先安装 git。

sudo apt-get install git

开机自启

sudo vim /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 ssr start
exit 0

系统会默认启动,直接实测开机会自动运行。思想就是直接让系统开机启动一条 sudo 命令,如果这个不行的话,可以去网上参考自己linux版本的开机启动脚本或命令,然后添加一条命令就可以了。

sudo ssr start

最后,你还需要设置系统代理127.0.0.1:1080

打赏一个呗

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦