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

猜你喜欢

转载自www.cnblogs.com/wangmh/p/10089187.html