user3868558
user3868558

Reputation: 13

update phpmyadmin in EC2 amazon

I would like to know how to update phpmyadmin in amazon EC2, I have the pem. permissions for. I access the server without any problems,

'm like:

ssh-i my_serveur.pem ubuntu @ **. **. *. ** 

then:

cd / var / .. 

But I do not see or move the phpmyadmin folder? Even better, is there a way (in line command) to update phpmyadmin?

Thank you to all

EDIT :

thank you Neal I told you, but I still do not see my answer ... so I edit my post;)

Upvotes: 1

Views: 1875

Answers (1)

Neal Magee
Neal Magee

Reputation: 1701

Normally in a Linux instance (whether in EC2 or not), from the command-line you can update packages like this:

For Redhat / Cent / Amazon Linux:

  sudo yum update

For Debian / Ubuntu:

  sudo apt-get update
  sudo apt-get upgrade

Or if you want only to update that single package, you could do this:

  sudo apt-get install phpmyadmin

and you'll get prompted for any confirmations or dependencies, etc. before the update runs. You will need sudo powers to run these commands.

Upvotes: 2

Related Questions