centos 6.3 mysql 5.5.27 설치

[root~/downloads/cmake-2.8.4/cmake-build]#
[root~/downloads/cmake-2.8.4/cmake-build]#rpm -qa | grep mysql
mysql-libs-5.1.61-4.el6.i686
[root~/downloads/cmake-2.8.4/cmake-build]#rpm -e mysql-libs-5.1.61-4.el6.i686
error: Failed dependencies:
libmysqlclient.so.16 is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
libmysqlclient.so.16(libmysqlclient_16) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
mysql-libs is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
[root~/downloads/cmake-2.8.4/cmake-build]#rpm -e -nodeps mysql-libs-5.1.61-4.el6.i686
-nodeps: unknown option
[root~/downloads/cmake-2.8.4/cmake-build]#yum remove mysql-libs-5.1.61-4.el6.i686
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package mysql-libs.i686 0:5.1.61-4.el6 will be erased
–> Processing Dependency: libmysqlclient.so.16 for package: 2:postfix-2.6.6-2.2.el6_1.i686
–> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: 2:postfix-2.6.6-2.2.el6_1.i686
–> Processing Dependency: mysql-libs for package: 2:postfix-2.6.6-2.2.el6_1.i686
–> Running transaction check
—> Package postfix.i686 2:2.6.6-2.2.el6_1 will be erased
–> Processing Dependency: /usr/sbin/sendmail for package: cronie-1.4.4-7.el6.i686
–> Running transaction check
—> Package cronie.i686 0:1.4.4-7.el6 will be erased
–> Processing Dependency: cronie = 1.4.4-7.el6 for package: cronie-anacron-1.4.4-7.el6.i686
–> Running transaction check
—> Package cronie-anacron.i686 0:1.4.4-7.el6 will be erased
–> Processing Dependency: /etc/cron.d for package: crontabs-1.10-33.el6.noarch
–> Restarting Dependency Resolution with new changes.
–> Running transaction check
—> Package crontabs.noarch 0:1.10-33.el6 will be erased
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
mysql-libs
i686 5.1.61-4.el6 @anaconda-CentOS-201112130233.i386/6.3 3.9 M
Removing for dependencies:
cronie i686 1.4.4-7.el6 @anaconda-CentOS-201112130233.i386/6.3 164 k
cronie-anacron
i686 1.4.4-7.el6 @anaconda-CentOS-201112130233.i386/6.3 38 k
crontabs noarch 1.10-33.el6 @anaconda-CentOS-201112130233.i386/6.3 2.4 k
postfix i686 2:2.6.6-2.2.el6_1 @anaconda-CentOS-201112130233.i386/6.3 9.3 M

Transaction Summary
================================================================================
Remove 5 Package(s)

Installed size: 13 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : cronie-anacron-1.4.4-7.el6.i686 1/5
Erasing : crontabs-1.10-33.el6.noarch 2/5
Erasing : cronie-1.4.4-7.el6.i686 3/5
Erasing : 2:postfix-2.6.6-2.2.el6_1.i686 4/5
Erasing : mysql-libs-5.1.61-4.el6.i686 5/5
Verifying : 2:postfix-2.6.6-2.2.el6_1.i686 1/5
Verifying : crontabs-1.10-33.el6.noarch 2/5
Verifying : cronie-1.4.4-7.el6.i686 3/5
Verifying : cronie-anacron-1.4.4-7.el6.i686 4/5
Verifying : mysql-libs-5.1.61-4.el6.i686 5/5

Removed:
mysql-libs.i686 0:5.1.61-4.el6

Dependency Removed:
cronie.i686 0:1.4.4-7.el6 cronie-anacron.i686 0:1.4.4-7.el6
crontabs.noarch 0:1.10-33.el6 postfix.i686 2:2.6.6-2.2.el6_1

Complete!
[root~/downloads/cmake-2.8.4/cmake-build]#rpm -qa | grep mysql
[root~/downloads/cmake-2.8.4/cmake-build]#
[root~/downloads/cmake-2.8.4/cmake-build]#
[root~/downloads/cmake-2.8.4/cmake-build]#
[root~/downloads/cmake-2.8.4/cmake-build]#
[root~/downloads/cmake-2.8.4/cmake-build]#cd /usr/local
[root/usr/local]#wget http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.27-linux2.6-x86_64.tar.gz/from/http://cdn.mysql.com/
–2012-11-01 05:56:16– http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.27-linux2.6-x86_64.tar.gz/from/http://cdn.mysql.com/
Resolving dev.mysql.com… 137.254.60.11
Connecting to dev.mysql.com|137.254.60.11|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-5.5.27-linux2.6-x86_64.tar.gz [following]
–2012-11-01 05:56:17– http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-5.5.27-linux2.6-x86_64.tar.gz
Resolving cdn.mysql.com… 209.107.203.19, 209.107.203.25
Connecting to cdn.mysql.com|209.107.203.19|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 186504948 (178M) [application/x-tar-gz]
Saving to: ?쐌ysql-5.5.27-linux2.6-x86_64.tar.gz?

rpm yum 참고사이트
http://www.ibm.com/developerworks/kr/library/l-lpic1-v3-102-5/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s