Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Centos 百胜集团';在CentoOS 7上为Mariadb项目提供资金_Centos_Package_Mariadb_Centos7_Yum - Fatal编程技术网

Centos 百胜集团';在CentoOS 7上为Mariadb项目提供资金

Centos 百胜集团';在CentoOS 7上为Mariadb项目提供资金,centos,package,mariadb,centos7,yum,Centos,Package,Mariadb,Centos7,Yum,我试图安装MariaDB $ sudo yum -y install MariaDB-server MariaDB-client 但是返回错误 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: ftp.halifax.rwth-aachen.de * epel: mirror.imt-systems.com * extras: mirror.imt-sys

我试图安装MariaDB

$ sudo yum -y install MariaDB-server MariaDB-client
但是返回错误

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.halifax.rwth-aachen.de
 * epel: mirror.imt-systems.com
 * extras: mirror.imt-systems.com
 * remi-php72: mirror.23media.com
 * remi-safe: mirror.23media.com
 * updates: mirror.alpix.eu
No package MariaDB-server available.
No package MariaDB-client available.
Error: Nothing to do
我还在/etc/yum.repos.d/Mariadb.repo中添加了Mariadb repo MariaDB.repo是:

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

http://yum.mariadb.org/5.5/centos6-amd64
in.repo与CentOS 7不匹配,取而代之的是:

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos7-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
然后:


http://yum.mariadb.org/5.5/centos6-amd64
in.repo与CentOS 7不匹配,取而代之的是:

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos7-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
然后:


要匹配服务器的区分大小写的名称a.k.
MariaDB服务器
而不是
MariaDB服务器
,您必须添加正确的MariaDB服务器repo。因此,您还将拥有最新的Maria DB服务器版本(如果不是有意的,请小心)

对于值得使用官方安装手册的Centos 7版本-更安全、更简单:

$cd~
$sudo yum安装wget
$wgethttps://downloads.mariadb.com/MariaDB/mariadb_repo_setup
$chmod+x mariadb\u回购设置
$sudo./mariadb\u repo\u设置
$
$#安装
$sudo yum安装MariaDB服务器

要匹配服务器的区分大小写的名称,也称为
MariaDB服务器
而不是
MariaDB服务器
,必须添加正确的MariaDB服务器repo。因此,您还将拥有最新的Maria DB服务器版本(如果不是有意的,请小心)

对于值得使用官方安装手册的Centos 7版本-更安全、更简单:

$cd~
$sudo yum安装wget
$wgethttps://downloads.mariadb.com/MariaDB/mariadb_repo_setup
$chmod+x mariadb\u回购设置
$sudo./mariadb\u repo\u设置
$
$#安装
$sudo yum安装MariaDB服务器

我修改了.repo文件并执行了上述指令,但出现了相同的错误returns@Hamid运行
sudo yum repolist all | grep mariadb
check mariadb repository state谢谢mariadb enabledI修改了.repo文件并执行了上述说明,但出现了相同的错误returns@Hamid运行
sudo yum repolist all | grepmariadb
检查mariadb存储库状态谢谢mariadb enabled5.5是大约9年前发布的,下一个主要版本是大约7年前发布的。5.5大约9年前发布,下一个主要版本大约7年前发布。寻找更新的东西。