1/20/2013

centos install mysql5.5 by yum

When you want to use yum to use mysql5.5, you should let yum know the repos. Now I give one way for you to install mysql5.5 on your centos 5 or centos 6.

1.  On centos 6
 //on 64 computer
 rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel//6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh  http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-10.ius.el6.noarch.rpm

 // on 86 computer
rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel//6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius-release-1.0-10.ius.el6.noarch.rpm

// if the file does not exist, please go to  http://ftp.riken.jp/Linux/fedora/epel//6/ to find the suitable version for epel-release-6-XXX.noarch.rpm

2.  On centos 5


 //on 64 computer
 rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel//5/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh   http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-10.ius.el6.noarch.rpm

 // on 86 computer
rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel//5/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius-release-1.0-10.ius.el6.noarch.rpm

// if the file does not exist, please go to  http://ftp.riken.jp/Linux/fedora/epel//5/ to find the suitable version for epel-release-5-XXX.noarch.rpm

Last please use

yum remove mysql*

yum install mysql55

No comments:

Post a Comment