2023-07-26 10:25:03 +08:00
|
|
|
|
# User Guide
|
|
|
|
|
|
|
|
|
|
## FAQ
|
|
|
|
|
|
|
|
|
|
#### user can not sudo?
|
|
|
|
|
|
|
|
|
|
```
|
2023-07-26 17:48:16 +08:00
|
|
|
|
# add user to sudo/admin group (select one command)
|
2023-07-26 10:25:03 +08:00
|
|
|
|
usermod -aG wheel username
|
2023-07-26 17:48:16 +08:00
|
|
|
|
usermod -aG sudo username
|
2023-07-26 10:25:03 +08:00
|
|
|
|
|
|
|
|
|
# sudo not need to input password
|
|
|
|
|
```
|
|
|
|
|
|
2023-10-07 16:00:55 +08:00
|
|
|
|
#### Can not login with correct credential?
|
|
|
|
|
|
|
|
|
|
Many reason may make you login failed with the correct credential:
|
|
|
|
|
|
|
|
|
|
- Cookie at you browser if IP change, need to clear cookie
|
|
|
|
|
- *.override.json is not correct
|
|
|
|
|
- TLS certificate
|
|
|
|
|
- User not allowed login, need to modify ssh_config file
|
2023-07-26 10:25:03 +08:00
|
|
|
|
|
2023-10-07 16:00:55 +08:00
|
|
|
|
More details, you can get it from `sudo grep cockpit /var/log/messages`
|
2023-10-06 11:19:57 +08:00
|
|
|
|
|
|
|
|
|
#### How to modify Websoft9 port?
|
|
|
|
|
|
2023-11-30 13:47:23 +08:00
|
|
|
|
Access web console > settings or use cli to modify port
|
|
|
|
|
|
|
|
|
|
#### 当服务器IP怎么办?
|
|
|
|
|
|
|
|
|
|
服务器 IP 变更,Websoft9 控制台能够自动适用,即使用新的 IP 访问即可。
|
|
|
|
|
|
|
|
|
|
但是,部分没有绑定域名的应用不能自动适用,即当应用无法访问时,您需要需要重新编排应用,将 env 中的 W9_URL 更换新的 IP 后,重建应用。
|