内容纲要

树莓派编译安装ShadowsocksR-libev

https://github.com/shadowsocksr-backup/shadowsocksr-libev#debian–ubuntu

http://blog.nicesite.win/2017/08/24/ssr-install/

https://www.gitbook.com/book/neroxps/compile-shadowsocks-rss-libev/details

 

直接执行:

#安装部分
mkdir ssr
cd ssr
git clone https://github.com/shadowsocksr-backup/shadowsocksr-libev
cd shadowsocksr-libev
sudo apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev \
    gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc xmlto apg libpcre3-dev
dpkg-buildpackage -b -us -uc -i
cd ..
sudo dpkg -i shadowsocks-libev*.deb
#以下选做,不建议
# Edit the configuration file 编辑配置文件
sudo vim /etc/shadowsocks-libev/config.json

# Edit the default configuration for debian debian的配置文件
sudo vim /etc/default/shadowsocks-libev

# Start the service 开启服务
sudo /etc/init.d/shadowsocks-libev start    # for sysvinit, or
sudo systemctl start shadowsocks-libev      # for systemd

顺便提一下 那个config的选项帮助是shadowsocks原版的,没有改.

#抄了一下上面某篇所给的:

ss-redir -o [obfs混淆协议] -O [protocol协议] -g [obfsparam混淆参数] -s [服务器地址] -p [服务器端口] -l [本地监听端口] -b [本地监听地址] -k [SS密码] -m [加密方式]

#发现ss-redir出问题(什么鬼这

那么改成bin中ss-local

 

#途中发现抽风,于是改为

./configure –prefix=/usr/local/shadowsocksR –disable-documentation

make -j4

sudo make install