锐速破解版linux一键自动安装包(5月28日更新)
锐速破解版安装方法:
wget -N --no-check-certificate https://github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh
锐速破解版卸载方法:
chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f
修改epel源
vim /etc/yum.repos.d/CentOS-Base.repo
取消注释mirrorlist=***
注释baseurl=****
yum repolist
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update
yum install python-setuptools && easy_install pip
pip install shadowsocks iptables -I INPUT -p tcp --dport 端口 -j ACCEPT
service iptables save
service iptables restart 第一种 推荐: https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File vim /etc/shadowsocks.json {
"server":"服务器ip地址",
"server_port":端口,
"local_address": "127.0.0.1",
"local_port":,
"password":"mima",
"timeout":,
"method":"aes-256-cfb",
"fast_open": false
}
启动 ssserver -c /etc/shadowsocks.json -d start
停止 ssserver -c /etc/shadowsocks.json -d stop
查询 ps aux | grep sserver
第二种:https://github.com/shadowsocks/shadowsocks/wiki/Shadowsocks-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E 启动 ssserver -p 端口 -k 密码 -m aes--cfb --user nobody -d start
停止 ssserver -d stop
查询 ps aux | grep sserver
SSR
使用方法:
使用root用户登录,运行以下命令: wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
chmod +x shadowsocksR.sh
./shadowsocksR.sh >& | tee shadowsocksR.log
安装完成后,脚本提示如下: Congratulations, ShadowsocksR install completed!
Server IP:your_server_ip
Server Port:your_server_port
Password:your_password
Local IP:127.0.0.1
Local Port:
Protocol:origin
obfs:plain
Encryption Method:aes--cfb Welcome to visit:https://shadowsocks.be/9.html
If you want to change protocol & obfs, reference URL:
https://github.com/breakwa11/shadowsocks-rss/wiki/Server-Setup
Enjoy it! 卸载方法:
使用 root 用户登录,运行以下命令: ./shadowsocksR.sh uninstall
安装完成后即已后台启动 ShadowsocksR ,运行: /etc/init.d/shadowsocks status
可以查看 ShadowsocksR 进程是否已经启动。
本脚本安装完成后,已将 ShadowsocksR 自动加入开机自启动。 使用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status 配置文件路径:/etc/shadowsocks.json
日志文件路径:/var/log/shadowsocks.log
代码安装目录:/usr/local/shadowsocks 多用户配置 sample: {
"server":"0.0.0.0",
"server_ipv6": "[::]",
"local_address":"127.0.0.1",
"local_port":,
"port_password":{
"":"password1",
"":"password2",
"":"password3"
},
"timeout":,
"method":"aes-256-cfb",
"protocol": "origin",
"protocol_param": "",
"obfs": "plain",
"obfs_param": "",
"redirect": "",
"dns_ipv6": false,
"fast_open": false,
"workers":
}
SSR