8.4.2  Web网络

更新于 2026年10月13日 版权声明
8.4.2 Web网络

(1)查看httpd软件包是否安装

#rpm -q httpd ;查看软件包

(2)启动httpd服务

#service httpd start ;启动Web服务

#service httpd status ;检查httpd进程是否运行(https://www.daowen.com)

(3)编辑网页

#cd/var/www/html ;切换目录到默认网页目录

#vi index.html ;编辑主页index.html

(4)浏览网页

打开浏览器,输入http://主机IP地址。可以在Windows环境下浏览,只要网络是联通的即可。

✍AI写作