# 一键安装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/atrandys/wireguard/master/wireguard_install.sh \
&& chmod +x wireguard_install.sh && ./wireguard_install.sh
wget -qO- https://git.io/fpKnF | bash
# 一键 WireGuard 多用户配置共享脚本
wget -qO- https://git.io/fpnQt | bash
# WireGuar 服务端修改MTU数值,修改服务器端口脚本,Udp2Raw服务TCP伪装设置
# 自动下载,使用命令 bash wgmtu 设置
# 查询WireGuard状态
wg
# 显示配置文件,修改实际的IP,不要修改默认9009端口
cat /etc/wireguard/client.conf
# 一键脚本已经检查出vultr主机,自动修改配置,不用再手工运行
# vultr 服务商的主机默认网卡是 ens3,使用下面命令修改配置
sed -i "s/eth0/ens3/g" /etc/wireguard/wg0.conf
reboot
# GCP 香港 Ubuntu系统 默认网卡是 ens4,使用下面命令修改配置(脚本已经自动修改)
# GCP 香港 Ubuntu系统 没带python,不能开启临时web下载,可以 apt install -y python 安装
sed -i "s/eth0/ens4/g" /etc/wireguard/wg0.conf
reboot
# 一键安装 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=
# Telegram 代理 MTProxy Go版 一键脚本(源:逗比网)
wget -qO mtproxy_go.sh git.io/fpWo4 && bash mtproxy_go.sh
wget -qO- https://raw.githubusercontent.com/hongwenjun/vps_setup/master/autoBestTrace.sh | bash
蘭雅sRGB 龙芯小本服务器 | sRGB.vicp.net
下载程序地址: https://github.com/hongwenjun/WinKcp_Launcher
# linux下golang环境搭建自动脚本 by 蘭雅sRGB
wget -qO- https://git.io/fp4jf | bash
ps aux
ps aux | grep -e shadowsocks -e brook -e ss-server -e kcp-server -e udp2raw -e speederv2 -e python
ls /sys/class/net | awk {print} | head -n 1
可以得到软件的安装目录和配置文件目录
/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 #禁止的脚本
====================
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
apt-get install locales dpkg-reconfigure locales
$ vim /etc/default/locale LANG=en_US.UTF-8
wget -O .vimrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_vimrc
wget -O .bashrc --no-check-certificate https://raw.githubusercontent.com/hongwenjun/srgb/master/vim/_bashrc
wget -O .tmux.conf --no-check-certificate https://raw.githubusercontent.com/hongwenjun/tmux_for_windows/master/.tmux.conf
$ vim /etc/nginx/sites-enabled/default
root /var/www;
autoindex on;
================================================
wget --no-check-certificate -O vps_setup.sh https://git.io/fx6UQ && \
chmod +x vps_setup.sh && ./vps_setup.sh