ubuntu web服务器配置

1.安装Apache
sudo apt-get install apache2

查看状态: service apache2 status/start/stop/restart
Web目录: /var/www
安装目录: /etc/apache2/
全局配置: /etc/apache2/apache2.conf
监听端口: /etc/apache2/ports.conf
虚拟主机: /etc/apache2/sites-enabled/000-default.conf

posted on 2018-12-08 21:30  kenny.wmh  阅读(436)  评论(0编辑  收藏  举报

导航