当前位置:首页 > 美丽人生 > 学习成长 > 正文内容

Centos 安装 MariaDB Ver 10.8.6

RonWang4年前 (2020-11-21)学习成长470

Install MariaDB 10.8 on CentOS 8 These are the ideal steps you’ll go through when installing MariaDB 10.8 on CentOS 8 server. 

MariaDB 10.8 install

Step 1: Update System 

If you don’t have any critical services running in Production on the server, update the system before you begin installation of MariaDB on CentOS 8.

sudo yum update  -y

Step 2: Add MariaDB 10.8 repository to CentOS 8

We now need to add the MariaDB yum repository for our CPU architecture. This guide will cover adding repository for a x86_64 CPU machine.

curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
sudo bash mariadb_repo_setup --mariadb-server-version=10.8

Step 3: Install MariaDB 10.8 repository to CentOS 8

After adding Yum repository, you can proceed to install MariaDB repository to CentOS 8 straight away.

sudo yum install MariaDB-server MariaDB-client MariaDB-backup -y

When prompted, press y to accept installation:

Start and enable MariaDB service

sudo systemctl enable --now mariadb

Step 4: Secure MariaDB Database Server

sudo mariadb-secure-installation

Test access to database shell:

$ mysql -u root -p
$ Create datebase eshopex;
$ SELECT user, host FROM mysql.user;

The ending install process.You can keep going next work.

版权声明:本文为原创文章,版权归donstudio所有,欢迎分享本文,转载请保留出处!

本文链接:http://www.parentscn.com/?id=152

标签: 服务器

相关文章

Centos服务器挂载硬盘

Centos服务器挂载硬盘

1. 查看服务器上未挂载的磁盘(磁盘有普通磁盘,高效磁盘,SSD磁盘fdisk -l2. 磁盘分区(分区有主分区,扩展 分区,逻辑分区)fdisk /dev/vdbn->p-...

CentOS安装Redis及redis启动与关闭、配置

CentOS安装Redis及redis启动与关闭、配置

Install RedisIn this section you’ll add theEPEL repository, and then use it to install Redis.Ad...

 PrestaShop的1.7版本安装

PrestaShop的1.7版本安装

现在很多国内的公司为了拓展对外业务,开始采用更先进的电子商务软件,如美国的Amazon,加拿大的Shopify,法国的PrestaShop等都有很多用户在使用,对于商业初期的低成本尝试,开源软件Pre...

阿里云服务器的环境搭建与调试

阿里云服务器的环境搭建与调试

从阿里云产品发布开始便一直在使用ECM云服务器,但是之前多使用的是Windows系统,后来摸索开始挑战自己使用CentOS系统,靠着几行程序和网上各位大咖的教程和分享,竟然让使用CentOS服务器近1...

Centos Install OSCommerce 4.0

Centos Install OSCommerce 4.0

osCommerce is a Free shopping cart and open source Ecommerce software. You can choose to host you...

CentOS 7.9 64位 搭建 LNMP环境

CentOS 7.9 64位 搭建 LNMP环境

运维网站及APP程序等,我们经常要使用云服务器,无论是阿里云,腾讯云,还是国外的亚马逊云,购置纯系统的服务器之后,需要自己安装和搭建环境LAMP。今天,我就带大家一起实战下CentOS 7.9 64b...