linux apache tomcat 配置 管理

来源:互联网 发布:买淘宝店铺的网站 编辑:程序博客网 时间:2024/06/04 19:51

通过新力得安装apahce2

通过命令行启动和停止apache2服务

# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start

Task: Restart Apache 2 Server /重启apache服务

# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart

Task: Stop Apache 2 Server /停止apache服务

# /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop