Skip to content

Commit

Permalink
F-fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jinwyp committed Apr 14, 2023
1 parent 018c026 commit 21a1117
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
29 changes: 22 additions & 7 deletions .github/ISSUE_TEMPLATE/bug-report-----.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,37 @@ assignees: jinwyp

!!! 请务必提供安装的选择的第几项 !!!
!!! 请务必提供什么操作系统 和用的什么终端 !!!
!!! 请务必提供是否开启了Cloudflare 的 CDN !!!
!!! 请用 ping.pe 或 ping.ceo 网站 输入IP:端口号 查看是否被GFW屏蔽 !!!

Steps to reproduce the behavior:
1. 例如选择的第2项 安装trojan

**OS and Terminal:** 系统环境 信息 请务必提供什么操作系统 和用的什么终端 ,还有VPS主机商
** Steps to reproduce the behavior: ** 请提供使用脚本安装的选择第几项:

1. 例如选择的第2项 安装trojan. 安装过程中选择了 2 原版trojan-go
2. 例如选择的第11项 安装v2ray 或 xray . 安装过程中选择了 websocket 选项 并 选择了解锁流媒体

** OS and Terminal: ** 系统环境 信息 请务必提供什么操作系统 和用的什么终端 ,还有VPS主机商

- OS: [e.g. Centos]
- Version [e.g. 7]
- Terminal : 例如 Mac的teminal 或 linux ssh 或 zsh 或 Windows putty 或 VPS自带的在线ssh
- VPS [e.g. Google Cloud]


**To Reproduce** 复现方法
** To Reproduce ** 复现方法

Log Info 日志信息: 请提供安装时出错的信息
例如 xxx

安装完成后 通过以下命令 检查服务是否启动成功 并提供输出日志

1. 检查 trojan 是否启动成功 ``` systemctl status trojan ```
2. 检查 trojan-go 是否启动成功 ``` systemctl status trojan-go ```
3. 检查 v2ray 是否启动成功 ``` systemctl status v2ray ```
4. 检查 xray 是否启动成功 ``` systemctl status xray ```
4. 检查 shadowsocks (xray内核) 是否启动成功 ``` systemctl status shadowsocksxray ```
5. 检查 nginx 是否启动成功 ``` systemctl nginx xray ```

Log Info 日志信息: 请提供安装出错的信息
例如xxx

安装完成如选择了安装nginx, 请检查 nginx 是否启动成功,域名网站是否能在浏览器正常打开, 是https 还是 http. 正常安装应该是https. 如果打不开说明nginx安装有问题,请给出nginx安装时输出日志

安装完成nginx 是否启动成功,域名的网站是否能正常打开,如果打不开说明nginx安装有问题,请给出nginx安装时输出日志
12 changes: 7 additions & 5 deletions trojan_v2ray_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,10 @@ function getV2rayVersion(){
green " 1. 1.8.0 或以上的最新版本 支持 REALITY 和 XTLS Vision"
fi

if [[ $2 == "shadowsocks" ]]; then
green " 1. 1.8.0 或以上的最新版本 支持 REALITY 和 XTLS Vision"
fi

green " 2. 1.7.5 支持 XTLS Vision (推荐)"
green " 3. 1.6.1 (推荐)"
green " 4. 1.6.0"
Expand Down Expand Up @@ -3728,14 +3732,12 @@ function installShadowsocks(){
exit 0
fi



showHeaderGreen " 开始安装 Xray Shadowsocks " \
" Prepare to install Xray Shadowsocks "

configNetworkVPSIP=$(get_ip)

getV2rayVersion "xray"
getV2rayVersion "xray" "shadowsocks"
green " 准备下载并安装 Xray Version: ${versionXray} !"
green " Prepare to download and install Xray Version: ${versionXray} !"

Expand Down Expand Up @@ -3885,8 +3887,8 @@ fi
"settings": {
"domainStrategy": "UseIPv6"
}
},
],
}
]
}
EOF

Expand Down

0 comments on commit 21a1117

Please sign in to comment.