Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2345568
  • 博文数量: 141
  • 博客积分: 3552
  • 博客等级: 中校
  • 技术积分: 4148
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-15 14:39
个人简介

熟悉Linux下程序设计及各种应用程序 熟悉C Language 熟悉Glusterfs、FFmpeg、CDN 系统设计,计算机图形系统设计、分布式程序设计 目前主要研究方向:流媒体

文章分类

全部博文(141)

分类: LINUX

2012-03-01 17:33:00

因为工作需要,所以需要建一个LAMP,又懒得源码安装了,所以就用了如下命令直接自动安装好了
  1. yum install mysql++-devel.i686 mysql-devel.i686 mysql-libs.i686

  2. yum install php

  3. yum install httpd*
因为安装好了以后,mysql我不熟,好久不碰了,sql语句都不知道是什么兄弟了,就想起了phpmyadmin
装之

  1. yum install phpmyadmin
安装方法搜索一艘一大堆,装好了以后发现浏览不了,这下就悲剧了
看一下httpd的日志,错误如下
  1. [Fri Mar 02 01:17:32 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  2. [Fri Mar 02 01:17:38 2012] [error] [client 192.168.1.102] File does not exist: /var/www/html/phpmyadmi
  3. [Fri Mar 02 01:17:41 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  4. [Fri Mar 02 01:18:18 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  5. [Fri Mar 02 01:19:48 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  6. [Fri Mar 02 01:20:29 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  7. [Fri Mar 02 01:21:56 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  8. [Fri Mar 02 01:21:58 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  9. [Fri Mar 02 01:22:18 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  10. [Fri Mar 02 01:22:20 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  11. [Fri Mar 02 01:22:31 2012] [error] [client 192.168.1.102] client denied by server configuration: /usr/share/phpMyAdmin
  12. [Fri Mar 02 01:26:45 2012] [notice] caught SIGTERM, shutting down
搜噶,原来是酱紫的

错误原因找到,就去把Allow里面加一下自己的ip即可

  1. vim /etc/httpd/conf.d/phpMyAdmin.conf
ok了



阅读(4640) | 评论(0) | 转发(0) |
0

上一篇:fedora 16装skype

下一篇:git push解决另一记录

给主人留下些什么吧!~~