v2ray-agent/documents/shell_error.md

35 lines
805 B
Markdown
Raw Normal View History

# 脚本常见错误处理
2020-12-26 22:49:48 +08:00
## 1.输入域名后卡住
```
# 请手动打开icmp
```
2020-12-26 22:49:48 +08:00
## 2.下载脚本失败
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/shell_error_01.jpg" width=700>
2020-12-14 15:00:43 +08:00
- 需要手动更改dns
```
# 文件位置
/etc/resolv.conf
# 文件内容
nameserver 8.8.8.8
nameserver 1.1.1.1
nameserver 8.8.4.4
```
2020-12-26 22:49:48 +08:00
## 3.生成证书失败
2020-12-14 15:00:43 +08:00
- 请更换Debian或者Ubuntu或者拿着vps来私聊作者。
2020-12-14 15:11:40 +08:00
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/shell_error_02.jpg" width=700>
## 4.Debian8启动nginx失败
### 解决方法一
- 手动删除add_header选项
```
vim /etc/nginx/conf.d/alone.conf
# 删除下方代码
location / {
add_header Strict-Transport-Security "max-age=63072000" always;
}
```