安裝 Apache
apt-get install apache2

啟動 Apache
/etc/init.d/apache2 start

停止 Apache
/etc/init.d/apache2 stop

修改設定檔
/etc/apache2/mods-enabled/dir.conf

重新啟動
/etc/init.d/apache2 restart

給每個用者自訂網頁
http://<ip>/~帳號名/
a2enmod userdir

arrow
arrow
    全站熱搜

    莊子 發表在 痞客邦 留言(0) 人氣()