mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 15:08:33 +08:00
21 lines
429 B
Markdown
21 lines
429 B
Markdown
# Q&A
|
|
|
|
## CentOS7/8启动服务失败
|
|
|
|
> 先关闭SELinux
|
|
|
|
```shell
|
|
vi /etc/selinux/config
|
|
SELINUX=enforcing
|
|
// 修改为禁用
|
|
SELINUX=disabled
|
|
```
|
|
|
|
> 重启:`reboot`,再使用一键脚本安装
|
|
|
|
> 查看SELinux状态:sestatus
|
|
|
|
## 客户端服务启动成功,无法连接?
|
|
|
|
> 端口未开放:`iptables -I INPUT -s 0.0.0.0/0 -p tcp --dport 22022 -j ACCEPT` 或者 `rm -rf /etc/iptables && reboot`
|