Fedora 12/13/14/15/16/17
使用第三方擴展源
Fedora 16/17
free
1 |
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm |
nonfree
1 |
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm |
認證擴展源
Fedora 17
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-17.rpm |
Fedora 16
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-16.rpm |
Fedora 15
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm |
Fedora 14
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm |
Fedora 13
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm |
Fedora 12
1 |
rpm -Uvh http://rpms.famillecollet.com/remi-release-12.rpm |
檢查可安裝的版本
1 |
yum --enablerepo=remi list mysql mysql-server |
安裝或升級 MySQL 5.5.28
1 |
yum --enablerepo=remi install mysql mysql-server |
啟動MySQL 且開機自動啟動
如果是升級的話,請在升級完成後重新開機
1 2 |
systemctl start mysqld.service systemctl enable mysqld.service |
參考資料 :
http://www.if-not-true-then-false.com/2010/install-mysql-on-fedora-centos-red-hat-rhel/
更多內容
Pages: 1 2
評論
此文章尚無評論。