MARIADB 在 OPENSUSE 的安装。

1、MARIADB  在 OPENSUSE  的安装或者升级  (参考 Setting up MariaDB Repositories )

      OPENSUSE 从 12.3 版本开始,默认带有 MARIADB,但版本较老。下列办法帮助升级MARIADB官方 的最新版本。

 参考:  https://downloads.mariadb.org/mariadb/repositories/#mirror=qiming&distro_release=opensuse13-amd64--opensuse13&distro=openSUSE&version=10.1

 

     To generate the entries select an item from each of the boxes below. Once an item is selected in each box, your customized repository configuration will appear below.

1. Choose a Distro
  • openSUSE
  • Arch Linux
  • Mageia
  • Fedora
  • CentOS
  • RedHat
  • Mint
  • Ubuntu
  • Debian
2. Choose a Release
  • openSUSE 13 (64-bit)
3. Choose a Version(MARIADB)
  • 10.1
  • 10.0
  • 5.5

openSUSE includes MariaDB in their repositories. To install MariaDB, simply issue the following command in a terminal:

zypper install mariadb

We also offer repositories for openSUSE. For openSUSE, copy and paste the following into a file under /etc/zypp/repos.d/ (we suggest naming the file mariadb.repo or something similar).

 

# MariaDB 10.1 openSUSE repository list - created 2016-01-18 04:56 UTC

# http://mariadb.org/mariadb/repositories/

[mariadb]

name = MariaDB

baseurl = http://yum.mariadb.org/10.1/opensuse13-amd64

gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB

gpgcheck=1

 

Once the file is in place, install MariaDB with:

zypper install MariaDB-server MariaDB-client

The first time you install you will be prompted to accept the MariaDB signing key. The id of this key is: 'CBCB082A1BB943DB'. Accept it to continue.

You will also be prompted about a conflict between openSUSE's own MariaDB 5.5 client package and the MariaDB client package. Choose the solution that does not install the mariadb-client-5.5.* package. MariaDB packages from mariadb.org are named like MariaDB-server and MariaDB-client, MariaDB packages in the openSUSE repositories are named like mariadb-server, mariadb-client.

After the installation finishes, start MariaDB with:

sudo service mysql start

 

 

转载于:https://www.cnblogs.com/zengxinle/p/5138921.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值