+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
Web Development Thread, PHPMYADMIN - Centos 5 in Coding and Web Development; I am a complete beginner on Centos and want to get PHPMyadmin working on my install. Is there a patient ...
  1. #1
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18

    PHPMYADMIN - Centos 5

    I am a complete beginner on Centos and want to get PHPMyadmin working on my install. Is there a patient forum user out there who could help please. (baby steps please as I really am a beginner but willing to learn)

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,698
    Thank Post
    352
    Thanked 803 Times in 718 Posts
    Rep Power
    348
    Hi Frosty,

    I don't do an awful lot with CentOS but I believe you can run as root:

    yum install phpmyadmin

    And then run service httpd restart to restart Apache to pick it up.

    Then browse to http://ip/phpmyadmin

    If it doesn't work out like that yum remove phpmyadmin again.

    Cheers,

    Kim

  3. #3
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    Quote Originally Posted by kmount View Post

    yum install phpmyadmin
    Thanks for your reply. It says "No package phpmyadmin available"

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,413
    Thank Post
    642
    Thanked 964 Times in 664 Posts
    Blog Entries
    2
    Rep Power
    327
    I think you have to add an additional repository for it. Have you had a look on the CentOS forum? Someone's likely to have had the same issue before.

  5. #5
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    I have looked but whist it sounds defeatist there are so many solutions I am unsure as to which one to adopt, hence why I came to the Oracle that is Edugeek :-)

  6. #6

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,866
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Are you stuck with CentOS or can you use a distribution with sane package managers?

  7. #7
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    Quote Originally Posted by powdarrmonkey View Post
    Are you stuck with CentOS or can you use a distribution with sane package managers?
    I will give anything a go...just want to move my web services away from Windows. What do you have in mind?

  8. #8

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,866
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Install Ubuntu Server 10.04 LTS, and then say "sudo apt-get install apache2 libapache2-mod-php5 mysql-server phpmyadmin" and follow the prompts. Much easier, and the package maintainer has a brain.

  9. Thanks to powdarrmonkey from:

    frosty (1st November 2010)

  10. #9
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    Thanks my friend...I will give it a go

  11. #10


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    download the install package from here:
    Index of /phpmyadmin

    do
    Code:
     rpm -Uhv packagename.rpm
    and errors any you may need to
    Code:
     yum install prerequisite
    (eg php, mysql etc)

  12. #11
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    Try this

    note: copy each section of code and run at the command prompt or after running nano in the text editor.

    you should be root for this if not type
    Code:
    su
    Code:
    rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
    Code:
    cd /tmp
    wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
    rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
    Code:
    yum install ntp httpd mysql-server php php-mysql php-mbstring php-mcrypt phpmyadmin
    Code:
    mysql_secure_installation
    Code:
    nano /etc/httpd/conf.d/phpmyadmin.conf
    Code:
    #
    #  Web application to manage MySQL
    #
    
    #<Directory "/usr/share/phpmyadmin">
    #  Order Deny,Allow
    #  Deny from all
    #  Allow from 127.0.0.1
    #</Directory>
    
    Alias /phpmyadmin /usr/share/phpmyadmin
    Alias /phpMyAdmin /usr/share/phpmyadmin
    Alias /mysqladmin /usr/share/phpmyadmin
    Ctrl-X to save

    Code:
    nano /usr/share/phpmyadmin/config.inc.php
    Code:
    [...]
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'http';
    [...]
    Ctrl-X to save again.

    Code:
     chkconfig --levels 235 httpd on
    /etc/init.d/httpd start
    Now you can direct your browser to http://localhost/phpmyadmin/ and log in with the user name root and your new root MySQL password.

    The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] | HowtoForge - Linux Howtos and Tutorials
    Last edited by somabc; 1st November 2010 at 03:31 PM.

  13. Thanks to somabc from:

    frosty (10th November 2010)

  14. #12
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    Quote Originally Posted by CyberNerd View Post
    download the install package from here:
    Index of /phpmyadmin
    To where? (told you I was a beginner!)

  15. #13
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    Quote Originally Posted by powdarrmonkey View Post
    Are you stuck with CentOS or can you use a distribution with sane package managers?
    Whats wrong with YUM?

  16. #14


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by frosty View Post
    To where? (told you I was a beginner!)
    anywhere.
    using the command line (terminal) - or ssh using putty
    become root
    Code:
     su -
    Code:
    export http_proxy=http://yourproxy.com:8080
    download using wget
    Code:
     wget http://packages.sw.be/phpmyadmin/phpmyadmin-2.11.11-1.el5.rf.noarch.rpm
    install the file
    Code:
     rpm -Uhv phpmyadmin-2.11.11-1.el5.rf.noarch.rpm
    check for errors. configure phpmyadmin

    myght be best following somabc though

  17. #15
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    112
    Quote Originally Posted by CyberNerd View Post
    myght be best following somabc though
    That's the first time anyone has ever said that

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. WAMP and phpMyAdmin password issues
    By ceebster in forum Windows
    Replies: 5
    Last Post: 4th August 2010, 07:33 PM
  2. please pm me the phpmyadmin url
    By SimpleSi in forum CLEO
    Replies: 4
    Last Post: 28th April 2010, 01:59 PM
  3. phpMyAdmin and MySQL not working on WAMP
    By sasha in forum Windows Vista
    Replies: 5
    Last Post: 18th June 2009, 09:26 AM
  4. [Ubuntu] Trouble logging on to phpmyadmin
    By reggiep in forum *nix
    Replies: 4
    Last Post: 8th June 2009, 07:17 AM
  5. MySQL Backup with phpMyAdmin
    By mark80 in forum How do you do....it?
    Replies: 5
    Last Post: 20th June 2007, 12:15 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •