部署ToDoList任务管理工具

查看系统版本cat/etc/os-release
内核uname -r

配置阿里云yum仓库镜像源
curl -o /etc/yum.repos.d/CentOS-Base 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仓库状态
yum repolist all |grep enable
安装apache,yum -y install httpd
或者 yum -disableexclude=all install httpd -y
查看80端口占用情况,因为我安装了宝塔并且安装了lnmp,因此80端口被nginx占用
ss -tunlp |grep 80,netstat -antlp |grep 80
这步可以杀死nginx进程,也可以修改httpd端口
vim /etc/httpd/conf/httpd.conf
listen 80改成8023不是80且未占用的的端口即)
systemctl restart httpd
关闭防火墙
systemctl disable firewalld && systemctl stop firewalld
关闭selinux
setenforce 0
sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config

启动httpd服务
systemctl enable -now httpd
systemctl restart httpd
systemctl status http

下载ToDoList源码
cd /vr/www/html
git clone https://github.com/tusharnankani/ToDoList.git
访问
ip:8023/ToDoList

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

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

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

昵称

取消
昵称表情代码图片

    暂无评论内容