linux安装apache

1:将iso复制到linux中

2:将虚拟机-》设置-》cd/dvd-》选择 apache。iso文件“已连接”选项

3:将iso文件解压到 /usr/local/src

4:右击,新建终端

5:输入 cd /usr/local/src

6:cd apache—1.3.31

7:。/configure --prefix=/usr/local/apache

8:make

9:make install

10:cd /usr/local/apache

11:cd conf

12:vi httpd.conf

13:cd ../

14:./bin/apachectl start

15:./bin/apachectl start

16:打开浏览器:输入http://127.0.0.1

 

posted on 2015-12-23 14:08  yanran  阅读(119)  评论(0编辑  收藏  举报