1.准备环境
关闭防火墙:service iptables stop (chkconfig iptables off)
关闭selinux: setenforce 0 (SELINUX=disabled)
配置ip
2.安装软件包
yum install httpd -y
3.修改配置文件
vim /etc/httpd/conf/httpd.conf
4.重启服务
service httpd restart
5.测试
登录服务器(如:http://192.168.1.200)
linux部署服务的5大步骤
最新推荐文章于 2022-07-24 17:45:51 发布