部署adarkroom文字风格冒险小游戏

1.用yum安装httpd软件

yum -y install httpd

启动httpd并设置开机自启动

systemctl start httpd && systemctl enable httpd

查看httpd状态,确保正常

systemctl status httpd

2.设置selinux

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config setenforce 0 
关闭防火墙 systemctl stop firewalld && systemctl disable fierwalld
如果开启防火墙需放行80端口
3.进入网页根目录
cd /var/www/html/
github上拉取游戏源码git clone https://github.com/doublespeakgames/adarkroom.git 
查看项目源码目录
tree -L 1 ./adarkroom
重启httpd服务
systemctl restart httpd

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

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

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

昵称

取消
昵称表情代码图片

    暂无评论内容