Report this

What is the reason for this report?

How to install MariaDB

Posted on September 5, 2013

Can you guys write a tutorial on how to install MariaDB with nginx and Apache?

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, <br> <br>Steps to install MariaDb. <br>1. go to https://downloads.mariadb.org/mariadb/repositories/ <br>2. Answer 3 simple questions like Choose a Distro, Choose a Release & Choose a Version <br>3. it gives you details about the commands to be executed on machine. <br> <br>I choose ubuntu 13, mariadb 5.5 <br>============================== <br>Here are the commands to run to add MariaDB to your Ubuntu system: <br> <br>sudo apt-get install software-properties-common <br>sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db <br>sudo add-apt-repository ‘deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu raring main’ <br>Once the key is imported and the repository added you can install MariaDB with: <br> <br>sudo apt-get update <br>sudo apt-get install mariadb-server <br>See Installing MariaDB .deb Files for more information. <br> <br>You can also create a custom MariaDB sources.list file. To do so, copy and paste the following into a file under /etc/apt/sources.list.d/(we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.list file. <br> <br># MariaDB 5.5 repository list - created 2013-09-05 03:21 UTC <br># http://mariadb.org/mariadb/repositories/ <br>deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu raring main <br>deb-src http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu raring main <br> <br>Apache and nginx have separate commands on separate distros. which one do you want?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.