Skip to content

Instantly share code, notes, and snippets.

@0nay
Last active August 29, 2015 14:07
Show Gist options
  • Save 0nay/a368b1d6e2ae211c107e to your computer and use it in GitHub Desktop.
Save 0nay/a368b1d6e2ae211c107e to your computer and use it in GitHub Desktop.
[root@db1 ~]# cd /etc/yum.repos.d/
[root@db1 yum.repos.d]# cat > mariadb.repo
# MariaDB 5.5 CentOS repository list - created 2014-09-28 15:56 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
#NOTE: Tekan <CTRL + D> Untuk menyimpan file
[root@db1 yum.repos.d]#
[root@db1 yum.repos.d]#
[root@db1 yum.repos.d]#
[root@db1 yum.repos.d]# ll mariadb.repo
-rw-r--r-- 1 root root 249 Sep 28 23:09 mariadb.repo
[root@db1 yum.repos.d]# cat mariadb.repo
# MariaDB 5.5 CentOS repository list - created 2014-09-28 15:56 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
[root@db1 yum.repos.d]#
[root@db1 yum.repos.d]# yum search mariadb
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.smartmedia.net.id
* elrepo: mirrors.thzhost.com
* extras: mirror.smartmedia.net.id
* updates: mirror.smartmedia.net.id
base | 3.7 kB 00:00
elrepo | 2.9 kB 00:00
elrepo/primary_db | 696 kB 00:02
extras | 3.3 kB 00:00
mariadb | 1.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 5.3 MB 00:26
============================= N/S Matched: mariadb =============================
MariaDB-Galera-server.x86_64 : MariaDB: a very fast and robust SQL database
: server
MariaDB-Galera-test.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-client.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-common.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-compat.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-devel.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-server.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-shared.x86_64 : MariaDB: a very fast and robust SQL database server
MariaDB-test.x86_64 : MariaDB: a very fast and robust SQL database server
Name and summary matches only, use "search all" for everything.
[root@db1 yum.repos.d]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment