we have an EC2 instance running the following
- Linux - Amazon Linux AMI release 2013.09,
- Apache 2.4.6
- php 5.4.23
I need to install MySQL 5.6 but am getting confused with all the Yum repos available at
http://dev.mysql.com/downloads/repo/
- Red Hat Enterprise Linux 5 / Oracle Linux 5 (Architecture Independent), RPM Package
- Red Hat Enterprise Linux 6 / Oracle Linux 6 (Architecture Independent), RPM Package
- Fedora 18, 19, 20
when i run the following shell command
cat /proc/version
it gives me
Linux version 3.4.73-64.112.amzn1.x86_64 (mockbuild@gobi-build-31003) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) )
so... RHEL 4 !?
If i was to take an educated guess based on
https://forums.aws.amazon.com/thread.jspa?threadID=51647&tstart=0#194519
...it would be the RHEL 6 repo, right ?
tried the RHEL 6 repo and it worked fine.
UPDATE:
to get the system info on Amazon Linux AMI try:
cat /etc/os-releasewhich should give you something simlar to:
Note the
ID_LIKE="rhel fedora"which seems to indicate that RHEL should work fine.In addition, apparently AMI is based on RHEL (yes that doesn't help with the version):
https://en.wikipedia.org/wiki/Amazon_Machine_Image#Amazon_Linux_AMI
For installation instructions see:
https://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html