本文摘要:搭建web服务器 提供网站服务设置IP地址vim /etc/sysconfig/network-scripts/ifcfg-ens332. 启动 network服务 检察IP地址systemctl restart networkifconfig3. 关闭防火墙systemctl stop firewalld4.检察并 安装httpd服务软件包检察是否安装 httpd服务软件包,未安装则使用yum安装httpd服务软件包,也可以使用httpd源码包(编译)安装,可以凭据需求自行选择安装方式。
搭建web服务器 提供网站服务设置IP地址vim /etc/sysconfig/network-scripts/ifcfg-ens332. 启动 network服务 检察IP地址systemctl restart networkifconfig3. 关闭防火墙systemctl stop firewalld4.检察并 安装httpd服务软件包检察是否安装 httpd服务软件包,未安装则使用yum安装httpd服务软件包,也可以使用httpd源码包(编译)安装,可以凭据需求自行选择安装方式。rpm -qa httpd2. 编辑yum情况rm -rf /etc/yum.repos.d/*vim /etc/yum.repos.d/yum.repomount /dev/cdrom /mnt/ls /mnt/3.使用yum安装httpd服务软件包yum -y install httpd4.检察是否乐成安装httpd服务软件包rpm -qa httpd5.启动httpd服务systemctl start httpd6。检察httpd服务状态systemctl status httpd7.启用httpd服务systemctl enable httpd8.编辑httpd服务首页vim /var/www/html/index.html5.使用客户机 验证在客户机打开 浏览器 输入 www.//web服务器的ip地址。
本文关键词:云开在线登录
本文来源:云开在线登录-www.greenrefillshop.com