部署my-mind思维导图

1.查看系统版本

cat /etc/redhat-release

内核uname -r

安装httpd install httpd -y

或yum –disableexcludes=all install -y httpd

2.关闭防火墙systemctl disable firewalld && systemctl stop firewalld

3.创建网站目录mkdir -p /var/www/myweb

4.编辑httpd文件:cd /etc/httpd/conf.d

mkdir mind.conf

vim mind.conf

Listen 7899
<VirtualHost *:7899>
ServerName web2.mind.com
DocumentRoot /var/www/myweb
</VirtualHost>

5.启动httpd服务:systemctl enable –now httpd

systemctl restart httpd

systemctl status httpd

6.在网站根目录/var/www/myweb/,下载my-mind

git clone https://github.com/ondras/my-mind.git

systemctl restart httpd

7.查看监听7899端口

ss -tunlp |grep 7899

 

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

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

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

昵称

取消
昵称表情代码图片

    暂无评论内容