MariaDB.yum install

    1. yum源配置,MariaDB官网链接
# MariaDB 10.2 CentOS repository list - created 2018-02-02 16:03 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-ppc64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
    1. yum安装
yum install MariaDB-server MariaDB-client
    1. 服务启动
#启动mariadb服务
systemctl start mariadb
#开启mariadb服务自启
systemctl enable mariadb
    1. 初始化数据库
mysql_secure_installation

原文地址:https://www.cnblogs.com/yaya625202/p/8407805.html

时间: 2024-11-13 08:06:57

MariaDB.yum install的相关文章

MariaDB Cluster install with CentOS7

系统环境:CentOS7  64位 MariaDB版本:MariaDB-Galera-server5.5 主机规划: 192.168.0.233    client233 192.168.0.234    client234 192.168.0.235    client235 三台主机安装之前,必须先设置selinux .hostname 和  iptables; 如下: (1)selinux=Disabled (2)systemctl stop  iptables systemctl dis

<问题解决01>Linux虚拟机使用命令yum install 报错--解决方案如下:

问题描述: Linux虚拟机上使用yum install命令报错,错误为:Determining IP information for eth0- failed; no link present. eth0 解决方案: 解决方案来源博客地址:http://blog.csdn.net/refuil/article/details/50771677 根本原因是,win7物理机的两个服务没有启动,如果是这样,可以做如下修改: 开始-控制面板-管理工具-服务,找到VMwareDHCP Service和V

yum install nagios and pnp4nagios

环境:centos6.2 1.下载并安装epel包 links    http://fedoraproject.org/wiki/EPEL 2.安装nagios及插件 yum install nagios nagios-nrpe nagios-plugins* -y 3.启动httpd service httpd start;chkconfig httpd on 4.创建管理用户 htpasswd -cm /etc/nagios/passwd user1 5.更改默认的管理用户名 vim /et

CentOS7下解决yum install mysql-server没有可用包

[plain] view plaincopy # wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm --  http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 正在解析主机 repo.mysql.com (repo.mysql.com)... 23.4.241.142正在连接 repo.mysql.com (repo.mysql.com)

yum install php56w-pgsql

[[email protected] ~]# yum install php56w-pgsql Loaded plugins: fastestmirror, langpacks Repository pgdg95 is listed more than once in the configuration Repository pgdg95-source is listed more than once in the configuration Loading mirror speeds from

在OEL 5.4 32bit上使用yum install命令遇到的问题

[[email protected] yum.repos.d]# yum install elfutils-libelf-devel-static* Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package elfutils-libelf-devel-static.i386 0:0.137-3.el5 set to b

yum install zabbix

环境: centos 6.5 下载并安装epel源 links  http://fedoraproject.org/wiki/EPEL rpm -ivh epel-* 2.安装amp环境 yum install httpd mysql mysql-server php php-mysql -y 3.安装zabbix yum install zabbix22.x86_64 zabbix22-agent.x86_64 zabbix22-server.noarch zabbix22-server-my

Centos6.3不能使用yum install安装gcc编辑器解决办法

mv /var/lib/rpm/__db* /tmp rpm --rebuilddb yum clean all Centos6.3不能使用yum install安装gcc编辑器解决办法,布布扣,bubuko.com

我们可以通过输入 yum install -y mysql-server mysql mysql-devel 命令将

然后我们可以通过输入 yum install -y mysql-server mysql mysql-devel 命令将mysql mysql-server mysql-devel都安装好(注意:安装mysql时我们并不是安装了mysql客户端就相当于安装好了mysql数据库了,我们还需要安装mysql-server服务端才行) [[email protected] ~]# yum install -y mysql-server mysql mysql-deve 在等待了一番时间后,yum会帮我