Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShadowsocksR node auto install

特別感謝

修改自Hao-Luo大佬的SSR腳本!
https://github.com/Hao-Luo/
感謝Teddysun的BBR腳本!
https://github.com/teddysun/

說明

安裝完需手動配置。
腳本在centos7上測試通過,其他發行版未測試。

使用方法

wget -N --no-check-certificate https://raw.githubusercontent.com/BrownRhined/SSRInstallScript/master/Install.sh
chmod +x Install.sh
./Install.sh
bash -c "$(curl -sS https://raw.githubusercontent.com/BrownRhined/SSRInstallScript/master/Install.sh)"


複製上方代碼並執行開始安裝。 ##腳本功能

1.選擇安裝功能,
  1)系統設定 (設定DNS、安裝wget, git, Development Tools)
  2)SSR (包含檢查是否安装了git、libsodium(可能會有點慢))
  3)BBR
  4)安裝守護程序
  5)定時重啟節點
  6)AliYunServicesClear
2.BBR安装之後需要reboot。
3.SSR安装之後請手動更改配置即可。
配置文件 userapiconfig.py
API接口:mudbjson, sspanelv2, sspanelv3, sspanelv3ssr, glzjinmod, legendsockssr,根据面板要求输入。
mysql伺服器地址:SSR和資料庫在同一台伺服器输入127.0.0.1,遠端節點填寫資料庫IP。
mysql伺服器端口:默認port輸入3306,更改過的輸入自己的端口。
mysql伺服器用户名:root或者其他設置的用户名。
mysql伺服器密码:与用户名對應的密码。
mysql伺服器資料庫名:前端建立資料庫时的資料庫名,ssrpanel或其他。
SSR节点ID(nodeid):前端建立节点时的ID。
加密(method):SSR的加密方式,aes-256-cfb等。
协议(protocol):SSR的协议插件,origin等。
混淆(obfs):SSR的混淆插件,plain等。
4.配置完成會關閉iptables、firewalld,大佬請自行设置。
5.輸入 pthon server.py 進行測試

##建议關閉 SELinux:

vi /etc/selinux/config
SELINUX=enforce
改為
SELINUX=disabled
另外將 “SELINUXTYPE=targeted” 加上註釋
# SELINUXTYPE=targeted
要檢查 SELinux 的狀態, 執行 sestatus 指令便可以看到

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages