How to Install Percona on Ubuntu 18.04 Bionic Beaver

Install Percona on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Percona on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Percona Server for MySQL is a fork of the MySQL relational database management system created by Percona. It is a free open source replacement for MySQL community database server with enterprise features, stability and support.

Install Percona on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

Step 2. Install Percona.

First, add the official Percona Apt repo here:

Once the repository file is downloaded, install it with the dpkg command:

You should get a message below when done:

Next, Install Percona for MySQL:

Step 3. Securing Percona.

After installation, we have to improve Percona security by typing following:

Then enter yes/y to the following security questions:

To connect to the Percona server through the terminal we can use the Percona client. To log in to the Percona server as the root user type:

Step 4. Install Percona Toolkit on Ubuntu.

Finally, update your local apt cache and install Percona Toolkit:

That’s all you need to do to install Percona on Ubuntu 18.04 Bionic Beaver. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.