搭建简单web服务器

    xiaoxiao2022-07-13  154

    搭建简单web服务器

    步骤一:安装http

    [root@Zxf 桌面]# yum -y install httpd

    步骤二:重启httpd,开机自启

    [root@Zxf 桌面]#systemctl restart httpd [root@Zxf 桌面]# systemctl enable httpd

    步骤三:简单编辑想要内容

    [root@Zxf 桌面]# vim /var/www/html/index.html <marquee><font color=red><h1>pan fei long

    步骤四:在火狐浏览器打开即可 [root@Zxf 桌面]# firefox 192.168.203.33

    最新回复(0)