Merge pull request #15 from v2fly/develop

style: Wiki special classification
pull/23/head
Dct Mei 2020-06-14 03:31:13 +00:00 committed by GitHub
commit 86b6abcdf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 46 deletions

View File

@ -85,53 +85,9 @@ or
# bash install-release.sh --remove
```
### 證書權限問題
### 解決問題
假設,這書文件所在的路徑為 `/srv/http/`
文件分別為 `/srv/http/example.com.key``/srv/http/example.com.pem`
方案一:
1. `/srv/http/` 的默認權限一般為 755
2. `/srv/http/example.com.key` 的默認權限一般為 600
3. `/srv/http/example.com.pem` 的默認權限一般為 644。
`/srv/http/example.com.key` 修改為 644 即可:
```
# chmod 644 /srv/http/example.com.key
```
方案二:
```
# id nobody
```
1. 显示出来的结果可能是:
```
uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
```
相应的,只需要执行:
```
# chown -R nobody:nogroup /srv/http/
```
2. 显示出来的结果也可能是:
```
uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
```
相应的,只需要执行:
```
# chown -R nobody:nobody /srv/http/
```
* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。
## 參數