35 lines
805 B
Markdown
35 lines
805 B
Markdown
# 脚本常见错误处理
|
||
## 1.输入域名后卡住
|
||
```
|
||
# 请手动打开icmp
|
||
```
|
||
|
||
## 2.下载脚本失败
|
||
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/install/shell_error_01.jpg" width=700>
|
||
|
||
- 需要手动更改dns
|
||
```
|
||
# 文件位置
|
||
/etc/resolv.conf
|
||
|
||
# 文件内容
|
||
nameserver 8.8.8.8
|
||
nameserver 1.1.1.1
|
||
nameserver 8.8.4.4
|
||
```
|
||
|
||
## 3.生成证书失败
|
||
- 请更换Debian或者Ubuntu,或者拿着vps来私聊作者。
|
||
|
||
<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;
|
||
}
|
||
``` |