centos5.4下安装mysql4.1.22

三月 24th, 2010 Posted in mysql | 阅读次数: 431 次

Author:gaojinbo
Time:2010-3-24
centos5.4下安装mysql4.1.22

 

1.备份原来的repo
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo-bak

 

2.添加163上的centos4.8源
vi mysql4.repo
[mysql4]
name=mysql4
baseurl=http://mirrors.163.com/centos/4.8/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centos4

 

3.导入import key
rpm –import http://mirrors.163.com/centos/4.8/os/x86_64/RPM-GPG-KEY
cd /etc/pki/rpm-gpg
wget http://mirrors.163.com/centos/4.8/os/x86_64/RPM-GPG-KEY-centos4

 

4.安装install openssl
需要先安装openssl0.9.7a
rpm -ivh openssl097a-0.9.7a-9.el5_2.1.x86_64.rpm

 

5.安装install mysql
yum –enablerepo=mysql4 install libdbi-dbd-mysql.x86_64 mysql-server.x86_64 mysql.x86_64

 

done!

相关日志:

Tags:

One Response to “centos5.4下安装mysql4.1.22”

  1. Related Resources Says:

    My Recommended Websites…

    [...]some new websites on the web we love, even if they are not related to ours. Check them out[...]…


留下您的脚印