蘭雅sRGB 龙芯小本服务器 | sRGB.vicp.net
下载程序地址: https://github.com/hongwenjun/WinKcp_Launcher
- 点击这个链接注册,也算是对本项目作者的支持鼓励
https://www.vultr.com/?ref=7591742
# 一键安装 SS+Kcp+Udp2Raw 脚本 快速安装 for debian 9
wget -qO- git.io/fpZIW | bash
# 一键安装 SS+Kcp+Udp2Raw 脚本 第二种编译方式安装速度慢 for debian 9 Ubuntu
wget -qO- git.io/fx6UQ | bash
ss://YWVzLTI1Ni1nY206c3JnYi54eXpAMTI3LjAuMC4xOjMzMjI=
# 一键安装wireguard 脚本 Debian 9 (源:逗比网安装笔记)
wget -qO- git.io/fptwc | bash
# 一键安装wireguard 脚本 Ubuntu (源:逗比网安装笔记)
wget -qO- git.io/fpcnL | bash
# CentOS7一键脚本安装WireGuard (https://atrandys.com/2018/886.html)
yum install -y wget && \
wget https://raw.githubusercontent.com/yobabyshark/wireguard/master/wireguard_install.sh \
&& chmod +x wireguard_install.sh && ./wireguard_install.sh
# 一键 WireGuard 多用户配置共享脚本
wget -qO- https://git.io/fpnQt | bash
# 查询WireGuard状态
wg
# 显示配置文件,修改实际的IP,不要修改默认9009端口
cat /etc/wireguard/client.conf
# vultr 服务商的主机默认网卡是 ens3,使用下面命令修改配置
sed -i "s/eth0/ens3/g" /etc/wireguard/wg0.conf
reboot
wget https://raw.githubusercontent.com/hongwenjun/WinKcp_Launcher/master/wg_udp2raw.sh
chmod +x wg_udp2raw.sh && ./wg_udp2raw.sh
wget -qO- https://raw.githubusercontent.com/hongwenjun/vps_setup/master/autoBestTrace.sh | bash
ps aux
可以得到软件的安装目录和配置文件目录
/usr/bin/shadowsocks-server -c /etc/shadowsocks-go/config.json
/usr/local/frps/frps -c /usr/local/frps/frps.ini
/bin/bash /etc/init.d/brook start
./brook servers -l :2333 srgb.xyz
screen ./fuck_net
screen iperf3 -s
tar -czvf ss_frp.tar.gz /etc/init.d/brook /usr/local/brook/brook /usr/local/brook/brook.conf \
/usr/bin/shadowsocks-server /etc/shadowsocks-go/config.json /etc/init.d/shadowsocks-go \
/usr/local/frps/frps /usr/local/frps/frps.ini /etc/init.d/frps /root/fuck_net
- 或者使用文件表打包
tar -czv -T filelist -f ss_frp.tar.gz
-T 选项可以指定包含要备份的文件列表
- 可以先不删除原来机器,新建立机器使用wget把备份文件挪过去
- 本笔记,由于使用Vultr_IPV6的机器,所以使用wget先下载到本地电脑了
$ scp /c/Users/vip/Desktop/ss_frp/ss_frp.tar.gz root@[2001:19f0:8001:c85:5400:01ff:fe91:7ed8]:/tmp/ss_frp.tar.gz
cd / && tar -xvf /tmp/ss_frp.tar.gz
/etc/init.d/frps start && /etc/init.d/brook start && /etc/init.d/shadowsocks-go start
systemctl enable frps
systemctl enable brook
systemctl enable shadowsocks-go
systemctl disable frps #禁止的脚本
tar -czv -T filelist -f ss_frp.tar.gz
-T 选项可以指定包含要备份的文件列表
tar -xzvf ss_frp.tar.gz -C /指定目录
/root/filelist
/etc/init.d/brook
/etc/init.d/frps
/etc/init.d/shadowsocks-go
/etc/nginx/1_www.srgb.xyz_bundle.crt
/etc/nginx/2_www.srgb.xyz.key
/etc/nginx/sites-enabled/default
/etc/nginx/sites-enabled/frps
/etc/nginx/sites-enabled/http
/etc/nginx/sites-enabled/https
/etc/shadowsocks-go/config.json
/root/.bashrc
/root/.vimrc
/root/bbr.sh
/root/fuck_net
/usr/bin/shadowsocks-server
/usr/local/brook/brook
/usr/local/brook/brook.conf
/usr/local/frps/frps
/usr/local/frps/frps.ini
### 更换新机器后
====================
apt-get update
apt-get install gcc git nginx htop screen iperf3
passwd root
git clone https://github.com/hongwenjun/vps_setup.git
tar -xzvf ss_frp.tar.gz -C /
systemctl enable frps
systemctl enable brook
systemctl enable shadowsocks-go
# ss_brook脚本
wget -qO- git.io/fxQug | bash
# wireguard 脚本
wget -qO- git.io/fptwc | bash
================================================
wget --no-check-certificate -O vps_setup.sh https://git.io/fx6UQ && \
chmod +x vps_setup.sh && ./vps_setup.sh