vidda22
asked on
phpmyadmin fedora 8 red hat
Hi I've got dedicated server, where I try to install phpmyadmin, I've done all the following steps:
unpack the package
> tar -xzvf phpMyAdmin.tar.gz
Move it to the appropriate place.
> mv phpMyAdmin /usr/share/
Create the apache config file for phpmyadmin and restart apache.
> echo "alias /webdb /usr/share/phpMyAdmin" > /etc/httpd/conf.d/phpMyAdm in.conf
> service httpd restart
Configure phpMyAdmin
> cd /usr/share/phpMyAdmin
> cp libraries/config.default.p hp config.inc.php
> nano -w config.inc.php
Locate each of the following lines and be sure each has the following settings.
$cfg['Servers'][$i]['auth_ type'] = 'http'; // Authentication method (con$
$cfg['Servers'][$i]['user' ] = 'root'; // MySQL user
$cfg['Servers'][$i]['passw ord'] = ''; // MySQL password (only nee$
Save the file.
I set my $cfg to :
$cfg['Servers'][$i]['auth_ type'] = 'http';
$cfg['Servers'][$i]['user' ] = '';
$cfg['Servers'][$i]['passw ord'] = '';
So now I am meaned to go to url of my website and type
<url>/phpMyAdmin
but I get HTTP 404 error
I don't know how to access phpmyadmin on the server?
unpack the package
> tar -xzvf phpMyAdmin.tar.gz
Move it to the appropriate place.
> mv phpMyAdmin /usr/share/
Create the apache config file for phpmyadmin and restart apache.
> echo "alias /webdb /usr/share/phpMyAdmin" > /etc/httpd/conf.d/phpMyAdm
> service httpd restart
Configure phpMyAdmin
> cd /usr/share/phpMyAdmin
> cp libraries/config.default.p
> nano -w config.inc.php
Locate each of the following lines and be sure each has the following settings.
$cfg['Servers'][$i]['auth_
$cfg['Servers'][$i]['user'
$cfg['Servers'][$i]['passw
Save the file.
I set my $cfg to :
$cfg['Servers'][$i]['auth_
$cfg['Servers'][$i]['user'
$cfg['Servers'][$i]['passw
So now I am meaned to go to url of my website and type
<url>/phpMyAdmin
but I get HTTP 404 error
I don't know how to access phpmyadmin on the server?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Personally, i would just extract it to the httpdocs and follow http://www.phpmyadmin.net/documentation/
you may have a path like this:
/home/username/public_html / if you do you could shove it in there
the main web root may be:
/usr/local/apache/htdocs
as i said a while since i've used redhat...
you may have a path like this:
/home/username/public_html
the main web root may be:
/usr/local/apache/htdocs
as i said a while since i've used redhat...
ASKER
yum install phpmyadmin
Setting up Install Process
Parsing package install arguments
No package phpmyadmin available.
Nothing to do
I don't know how to add package to linux, I am very beginner in that field...