View Single Post
  #1  
Old 1st May 2009, 14:23
need_a_linux_brain need_a_linux_brain is offline
Junior Member
 
Join Date: May 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP & PowerDNS and PowerAdmin on CentOS 5.3

Hello All,

Using the "How-To" entitled "Installing PowerDNS (With MySQL Backend) And Poweradmin On CentOS 5.2" (because there wasn't one available here for CentOS 5.3, at least that I could find), I attempted to correctly install PowerAdmin on my CentOS 5.3 dedicated server (which already has a DirectAdmin control panel installed on it and came pre-installed with my Linux distro). But, I couldn't install the several of the PHP packages needed for the PowerAdmin. Here's the output of "yum install":

No package httpd available.
No package php available.
No package php-devel available.
Package php-gd-5.1.6-23.2.el5_3.i386 installed and not available
Package php-imap-5.1.6-23.2.el5_3.i386 installed and not available
No package php-ldap available.
No package php-mysql available.
No package php-odbc available.
No package php-pear available.
Package php-xml-5.1.6-23.2.el5_3.i386 installed and not available
No package php-xmlrpc available.
Package php-mbstring-5.1.6-23.2.el5_3.i386 installed and not available
No package php-mcrypt available.
No package php-mhash available.
Package gettext-0.14.6-4.el5.i386 already installed and latest version
Nothing to do

Prior to attempting to install poweradmin (and successfully installing PowerDNS), I also had similar problems attempting to install "mysql". I received the following error: "No package mysql available."

I tried "yum install -y" and was only able to install several of the required PHP packages because I ran "yum search php" to locate them. When I ran "yum search" for "httpd", I found "system-config-httpd.noarch".

Just in case you wonder, I ran the "rpm -qa | grep" on php, pdns, poweradmin and hpttd. Nothing was returned for the last two but for the others, here's the output:

pdns-backend-pipe-2.9.21-4.el5.centos
pdns-backend-ldap-2.9.21-4.el5.centos
pdns-backend-geo-2.9.21-4.el5.centos
pdns-backend-sqlite-2.9.21-4.el5.centos
pdns-2.9.21-4.el5.centos
pdns-recursor-3.1.5-1.el5.centos
pdns-backend-mysql-2.9.21-4.el5.centos
pdns-backend-postgresql-2.9.21-4.el5.centos

rpm -qa | grep php

php-imap-5.1.6-23.2.el5_3
php-pdo-5.1.6-23.2.el5_3
php-cli-5.1.6-23.2.el5_3
php-gd-5.1.6-23.2.el5_3
php-common-5.1.6-23.2.el5_3
php-mbstring-5.1.6-23.2.el5_3
php-xml-5.1.6-23.2.el5_3

I did some research and found both the latetst PHP and Apache/httpd packages. Since both are tarballs, I used "wget" to download them to my /tmp directory (where the Poweradmin tarball is also located) but wasn't sure how to install them in the context of the tutorial.

Finally, I couldn't figure out in the tutorial where the instructions for configuring what hostname or server IP I want to use on my server. Are there any special instructions for installing it on a dedicated server?

Any help or suggestions? Can I even use Poweradmin with CentOS 5.3? (I tried to find documentation saying I couldn't so decided to try.)

Thanks.

Sasha
Reply With Quote
Sponsored Links