Install Percona Server On Ubuntu Linux

Install Percona Server on Ubuntu Linux

Percona Server is the  replacement for MySQL with  sophisticated features, that we already saw in our ” Introduction to Percona Server ” post . Now we are going to see the installation steps of percona server in ubuntu linux .

Before starting to install the Percona Server , we need to remove the MySQL packages from the server.

Percona DB

$ apt-get remove mysql-server*

After removing the mysql from the server follow the below steps to install percona server on your machine .

Step 1:  Run the below command

$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
$  gpg -a --export CD2EFD2A | sudo apt-key add -

Step 2 : Enter the source link in the /etc/apt/sources.list file

$  vim /etc/apt/sources.list

deb http://repo.percona.com/apt lucid main
deb-src http://repo.percona.com/apt lucid main
:wq

Step 3: Update the repository  source list in your server

 $ apt-get update

Step 4: Now Install the percona-server using the below command

 $ apt-get install percona-server-server-5.5

This will install the percona server packages on your ubuntu linux serevr .

After Installing the Percona server start the mysql service.

  $ /etc/init.d/mysql restart

Combined with the percona server package , the repository also provided the other percona software’s like  Percona XtraDB Cluster , Percona XtraBackup ,  Percona Toolkit etc .,




Leave a Reply

Your email address will not be published. Required fields are marked *