久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos如何發(fā)布靜態(tài)網(wǎng)站

      centos如何發(fā)布靜態(tài)網(wǎng)站

      centos如何發(fā)布靜態(tài)網(wǎng)站?

      1、安裝Apache服務(wù)

      # yum  install  -y  httpd #systemctl  start  httpd.service /etc/httpd/conf:該目錄存放Apache服務(wù)器的配置文件 /var/www/html:該目錄是Apache服務(wù)器的默認(rèn)站點(diǎn)根目錄 /etc/httpd/logs:Apache服務(wù)器的日志文件目錄

      2、測(cè)試Apache是否安裝成功

      在瀏覽器的地址欄輸入:localhost進(jìn)行測(cè)試

      3、將網(wǎng)站代碼exam復(fù)制到/var/www/html/目錄下,并修改配置文件:

      Vim/etc/httpd/conf/httpd.conf

      修改:DocumentRoot "/var/www/html/"為DocumentRoot "/var/www/html/exam"

      【修改完配置文件后必須要重啟服務(wù):systemctl restart httpd

      輸入地址就可以直接訪問(wèn)了

      相關(guān)參考:centOS教程


      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)