In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article describes how to use yum to install MariaDB 10.3 on CentOS 6.4
1. Create a mysql group
Groupadd mysql
two。 Create a mysql user and add to the mysql group
Useradd-g mysql mysql
3. Modify mysql password
Passwd mysql
4. Configure MariaDB 10.3 yum
Vi / etc/yum.repos.d/MariaDB.repo
# MariaDB 10.3 CentOS repository list-created 2018-06-01 02:02 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
Name = MariaDB
Baseurl = http://yum.mariadb.org/10.3/centos6-amd64
Gpgkey= https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Gpgcheck=1
5. Yum install MariaDB
Yum-y install MariaDB-server MariaDB-client
The installation results are as follows:
Installed:
MariaDB-client.x86_64 0VR 10.3.7-1.el6
MariaDB-compat.x86_64 0VR 10.3.7-1.el6
MariaDB-server.x86_64 0VR 10.3.7-1.el6
Dependency Installed:
MariaDB-common.x86_64 0VR 10.3.7-1.el6
Boost-program-options.x86_64 0RO 1.41.0-28.el6
Galera.x86_64 0Rom 25.3.23-1.rhel6.el6
Libaio.x86_64 0RO 0.3.107-10.el6
Lsof.x86_64 0RO 4.82-5.el6
Make.x86_64 1RO 3.81-23.el6
Perl.x86_64 4VR 5.10.1-144.el6
Perl-DBI.x86_64 0RO 1.609-4.el6
Perl-Module-Pluggable.x86_64 1Rank 3.90-144.el6
Perl-Pod-Escapes.x86_64 1purl 1.04-144.el6
Perl-Pod-Simple.x86_64 1Rank 3.13-144.el6
Perl-libs.x86_64 4VR 5.10.1-144.el6
Perl-version.x86_64 3RZ 0.77-144.el6
Rsync.x86_64 0RO 3.0.6-12.el6
Dependency Updated:
Openssl.x86_64 0:1.0.1e-57.el6
Replaced:
Mysql-libs.x86_64 0RO 5.1.66-2.el6_3
Complete!
6. Modify the root password of MariaDB database
Mysqladmin-u root password "123456"
7. Start / stop / restart MariaDB service command
Sudo-u mysql service mysql start | stop | restart
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.