ubuntu上搭建apach2服务器
sudo apt-get install apache2
/etc/apache2/apache2.conf <Directory /var/www> <Directory /var/ota> etc/apache2/sites-available/000-default.conf ServerAdmin webmaster@localhost
ServerAdmin webmaster@localhost sudo /etc/init.d/apache restart
mv /var/ota/index.html /var/ota/index.htmlbei sudo chmod 777 /var/ota
http://jingyan.baidu.com/article/6d704a130c8a0d28da51ca5f.html (编辑:台州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |