LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2009, 01:11 AM   #1
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Rep: Reputation: 15
phpmyadmin installation on fedora


Hai all

this is srinath.

i am new to linux please help me urgent

i am using fedora. i think by installing fedora mysql support also there

so i want phpmyadmin on fedora for that i tried below like

1. Downloaded phpMyAdmin-3.1.4-all-languages.tar.bz2 to my desktop

2. extract here at there

3. opened terminal

4.mv phpMyAdmin-3.1.4-all-languages /usr/share/ //Move it to the appropriate place.

5. cd /usr/share/phpMyAdmin-3.1.4-all-languages //Configure phpMyAdmin

6. cp config.sample.inc.php config.inc.php

7. 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';
below two lines are not in the file. but i written
$cfg['Servers'][$i]['user'] = 'root'; // MySQL? user
$cfg['Servers'][$i]['password'] = ''; // MySQL? password (only nee$
8. Saved the file.

9. echo "alias /webdb /usr/share/phpMyAdmin-2.7.0-pl1" > /etc/httpd/conf.d/phpMyAdmin.conf //Created the apache config file for phpmyadmin and restart apache.

10. service httpd restart

11. at System/Administration/Service Configuration i started httpd and mysqld services

and when i tried to open http://localhost/phpmyadmin i am getting 404 - Not Found error.

please tell me how to solve this at terminal

please give me each and every step or commands at terminal to do this

Thanks
Srinath.M
 
Old 04-30-2009, 01:15 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You haven't said where the "appropriate place" is that you moved stuff to. On my CentOS box (which I would assume to be similar), I have an alias set up for phpMyAdmin that looks like:
Code:
cat phpmyadmin.conf
#
#  Web application to manage MySQL
#

<Directory "/usr/share/phpmyadmin">
  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1
  Allow from xxxx
  Allow from xxxx
</Directory>

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
Did you consider using yum to install it though?
 
Old 04-30-2009, 01:22 AM   #3
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

hai,

i don't known any pocesses about this

please tell me every step at terminal i will try again

or

i given everything what i have done up to now if your given code is suffeciant then tell me where to do this code

thanks
Srinath.M
 
Old 04-30-2009, 01:29 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You should be able to create an alias config in /etc/httpd/conf.d. Just call it phpmyadmin.conf or similar.
 
Old 04-30-2009, 01:33 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
But phpmyadmin should be available through repositories. Why not install it through yum?
yum install phpmyadmin should just install and work for you.
 
Old 04-30-2009, 01:33 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I asked that one!
 
Old 04-30-2009, 01:37 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Ok I missed that line in your previous post.
 
Old 04-30-2009, 01:53 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I wasn't having a go
 
Old 04-30-2009, 02:08 AM   #9
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
hai

i tried using yum like

# yum -y install phpMyAdmin.noarch

# vi /etc/phpMyAdmin/config.inc.php

modify the similar lines.

$cfg['Servers'][$i]['auth_type'] = ‘http’;
$cfg['Servers'][$i]['user'] = ‘root’; // MySQL user
$cfg['Servers'][$i]['password'] = ‘’; // MySQL password

$cfg['Servers'][$i]['host'] = ‘localhost’;
$cfg['Servers'][$i]['port'] = ”;
$cfg['Servers'][$i]['socket'] = ”;


saved file with :wq

and opend http://localhost/phpMyAdmin/ on browser but still i am getting 404 not found error

please give sol

Thanks
srinath.M
 
Old 04-30-2009, 02:21 AM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I take it that the browser you are opening in on the same machine you installed the software on?

Does you apache log tell you anything useful? Look in /var/log/httpd (try "tail /var/log/httpd/error_log")?
 
Old 04-30-2009, 02:38 AM   #11
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

in /var/log/httpd/error_log i got

[Wed Apr 29 23:39:54 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/phpmyadmin

wt to do yaar

srinath.m
 
Old 04-30-2009, 02:42 AM   #12
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you please show "ls /etc/httpd/conf.d"
 
Old 04-30-2009, 02:45 AM   #13
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

# ls /etc/httpd/conf.d is

manual.conf php.conf phpMyAdmin.conf.rpmnew python.conf squid.conf webalizer.conf
perl.conf phpMyAdmin.conf proxy_ajp.conf README ssl.conf welcome.conf

srinath.M
 
Old 04-30-2009, 02:47 AM   #14
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you show "cat /etc/httpd/conf.d/phpMyAdmin.conf"
 
Old 04-30-2009, 02:49 AM   #15
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

# cat /etc/httpd/conf.d/phpMyAdmin.conf is

alias /webdb /usr/share/phpMyAdmin-3.1.4-all-languages


srinath.m
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 9 phpMyAdmin problems after install sneaky Linux - Newbie 9 08-25-2008 11:34 AM
403 Errors with phpmyadmin on Fedora Core 6 Cold Coffee Linux - Server 3 03-06-2008 04:12 AM
fedora and phpmyadmin fuelinjection Linux - General 4 10-17-2005 09:55 PM
mysql / phpmyadmin & fedora fuelinjection Linux - General 2 06-20-2005 11:28 PM
PHPMyAdmin 2.5.1 installation VincentB Linux - Software 3 07-19-2003 05:03 AM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration