Hexo
SSR安装教程

一. 安装锐速破解版

声明:我的服务器是CentOS-7.5版本

1.下载锐速安装脚本


[[email protected] olc]# wget -N --no-check-certificate https://raw.githubusercontent.com/wn789/serverspeeder/master/serverspeeder.sh

2.对脚本进行赋权

[[email protected] olc]# chmod +x serverspeeder.sh

3.执行脚本

[[email protected] olc]# bash serverspeeder.sh

4.如果报错

This kernel is not supported. Trying fuzzy matching…Serverspeeder is not supported on this kernel! View all supported systems and kernels here: https://www.91yun.org/serverspeeder91yun

说明锐速不支持CentOS内核

5.修改CentOS内核

将CentOS7内核更换为: 3.10.0-229.1.2.el7.x86_64

[[email protected] olc]# rpm -ivh https://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force

6.重启服务器

[[email protected] olc]# reboot

7.确认内核是否更换

[[email protected] olc]# uname -r
3.10.0-229.1.2.el7.x86_64

8.重新执行安装锐速脚本

[[email protected] olc]# bash serverspeeder.sh

9.启动锐速

[[email protected] olc]# service serverSpeeder start

10.锐速常用命令

service serverSpeeder start #启动
service serverSpeeder stop #停止
service serverSpeeder reload #重新加载配置
service serverSpeeder restart #重启
service serverSpeeder status #状态
service serverSpeeder stats #统计
service serverSpeeder renewLic #更新许可文件
service serverSpeeder update #更新
chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f #卸载

二. 安装SSR

1.下载脚本

[[email protected] olc]# wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh

2.赋权

[[email protected] olc]# chmod +x shadowsocksR.sh

3.安装,依次选择默认选项

[[email protected] olc]# ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

4.SSR常用命令

启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status

5.SSR日志路径

配置文件路径:cat /etc/shadowsocks.json
日志文件路径:cat /var/log/shadowsocksr.log
代码安装目录:cat /usr/local/shadowsocks

References:

[1] VPS+SSR+锐速(BBR魔改版)实现超级加速