1.0.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
|
||||
scp -r ./engine/release/server* root@172.21.254.81:/data/wwwroot/game/
|
||||
scp -r ./engine/release/server* root@172.21.245.0:/data/wwwroot/game/
|
||||
|
||||
ssh root@172.21.254.81 "chmod +x /data/wwwroot/game/* && cd /opt/Engine2D && sudo ./tools/update.sh"
|
||||
ssh root@172.21.245.0 "chmod +x /data/wwwroot/game/* && cd /opt/Engine2D && sudo ./tools/update.sh"
|
||||
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user