ssr多用户安装脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/SSR-Bash-Python/master/install.sh && bash install.sh
安装完成后输入 ssr 回车即可使用
卸载脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/SSR-Bash-Python/master/uninstall.sh && bash uninstall.sh
修改版安装&更新
wget -q -N --no-check-certificate https://raw.githubusercontent.com/hotmop/SSR-duoyonghu/master/install.sh && bash install.sh
卸载
wget -q -N --no-check-certificate https://raw.githubusercontent.com/hotmop/SSR-duoyonghu/master/install.sh && bash install.sh uninstall
BT
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
改密
cd /www/server/panel && python tools.pyc panel
wget安装
yum -y install wget
BBR
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
测试命令:
uname -r
SS-panel肥羊魔改清爽版
yum install screen wget -y &&screen -S ss
wget -N --no-check-certificate https://raw.githubusercontent.com/mmmwhy/ss-panel-and-ss-py-mu/master/ss-panel-v3-mod.sh && chmod +x ss-panel-v3-mod.sh && bash ss-panel-v3-mod.sh
十一ssrpanel
一键脚本【仅支持Centos 7.x 64位系统】:
yum install screen wget -y &&screen -S ssrpanel
wget --no-check-certificate https://raw.githubusercontent.com/marisn2017/ssrpanel/master/ssrpanel.sh&&chmod +x ssrpanel.sh&&bash ssrpanel.sh
乱码请使用英文版脚本:
wget --no-check-certificate https://raw.githubusercontent.com/marisn2017/ssrpanel/master/ssrpanel_en.sh&&chmod +x ssrpanel_en.sh&&bash ssrpanel_en.sh
cd shadowsocksr
改user-config.json
vi user-config.json
vi usermysql.json
检查
python server.py
遇到加密方式libsodium not found问题
yum install wget m2crypto git libsodium -y
yum -y groupinstall "Development Tools"
wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz
tar xf libsodium-1.0.16.tar.gz && cd libsodium-1.0.16
./configure && make -j2 && make install
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.confldconfig
关于邮件配置:
修改/home/wwwroot/网站文件夹/config/mail.php文件,以阿里云邮件推送为例,修改以下几项配置
‘driver’ => ‘smtp’,
‘host’ => ‘smtpdm.aliyun.com’,
‘port’ => 465,
‘from’ => [
'address' => '阿里云邮件推送的发件地址',
'name' => '重置密码',
‘encryption’ => ‘ssl’,
‘username’ => ‘阿里云邮件的发件地址’, //也就是和上面那个一样
‘password’ => ‘阿里云邮件的smtp密码’,
其他的smtp邮件服务也是一样,host、port、邮件发送地址、密码改成相应的就行了。
改完了以后别忘了在网站后台的设置→系统设置中修改网站地址为你的网站地址
注意,
安装ssr后端的服务器,每次系统重启后需要重新启动ssr后端
代码如下
cd shadowsocksr
sudo sh logrun.sh
宝塔ssrpanel
基于宝塔面板一键安装ssrpanel脚本。
前提条件:
1.安装宝塔面面板,PHP版本选择7.1,其他默认,使用Nginx环境。
2.新建站点,记住域名。
3.新建数据库,记住数据库用户和密码,(数据库名同用户名)。
4.运行下面的脚本:
wget https://coding.net/u/cvc/p/ssrpanel/git/raw/master/install.sh &&
bash install.sh
ss-panelmod魔改版
要求centos 7 x64
yum install screen wget -y &&screen -S ss
wget -N --no-check-certificate https://raw.githubusercontent.com/mmmwhy/ss-panel-and-ss-py-mu/master/ss-panel-v3-mod.sh && chmod +x ss-panel-v3-mod.sh && bash ss-panel-v3-mod.sh
sspanel v3一键魔改ui版
wget -N --no-check-certificate https://raw.githubusercontent.com/echo-marisn/ss-panel-v3-mod_UIChanges-one-click-script/master/ss-panel-v3-mod_UIChanges-one-click-script.sh && chmod +x ss-panel-v3-mod_UIChanges-one-click-script.sh && bash ss-panel-v3-mod_UIChanges-one-click-script.sh
ss-panel v3一键脚本
yum install screen wget -y &&screen -S ss
wget -N --no-check-certificate https://raw.githubusercontent.com/mmmwhy/ss-panel-and-ss-py-mu/master/ss-panel_node.sh && chmod +x ss-panel_node.sh && bash ss-panel_node.sh
输入1安装即可
默认账号:91vps
默认密码:91vps
修改ssh端口
vi /etc/ssh/sshd_config
service sshd restart #重启生效
管理ssr
supervisorctl {start|stop|restart} ssr
修改mysql密码
wget http://soft.vpser.net/lnmp/ext/reset_mysql_root_password.sh
sh reset_mysql_root_password.sh
ssv3一键脚本
系统需要centos7.x版本.
wget 4ker.cc/s/ssv3.sh;bash ssv3.sh
此脚本后端可以更换为ssr后端,用于流控支持ssr,自行更换后端即可。
ss-panel v2 前后端一键安装脚本
仅支持CentOS 6+
wget --no-check-certificate https://raw.githubusercontent.com/echo-marisn/ssv2/master/v2.sh&&chmod +x v2.sh&&bash v2.sh
MS主题
https://github.com/izhangxm/ss-panel-v3-mod
MS一键
wget -N --no-check-certificate https://raw.githubusercontent.com/echo-marisn/ssrv3-one-click-script/master/v3-ms.sh && chmod +x v3-ms.sh && ./v3-ms.sh 2>&1 | tee v3-ms.log
原版带主题
wget -N --no-check-certificate https://raw.githubusercontent.com/echo-marisn/ssrv3-one-click-script/master/ssrv3.sh && chmod +x ssrv3.sh && ./ssrv3.sh 2>&1 | tee ssrv3.log