Browse Source

Update README.md

蘭雅sRGB 6 years ago
parent
commit
7a17db6776
1 changed files with 43 additions and 51 deletions
  1. 43 51
      README.md

+ 43 - 51
README.md

@@ -17,10 +17,6 @@ wget https://raw.githubusercontent.com/atrandys/wireguard/master/wireguard_insta
 ```
 [![ScreenShot](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/Wireguard/ss_wg.jpg)](https://youtu.be/-cfuQSaJb5w)
 
-### Udp2Raw服务TCP伪装 WireGuard 服务端设置脚本
-```
-wget -qO- https://git.io/fpKnF | bash
-```
 ###  一键 WireGuard 多用户配置共享脚本
 ```
 # 一键 WireGuard 多用户配置共享脚本 
@@ -31,16 +27,22 @@ wget -qO- https://git.io/fpnQt | bash
 ```
 [![ScreenShot](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/Wireguard/wg5clients.jpg)](https://youtu.be/TOaihmhrYQY)
 
-## Wireguard 手机和PC客户端设置技巧
-[![ScreenShot](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/Wireguard/tel_pc.jpg)](https://youtu.be/O__RsZewA60)
+### Udp2Raw服务TCP伪装 WireGuard 服务端设置脚本
+```
+wget -qO- https://git.io/fpKnF | bash
+```
+### 使用Udp2Raw 调试好脚本,可以使用工具方便使用
+![](https://raw.githubusercontent.com/hongwenjun/img/master/wg_udp2raw.gif)
 
+## Wireguard 手机和PC客户端设置技巧,现在可以直接扫描二维码,更加方便
+[![ScreenShot](https://raw.githubusercontent.com/hongwenjun/vps_setup/master/Wireguard/tel_pc.jpg)](https://youtu.be/O__RsZewA60)
 
 ### 导出到客户端配置,修改实际的IP,修改成实际端口号
 ```
 # 查询WireGuard状态
 wg
 
-# 显示配置文件,修改实际的IP,不要修改默认9009端口
+# 显示配置文件
 cat /etc/wireguard/client.conf
 ```
 ### 遇到wg连接主机而没有流量,使用 Ip addr 命令检查vps网卡是否是ensx,参考下面修改配置重启
@@ -97,6 +99,40 @@ wget -qO- https://git.io/fp4jf | bash
 
 ```
 
+# Debian远程SSH汉字utf-8乱码解决
+```
+apt-get  install locales
+dpkg-reconfigure locales
+```
+# 查看默认字符集是否是en_US.UTF-8
+```
+$ vim /etc/default/locale
+LANG=en_US.UTF-8
+```
+
+# vim和bash高亮,tmux 配置
+```
+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;
+
+```
+
+### udp2raw_kcptun_ss_for_debian9.sh  一键安装,默认$$只对本地开放
+================================================
+```
+wget --no-check-certificate -O vps_setup.sh https://git.io/fx6UQ  && \
+chmod +x vps_setup.sh && ./vps_setup.sh
+```
+
+
+
 ### 获取自己所需服务软件的信息
 ```
 ps aux
@@ -153,47 +189,3 @@ 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
-```
-
-# Debian远程SSH汉字utf-8乱码解决
-apt-get  install locales
-dpkg-reconfigure locales
-
-# 查看默认字符集是否是en_US.UTF-8
-$ vim /etc/default/locale
-LANG=en_US.UTF-8
-
-# vim和bash高亮,tmux 配置
-```
-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;
-
-```
-
-### udp2raw_kcptun_ss_for_debian9.sh  一键安装,默认$$只对本地开放
-================================================
-```
-wget --no-check-certificate -O vps_setup.sh https://git.io/fx6UQ  && \
-chmod +x vps_setup.sh && ./vps_setup.sh
-```