ITeye博客

Ubuntu安装Apache

xianbin · 2014-03-30 13:01 · Linux · 操作系统 · Markdown

1、下载Apache的源码包httpd-2.2.27.tar.gz; 2、Ubuntu Server没有带gcc和make,需要自己安装: root@ubuntu:#sudo apt-get install make root@ubuntu:#sudo apt-get install gcc

提示:请确保可以上网

3、root@ubuntu:#./configure; 4、root@ubuntu:#make; 5、root@ubuntu:#make install。 6、启动 //将当前目录改为Apache的默认安装路径
#cd /usr/local/apache/bin
//启动Apache
#./apachectl start.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。