|
@@ -104,11 +104,19 @@ sudo ./tools/init.sh
|
|
|
```
|
|
|
|
|
|
```shell
|
|
|
-# 将SELINUX=设置为`disabled`关闭selinux
|
|
|
-vim /etc/selinux/config
|
|
|
+# 取消CRYPTO_POLICY=的注释
|
|
|
+vim /etc/sysconfig/sshd
|
|
|
+# MySQL数据库远程连接配置
|
|
|
+vim /etc/ssh/sshd_config
|
|
|
+# 在最后添加下面的配置
|
|
|
+Ciphers aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc
|
|
|
+KexAlgorithms diffie-hellman-group1-sha1
|
|
|
+# 重启服务
|
|
|
+sudo systemctl restart sshd
|
|
|
```
|
|
|
|
|
|
```shell
|
|
|
+cd /opt/Engine2D
|
|
|
sudo ./tools/update.sh
|
|
|
```
|
|
|
|
|
@@ -140,4 +148,11 @@ sudo systemctl status server.service game.service
|
|
|
sudo systemctl stop|restart server.service
|
|
|
# 停止、重启游戏服务器
|
|
|
sudo systemctl stop|restart game.service
|
|
|
+```
|
|
|
+
|
|
|
+> 11、其他配置
|
|
|
+
|
|
|
+```shell
|
|
|
+Host 0.0.0.0
|
|
|
+KexAlgorithms +diffie-hellman-group1-sha1
|
|
|
```
|