CentOS 6.5上安装MariaDB
1、软件环境:CentOS 6.5 x64MariaDB 5.5.36 2、安装过程1)在/etc/yum.repos.d/目录创建MariaDB.repo文件,内容如下: # MariaD
1、软件环境:
CentOS 6.5 x64
MariaDB 5.5.36
2、安装过程
1)在/etc/yum.repos.d/目录创建MariaDB.repo文件,内容如下:
# MariaDB 5.5 CentOS repository list - created 2014-03-04 11:20 UTC
#
[mariadb]
name = MariaDB
baseurl =
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
2)在Shell环境下执行命令
# yum install MariaDB-server MariaDB-client
Loaded plugins: fastestmirror, security
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 01:11
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
mariadb | 1.9 kB 00:00
mariadb/primary_db | 15 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.1 MB 00:22
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-client.x86_64 0:5.5.36-1.el6 will be obsoleting
--> Processing Dependency: MariaDB-common for package: MariaDB-client-5.5.36-1.el6.x86_64
---> Package MariaDB-server.x86_64 0:5.5.36-1.el6 will be obsoleting
---> Package mysql.x86_64 0:5.1.71-1.el6 will be obsoleted
---> Package mysql-server.x86_64 0:5.1.71-1.el6 will be obsoleted
--> Running transaction check
---> Package MariaDB-common.x86_64 0:5.5.36-1.el6 will be installed
--> Processing Dependency: MariaDB-compat for package: MariaDB-common-5.5.36-1.el6.x86_64
--> Running transaction check
---> Package MariaDB-compat.x86_64 0:5.5.36-1.el6 will be obsoleting
---> Package mysql-libs.x86_64 0:5.1.71-1.el6 will be obsoleted
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================
Package Arch Version Repository Size
==================================================================================================================
Installing:
MariaDB-client x86_64 5.5.36-1.el6 mariadb 10 M
replacing mysql.x86_64 5.1.71-1.el6
MariaDB-compat x86_64 5.5.36-1.el6 mariadb 2.7 M
replacing mysql-libs.x86_64 5.1.71-1.el6
MariaDB-server x86_64 5.5.36-1.el6 mariadb 42 M
replacing mysql-server.x86_64 5.1.71-1.el6
Installing for dependencies:
MariaDB-common x86_64 5.5.36-1.el6 mariadb 23 k
Transaction Summary
==================================================================================================================
Install 4 Package(s)
推荐阅读
-
在Mac OS上编译安装Nginx+PHP+MariaDB开发环境的教程
-
VMware 12中CentOS 6.5 64位安装配置教程
-
Centos 6.5下安装MySQL 5.6教程
-
详解centos7上elastic search安装及填坑记
-
centos6.5安装python3.7.1之后无法使用pip的解决方案
-
在RHEL 6.5上使用yum更新/安装软件的操作方法
-
阿里云CentOS 6.5 安装Docker详细步骤
-
CentOS6.5环境安装nginx服务器及负载均衡配置操作详解
-
详解Lamp环境搭建Linux CentOS6.5编译安装mysql5.6
-
centos6.5 Linux下用安装包方式安装MySQL的步骤教程