首先利用Ubuntu软件中心搜索软件Apache2,点击“安装”。
安装完成之后,在终端中输入:sudo /etc/init.d/apache2,回车后会看到
* Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
根据选项选取适当的命令,对apache进行start、restart、stop等操作。
背景:
阅读新闻
Ubuntu 10.04下安装Apache2
首先利用Ubuntu软件中心搜索软件Apache2,点击“安装”。 安装完成之后,在终端中输入:sudo /etc/init.d/apache2,回车后会看到 * Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status} 根据选项选取适当的命令,对apache进行start、restart、stop等操作。
|
最新资讯
|