วันพฤหัสบดีที่ 12 กุมภาพันธ์ พ.ศ. 2558

Install MariaDB in Ubuntu 12.04/12.10/13.10

Install MariaDB

First need to enable MariaDB repository.
Here are the commands to run to add MariaDB to your system:
# sudo apt-get install python-software-properties
# sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

Add MariaDB repository to Ubuntu 12.04

# sudo add-apt-repository 'deb http://mirror.klaus-uwe.me/mariadb/repo/5.5/ubuntu precise main'

http://lintut.com/install-mariadb-in-ubuntu-linux/

Add MariaDB repository to Ubuntu 12.10

# sudo add-apt-repository 'deb http://mirror.klaus-uwe.me/mariadb/repo/5.5/ubuntu quantal main'

Add MariaDB repository to Ubuntu 13.10

# sudo add-apt-repository 'deb http://mirror.klaus-uwe.me/mariadb/repo/5.5/ubuntu saucy main'
Once the key is imported and the repository added you can install MariaDBwith:
# sudo apt-get update
# sudo apt-get install mariadb-server
While installing MariaDB using above command installer will prompt for MariaDB root account password twice like below snapshot.

Set MariaDB root password
Set MariaDB root password

Starting MariaDB

After complite installation process, start MariaDB width following command:
# sudo service mysql start

ไม่มีความคิดเห็น:

แสดงความคิดเห็น