首页 > 其他 > 详细

centos6安装lamp

时间:2017-09-15 12:52:34      阅读:177      评论:0      收藏:0      [点我收藏+]

1、安装Apache

[root@localhost ~]#  yum -y install httpd

 

设置开启自启动

[root@localhost ~]# chkconfig httpd on

 

 

启动httpd服务

[root@localhost ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the servers fully qualified domain name, using ::1 for ServerName
                                                           [  OK  ]

 

 测试:如果是远程访问的话,需要在服务器上放行80端口

 

技术分享

 

centos6安装lamp

原文:http://www.cnblogs.com/zhongguiyao/p/7525483.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!