部署nullboard任务管理工具

阿里yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e ‘/mirrors.cloud.aliyuncs.com/d’ -e ‘/mirrors.aliyuncs.com/d’ /etc/yum.repos.d/CentOS-Base.repo
yum –disableexcludes=all install httpd -y
查看yum源状态,确保各镜像源正常
查看80端口是否被占用
ss -tunlp |grep 80,netstat -antlp |grep 80
这里如果80端口被nginx占用,就杀死nginx进程或修改httpd端口
这里listen改成8022,上篇是8023

systemctl enable httpd && systemctl start httpd
为了方便调试这里
设置selinux
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config
setenforce 0
关闭防火墙
systemctl stop firewalld && systemctl disable firewalld
也可以修改/etc/selinux/config selinu=disable
重启再使用命令setenforce 0

在网站根目录下载nullboard的源码
cd /var/www/html
git clone https://github.com/apankrat/nullboard.git
重启httpd服务
+systemctl restart httpd
访问ip:8022/nullboard/nullboard.html

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

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

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

昵称

取消
昵称表情代码图片

    暂无评论内容