How to install MariaDB

  • Posted on September 5, 2013
  • pmmailAsked by pmmail

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


Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, <br> <br>Steps to install MariaDb. <br>1. go to <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 0xcbcb082a1bb943db <br>sudo add-apt-repository ‘deb 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># <br>deb raring main <br>deb-src raring main <br> <br>Apache and nginx have separate commands on separate distros. which one do you want?