Posted by: Hartoto | 04/11/2016

Instalasi MariaDB Pada Server Centos

Menurut literatur, MariaDB memiliki sejumlah kelebihan ketimbang pendahulunya MysQl. Berikut ini panduan instalasi MariaDB, silakan disimak:

1.Tambahkan repository mariaDB ke dalam repository list

#vi /etc/yum.repos.d/mariadb.repo
‘ tambahkan kode di bawah ini
# MariaDB 10.1 CentOS repository list – created 2016-02-22 06:35 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-x86
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

instalasi-mariadb-1         # yum –enablerepo=mariadb -y install MariaDB-server

instalasi-mariadb-2

# vi /etc/my.cnf.d/server.cnf
[server]
‘tambahkan kode di bawah ini
character-set-server=utf8

instalasi-mariadb-3

‘aktifkan MariaDB
# /etc/rc.d/init.d/mysql start
‘ aktifkan MariaDB di startup OS
# chkconfig mysql on

instalasi-mariadb-4

# mysql_secure_installation

instalasi-mariadb-5

Masukkan password

instalasi-mariadb-11

Remove anonymous user

instalasi-mariadb-6

Disable remote phpmyadmin

instalasi-mariadb-8

Hapus test database

instalasi-mariadb-7

Reload database

instalasi-mariadb-9

Instlasi sukses

instalasi-mariadb-10

 

 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: