Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I googled on how to install phpmyadmin on ec2, and i got this syntax:

sudo yum install phpmyadmin

But i keep getting this:

Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
amzn-main                                                | 2.1 kB     00:00     
amzn-updates                                             | 2.1 kB     00:00     
Setting up Install Process
No package phpmyadmin available.
Error: Nothing to do

I tried to go my website, its not installed. Please help

EDIT:

My Server OS: Amazon Linux AMI 64 bit

I tried: yum install phpmyadmin --enablerepo=development, but still I got this error:

Loaded plugins: fastestmirror, priorities, security

Error getting repository data for development, repository not found
share|improve this question
    
That helps loads. See my revised answer. :) –  Andrew M. Mar 28 '11 at 3:36
add comment

2 Answers

up vote 1 down vote accepted

The official Amazon Linux AMI doesn't contain the repositories that are used for phpmyadmin at all, so you'll need to install it manually. Check out this post by Caleb Ogden about doing just that.

share|improve this answer
    
thanks mate, I can run phpmyadmin now :) –  yoko Mar 28 '11 at 4:08
    
Welcome to Server Fault! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Scott Pack Nov 6 '12 at 23:15
add comment

First add the repository, then:

  • install wget
  • sudo rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
  • sudo yum install phpmyadmin

    Working fine on a standard 32 bit Amazon instance.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.