|
@@ -68,14 +68,12 @@ yum clean all
|
|
yum makecache
|
|
yum makecache
|
|
```
|
|
```
|
|
|
|
|
|
-> 7、自动化部署
|
|
|
|
|
|
+> 7、游戏资源下载
|
|
|
|
|
|
-```shell
|
|
|
|
-cd /opt/Engine2D
|
|
|
|
-sudo ./tools/init.sh
|
|
|
|
-```
|
|
|
|
-
|
|
|
|
-> 8、游戏资源下载
|
|
|
|
|
|
+````shell
|
|
|
|
+# 安装git
|
|
|
|
+yum install -y git
|
|
|
|
+````
|
|
|
|
|
|
````shell
|
|
````shell
|
|
# 生成GitHub SSH KEY
|
|
# 生成GitHub SSH KEY
|
|
@@ -88,17 +86,32 @@ cat /root/.ssh/id_rsa.pub
|
|
````
|
|
````
|
|
|
|
|
|
```shell
|
|
```shell
|
|
-git config -global user.name "你的GitHub用户名"
|
|
|
|
-git config -global user.email "你的GitHub登录账号"
|
|
|
|
|
|
+git config --global user.name "你的GitHub用户名"
|
|
|
|
+git config --global user.email "你的GitHub登录账号"
|
|
```
|
|
```
|
|
|
|
|
|
-
|
|
|
|
```shell
|
|
```shell
|
|
-cd /opt/Engine2D
|
|
|
|
|
|
+cd /opt
|
|
# 下载游戏源码
|
|
# 下载游戏源码
|
|
git clone --depth=1 git@github.com:makeryangcom/Engine2D.git
|
|
git clone --depth=1 git@github.com:makeryangcom/Engine2D.git
|
|
```
|
|
```
|
|
|
|
|
|
|
|
+> 8、自动化部署
|
|
|
|
+
|
|
|
|
+```shell
|
|
|
|
+cd /opt/Engine2D
|
|
|
|
+sudo ./tools/init.sh
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+```shell
|
|
|
|
+# 将SELINUX=设置为`disabled`关闭selinux
|
|
|
|
+vim /etc/selinux/config
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+```shell
|
|
|
|
+sudo ./tools/update.sh
|
|
|
|
+```
|
|
|
|
+
|
|
> 9、本地解析服务器域名
|
|
> 9、本地解析服务器域名
|
|
|
|
|
|
```shell
|
|
```shell
|