1. 程式人生 > >CentOS7 yum安裝Mariadb10.*

CentOS7 yum安裝Mariadb10.*

[[email protected] /]# yum install MariaDB-server MariaDB-client 已載入外掛:fastestmirror, langpacks base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 mariadb | 2.9 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/3): extras/7/x86_64/primary_db | 138 kB 00:00:00 (2/3): mariadb/primary_db | 18 kB 00:00:02 (3/3): updates/7/x86_64/primary_db | 3.8 MB 00:00:02 Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.tuna.tsinghua.edu.cn 正在解決依賴關係 --> 正在檢查事務 ---> 軟體包 MariaDB-client.x86_64.0.10.2.4-1.el7.centos 將被 安裝 --> 正在處理依賴關係 MariaDB-common,它被軟體包 MariaDB-client-10.2.4-1.el7.centos.x86_64 需要 ---> 軟體包 MariaDB-server.x86_64.0.10.2.4-1.el7.centos 將被 安裝 --> 正在處理依賴關係 galera,它被軟體包 MariaDB-server-10.2.4-1.el7.centos.x86_64 需要 --> 正在處理依賴關係 libjemalloc.so.1()(64bit),它被軟體包 MariaDB-server-10.2.4-1.el7.centos.x86_64 需要 --> 正在檢查事務 ---> 軟體包 MariaDB-common.x86_64.0.10.2.4-1.el7.centos 將被 安裝 --> 正在處理依賴關係 MariaDB-compat,它被軟體包 MariaDB-common-10.2.4-1.el7.centos.x86_64 需要 ---> 軟體包 galera.x86_64.0.25.3.19-1.rhel7.el7.centos 將被 安裝 --> 正在處理依賴關係 libboost_program_options.so.1.53.0()(64bit),它被軟體包 galera-25.3.19-1.rhel7.el7.centos.x86_64 需要 ---> 軟體包 jemalloc.x86_64.0.3.6.0-1.el7 將被 安裝 --> 正在檢查事務 ---> 軟體包 MariaDB-compat.x86_64.0.10.2.4-1.el7.centos 將被 安裝 ---> 軟體包 boost-program-options.x86_64.0.1.53.0-26.el7 將被 安裝 --> 解決依賴關係完成 依賴關係解決 ========================================================================================================== Package 架構 版本 源 大小 ========================================================================================================== 正在安裝: MariaDB-client x86_64 10.2.4-1.el7.centos mariadb 48 M MariaDB-server x86_64 10.2.4-1.el7.centos mariadb 113 M 為依賴而安裝: MariaDB-common x86_64 10.2.4-1.el7.centos mariadb 104 k MariaDB-compat x86_64 10.2.4-1.el7.centos mariadb 2.8 M boost-program-options x86_64 1.53.0-26.el7 base 156 k galera x86_64 25.3.19-1.rhel7.el7.centos mariadb 8.0 M jemalloc x86_64 3.6.0-1.el7 mariadb 104 k 事務概要 ========================================================================================================== 安裝 2 軟體包 (+5 依賴軟體包) 總下載量:172 M 安裝大小:728 M Is this ok [y/d/N]: y Downloading packages: 警告:/var/cache/yum/x86_64/7/mariadb/packages/MariaDB-10.2.4-centos7-x86_64-common.rpm: 頭V4 DSA/SHA1 Signature, 金鑰 ID 1bb943db: NOKEY MariaDB-10.2.4-centos7-x86_64-common.rpm 的公鑰尚未安裝 (1/7): MariaDB-10.2.4-centos7-x86_64-common.rpm | 104 kB 00:00:01 (2/7): MariaDB-10.2.4-centos7-x86_64-compat.rpm | 2.8 MB 00:00:19 (3/7): boost-program-options-1.53.0-26.el7.x86_64.rpm | 156 kB 00:00:00 (4/7): MariaDB-10.2.4-centos7-x86_64-client.rpm | 48 MB 00:04:01 (5/7): galera-25.3.19-1.rhel7.el7.centos.x86_64.rpm | 8.0 MB 00:00:39 (6/7): jemalloc-3.6.0-1.el7.x86_64.rpm | 104 kB 00:00:00 (7/7): MariaDB-10.2.4-centos7-x86_64-server.rpm | 113 MB 00:10:19 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 總計 275 kB/s | 172 MB 00:10:40 從 https://yum.mariadb.org/RPM-GPG-KEY-MariaDB 檢索金鑰 匯入 GPG key 0x1BB943DB: 使用者ID : "MariaDB Package Signing Key <
[email protected]
>" 指紋 : 1993 69e5 404b d5fc 7d2f e43b cbcb 082a 1bb9 43db 來自 : https://yum.mariadb.org/RPM-GPG-KEY-MariaDB 是否繼續?[y/N]:y Running transaction check Running transaction test Transaction test succeeded Running transaction 警告:RPM 資料庫已被非 yum 程式修改。 ** 發現 13 個已存在的 RPM 資料庫問題, 'yum check' 輸出如下: icedtea-web-1.6.1-4.el7.x86_64 有缺少的需求 java-1.8.0-openjdk jline-1.0-8.el7.noarch 有缺少的需求 java >= ('0', '1.5', None) jline-1.0-8.el7.noarch 有缺少的需求 jpackage-utils 1:libreoffice-core-4.3.7.2-5.el7.x86_64 有缺少的需求 java-headless >= ('1', '1.6', None) 1:libreoffice-ure-4.3.7.2-5.el7.x86_64 有缺少的需求 libjvm.so()(64bit) perl-DBD-MySQL-4.023-5.el7.x86_64 有缺少的需求 libmysqlclient.so.18()(64bit) perl-DBD-MySQL-4.023-5.el7.x86_64 有缺少的需求 libmysqlclient.so.18(libmysqlclient_18)(64bit) 2:postfix-2.10.1-6.el7.x86_64 有缺少的需求 libmysqlclient.so.18()(64bit) 2:postfix-2.10.1-6.el7.x86_64 有缺少的需求 libmysqlclient.so.18(libmysqlclient_18)(64bit) rhino-1.7R4-5.el7.noarch 有缺少的需求 jpackage-utils rhino-1.7R4-5.el7.noarch 有缺少的需求 jpackage-utils tagsoup-1.2.1-8.el7.noarch 有缺少的需求 jpackage-utils tagsoup-1.2.1-8.el7.noarch 有缺少的需求 jpackage-utils >= ('0', '1.6', None) 正在安裝 : MariaDB-common-10.2.4-1.el7.centos.x86_64 1/7 正在安裝 : MariaDB-compat-10.2.4-1.el7.centos.x86_64 2/7 正在安裝 : MariaDB-client-10.2.4-1.el7.centos.x86_64 3/7 正在安裝 : boost-program-options-1.53.0-26.el7.x86_64 4/7 正在安裝 : galera-25.3.19-1.rhel7.el7.centos.x86_64 5/7 正在安裝 : jemalloc-3.6.0-1.el7.x86_64 6/7 正在安裝 : MariaDB-server-10.2.4-1.el7.centos.x86_64 7/7 2017-03-09 10:28:54 140406770444480 [Warning] InnoDB: Creating foreign key constraint system tables. PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! To do so, start the server, then issue the following commands: '/usr/bin/mysqladmin' -u root password 'new-password' '/usr/bin/mysqladmin' -u root -h sun.sundomain password 'new-password' Alternatively you can run: '/usr/bin/mysql_secure_installation' which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions. Please report any problems at http://mariadb.org/jira The latest information about MariaDB is available at http://mariadb.org/. You can find additional information about the MySQL part at: http://dev.mysql.com Consider joining MariaDB's strong and vibrant community: https://mariadb.org/get-involved/ 驗證中 : MariaDB-server-10.2.4-1.el7.centos.x86_64 1/7 驗證中 : MariaDB-compat-10.2.4-1.el7.centos.x86_64 2/7 驗證中 : jemalloc-3.6.0-1.el7.x86_64 3/7 驗證中 : MariaDB-common-10.2.4-1.el7.centos.x86_64 4/7 驗證中 : boost-program-options-1.53.0-26.el7.x86_64 5/7 驗證中 : MariaDB-client-10.2.4-1.el7.centos.x86_64 6/7 驗證中 : galera-25.3.19-1.rhel7.el7.centos.x86_64 7/7 已安裝: MariaDB-client.x86_64 0:10.2.4-1.el7.centos
 

相關推薦

CentOS7 yum安裝Mariadb10.*

[[email protected] /]# yum install MariaDB-server MariaDB-client 已載入外掛:fastestmirror, langpacks base

centos7.5下yum 安裝mariadb10.3詳解

目錄   前言 1、刪除舊版本 2,建立 MariaDB.repo 3、安裝 install MariaDB 4、 安裝完成MariaDB,首先啟動MariaDB 5、 設定開機啟動 systemctl 常用命令: 6、 接下來進行MariaDB的相

Centos7 yum安裝 Lnmp以及Lamp

更改 重啟nginx XML fas 授權 /etc/ lin navi html中 首先配置防火墻 CentOS 7.0默認使用的是firewall作為防火墻 1.關閉firewall: systemctl stop firewalld.service #停止fir

CentOS7 yum 安裝 Nginx最新版本

centos7 yum 安裝 nginx最新版本下載對應當前系統版本的nginx包(package)# wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm建立nginx

Centos7 yum安裝 mysql

centos7 yum安裝 mysql前言1、mysql安裝 CentOS 7的yum源中貌似沒有正常安裝mysql時的mysql-sever文件,需要去官網上下載 # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noar

centos7 yum安裝mysql5.7

post col class att mysql5.7 com mysq unit pan 操作系統:centos7.1 數據庫版本:mysql5.7.21 社區版 1.下載rpm包 wget http://dev.mysql.com/get/mysql57-co

centos7 yum安裝java運行環境,初識hadoop

安裝java hadoop單機試運行安裝java運行環境 1.實驗機相關信息:[root@node2 ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@node2 ~]# uname -r3.10.0-327.e

<轉載>CentOS7 yum 安裝與配置MySQL5.7

ins TP pre vra unit BE ket img 狀態 安裝環境:CentOS7 64位 MINI版,安裝MySQL5.7 1、配置YUM源 在MySQL官網中下載YUM源rpm安裝包:https://dev.mysql.com/downloads/repo/y

Centos7 yum安裝nginx

pack border span 啟動 arc 開機 守護 服務 pan centos7 yum 安裝nginx 1.添加Nginx到YUM源 添加CentOS 7 Nginx yum資源庫,打開終端,使用以下命令: sudo rpm -Uvh http://ng

centos7 yum安裝mysql

centos7 密碼 centos7安裝 centos版本 server gpgcheck gre root mysq 1、卸載mariadb,否則安裝mysql會出現沖突 2、添加官方的yum源 以centos7安裝mysql5.6為例: 創建並編輯mysql-commu

CentOS7 yum安裝配置 drbd-84-utils (外部模式)

1 安裝環境介紹 1.1 系統環境   核心:3.10.0-862.el7.x86_64    版本:CentOS Linux release 7.5.1804 (Core)  主伺服器:hostname = mysql-master-01  心跳通訊 IP = 172.16.1.50

centos7 yum安裝配置redis 並設定密碼 centos7 yum安裝配置redis 並設定密碼

學習應該圍繞著體系而進行,適當的學習底層,是為了建立體系的連結點,而不是為追底層而底層。 首頁 聯絡 管理 隨筆 - 43  文章 - 0  評論

centos7 yum安裝pip

在centos7下,預設安裝了python2.7,  但是包管理工具pip並沒有安裝。 直接執行yum install python-pip, 出現如下情況 這種情況是因為centos7 預設是沒有相關源資訊,因此首先要安裝下擴充套件源EPEL(自行百度瞭解) yum -

centos7 yum安裝zabbix監控

一、安裝zabbix server 1、升級系統元件到最新版本 [[email protected] ~]# yum -y update 2、安裝過程中為了方便,關閉seliunx和防火牆 3、安裝mysql5.7,操作過程請另外參考檔案(省略) 4、安裝Apache [[ema

CentOS7 yum安裝Apache(httpd)並實現多域名配置

系統環境:騰訊雲CentOS 7.2 x64 一、Apache(httpd)安裝 安裝 yum install httpd 1 設定自啟 systemctl enable httpd.service 1 二、軟體配置 編輯httpd.conf就夠了,httpd.co

centos7 yum 安裝時出現Bad id for repo: http repo, byte = 4

出現問題的時候的http倉庫配置 1 [http repo] 2 name=this is Tsinghua's open source mirror site 3 baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/7/os

centos7 yum 安裝vsftpd

安裝步驟  1.通過yum來安裝vsftpd [[email protected] ~]# yum -y install vsftpd 2.設定為開機啟動 [[email protected] ~]# chkconfig vsftpd on 3.在/

centos7 yum 安裝 python3.6

conf roc ado nag 分享圖片 cat index glob yun wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repoyum install python3

centos7 yum安裝apache

1.檢視httpd包是否可用 yum list | grep httpd 2.安裝Apache yum install httpd 3.配置servername vi /etc/httpd/conf/httpd.conf 修改這行: ServerName localhost:80

Linux CentOS7 yum安裝Apache

# yum install -y httpd 啟動apache # systemctl start httpd.service 設定Apache開機啟動 # systemctl enable httpd.service apache命令相關命令 // 啟動apa