MySQL Database

Install MySQL On Ubuntu

MySQL was created by a Swedish company and is a widely used open-source relational database management system for use in web applications.

To start with the install, type the following in a terminal window

sudo apt-get install mysql-server

You will be asked to provide an administrative password for MySQL use and then it will ask you to confirm the password you just entered

After you provide the password, the installation will start

NodeBB Logo

Install NodeBB on Ubuntu

NodeBB is a free mobile first discussion platform with instant notifications. It comes with analytics dashboard, real time chat, built in localization support along with plugins and themes to enhance it even more.


Before we get started, make sure you sign up for a new account through our link and get your $10 credit which is equal to two months of free service on the 1GB plan!


Check your system and make sure you have node installed.

node --version

If it’s not on your system, you can follow the Install Node And Verify Version On Ubuntu guide. Once you are ready, proceed to the next page.

Install MongoDB on Ubuntu devporto

Install MongoDB on Ubuntu

MongoDB is a JSON-like cross-platform document-oriented database with dynamic schemas which MongoDB calls BSON.

Before we can type in the commands listed, we will need to open a terminal window

Click on the Ubuntu icon on the upper left and then type terminal to search for it. You can then launch it by clicking on it.

Accessing Ubuntu Terminal

Import the public key used by the package management system

Ubuntu 14.04:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

Ubuntu 16.04:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5

Create a list file for MongoDB

Ubuntu 14.04:

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

Ubuntu 16.04:

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

Once that completes …