![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apache
易点笔记
这个作者很懒,什么都没留下…
展开
-
查看CentOS上Apache位置,版本,停止,启动
查看Apache是否被安装:[root@asg11 ~]# find / -name 'httpd'/etc/sysconfig/httpd/etc/httpd/etc/logrotate.d/httpd/etc/rc.d/init.d/httpd/var/run/httpd/var/log/httpd/var/lock/subsys/httpd/usr/sbi转载 2017-03-05 21:59:31 · 6143 阅读 · 0 评论 -
解决httpd: Could not reliably determine the server's fully qualified domain name
解决方案:用记事本打开 httpd.conf将里面的 #ServerName localhost:80 注释去掉即可。再执行 httpd然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。 using localhost.localdomain for ServerN转载 2017-03-05 22:07:39 · 700 阅读 · 0 评论 -
centos6.4搭建apache+mysql+php环境
最近用PHP做的项目到了项目部署的时候,服务器为centos6.4系统,为了快捷部署,采用yum安装部署大部分内容参考博客 http://blog.sina.com.cn/s/blog_c02ed6590101d2sl.html一、安装 MySQL首先来进行 MySQL 的安装。打开超级终端,输入:[root@localhost ~]# yum install mysql m转载 2017-03-05 22:25:18 · 510 阅读 · 0 评论 -
CentOS7下搭建nginx反向代理服务器 二级域名访问
创建nginx的本地yum源[root@localhost ~]# yum list |grep nginxNo package nginx available.[root@localhost ~]# //给跪了,什么鬼,怎么没有nginx的rpm?算了,直接自己手动配一个官网repo吧[root@localhost ~]# //访问nginx官网,进入dowload页面,翻到底部的Pr转载 2017-03-05 23:43:59 · 1682 阅读 · 0 评论