docker部署小游戏

1.安装httpd软件
yum -y install httpd
2.启动httpd服务,并使开机启动
systemctl start httpd && systemctl enable httpd
3.查看httpd状态,确保httpd服务正常
systemctl status httpd
4.防火墙和selinux
设置selinux
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/configsetenforce 0

关闭防火墙,如果想要开启防火墙需要80端口
systemctl stop firewalld && systemctl disabled firewalld

5.下载源码
cd /var/www/html/
在gitee拉取小游戏源码
get clone https://gitee.com.com/fwjzzz/Jump.git

6.重启httpd服务
systemctl restart httpd
7.ip/Jump

------本页内容已结束,喜欢请分享------

感谢您的来访,获取更多精彩文章请收藏本站。

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容