现在的位置: 首页 > 综合 > 正文

apache2

2013年02月14日 ⁄ 综合 ⁄ 共 197字 ⁄ 字号 评论关闭

在Ubuntu中安装apache

  安装指令:sudo apt-get install apache2

  安装结束后:

  产生的启动和停止文件是:/etc/init.d/apache2

  启动:sudo apache2ctl -k start

  停止:sudo apache2ctl -k stop

  重新启动:sudo apache2ctl -k restart

另附:查看进程是否开启 ps -ef |grep apache

抱歉!评论已关闭.