Welcome 微信登录

首页 / 数据库 / MySQL / Ubuntu上的phppgAdmin安装及配置

一直想将phppgamdin布署好,但在RedHat和Windows下安装时均碰到了不同的问题,因为对web的东东不熟悉,最终努力后,以失败收场。详见:http://www.linuxidc.com/Linux/2011-08/40520p2.htm    周末突然来了兴趣,装了个Ubuntu,昨晚再次试了下phppgAdmin,终于配置成功。记录过程:   1. 使用Ubuntu自带的“新立得软件包管理器”安装php5, apache2, postgresql8.4.2。   2. 安装完成后,测试一下apache2, 浏览器中输入http://localhost,显示It`s works.。   3. 为了方便起见, 直接执行:cp /usr/share/phppgadmin /var/www,将phppgadmin的目录直接拷贝到apache2默认目录下,再进入/var/www,将index.html删除。   4.进入/var/www/conf,修改config.inc.php文件,将下面配置项由true改为false。 
  1. // If extra login security is true, then logins via phpPgAdmin with no  
  2. // password or certain usernames (pgsql, postgres, root, administrator)  
  3. // will be denied. Only set this false once you have read the FAQ and  
  4. // understand how to change PostgreSQL"s pg_hba.conf to enable  
  5. // passworded local connections.  
  6. $conf["extra_login_security"] = false;  
  5.关于postgre上面的监听打开请参考之前博文,这里不再讲述。  6.重启apache2, 执行:service apache2 restart  7.用浏览器中输入locathost或本机IP即可,接下来的一事情跟逛CSDN论坛一样,会上网就会使用。不再讲述。  8.俗话说,有图有真像,抓几张贴上来玩:  a.整体视图:  
  b.执行SQL语句: c.创建函数或存储过程的界面:
  • 1
  • 2
  • 下一页
Oracle 双机热备:Oracle dataguard 和Oracle rac的区别和联系RedHat Linux上安装PostgreSQL相关资讯      Ubuntu教程  phpPgAdmin 
  • Ubuntu 16.04 下安装 PostgreSQL   (08月14日)
  • Ubuntu 上安装开源数据库   (12/21/2015 13:33:39)
  • Ubuntu 12.04环境下配置PostgreSQL  (11/19/2013 09:41:39)
  • CentOS 6.6下编译安装PostgreSQL9.  (12/21/2015 14:50:03)
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • 完美安装Ubuntu 12.10最新AMD显卡  (11/27/2012 08:17:47)
本文评论 查看全部评论 (0)
表情: 姓名: 字数