Ubuntu

How to Install Percona Database Server on Ubuntu 20.04

Introduction

Percona is part of the MySQL Server. It is very compatible and can replace Oracle MySQL. Percona Server is a useful option for thousands of businesses. Because it boosts performance, instrumentation, and scalability for their workloads.

It is compatible with cloud services like Google Cloud, Azure… And we will show you how to install Percona Database Server on Ubuntu 20.04 as you go through it below.

Step 1 – Updating the packages

Run the apt command to update:

$ sudo apt update

Output:

Then install other required dependencies:

$ sudo apt install wget unzip gnupg2 -y

Output:

Step 2 – Adding Percona Repository

Percona is not available in Ubuntu’s repositories. So you must install it in the system.

Firstly, download the Percona release deb file:

$ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb

Output:

Then install the downloaded file:

$ sudo dpkg -i percona-release_latest.focal_all.deb

Output:

Step 3 – Installing Percona Server

Run:

$ sudo percona-release setup ps80

Output:

Then run:

$ sudo apt install percona-server-server

Output:

Press Ok to next.

Enter password and press Ok.

Press Enter.

Press Enter and the installation is done.

Conclusion

Hope you understood the tutorial on how to install Percona Database Server on Ubuntu 20.04.

Thanks for reading!

Similar Posts