1、执行命令:apt-get install apache2
2、安装完成后输入服务器地址,或者域名就会看到默认界面
3、apache常用命令:service apache2 restart 重启
4、apache常用命令:service apache2 status 状态
5、apache常用命令:service apache2 start 启动service apache2 stop 关闭
1、执行命令:apt-get install apache2
2、安装完成后输入服务器地址,或者域名就会看到默认界面
3、apache常用命令:service apache2 restart 重启
4、apache常用命令:service apache2 status 状态
5、apache常用命令:service apache2 start 启动service apache2 stop 关闭