Last active
December 27, 2017 22:07
-
-
Save pjmazenot/c87e4d466b27ebff2f0f8ab602fbae1c to your computer and use it in GitHub Desktop.
Install Percona Server on Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Install Percona Server on Ubuntu 14.04 (run as sudo) | |
# | |
# Official guide: | |
# https://www.percona.com/doc/percona-server/LATEST/installation/apt_repo.html | |
# Add MySQL 5.7 repo since it's not present by default | |
wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb | |
dpkg -i mysql-apt-config_0.6.0-1_all.deb | |
# Add Percona repo and update apt | |
wget https://repo.percona.com/apt/percona-release_0.1-5.$(lsb_release -sc)_all.deb | |
dpkg -i percona-release_0.1-5.$(lsb_release -sc)_all.deb | |
apt-get update | |
# Alternative (WIP) | |
# https://www.percona.com/downloads/Percona-Server-LATEST/ | |
#wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-5.7.20-18/binary/debian/trusty/x86_64/percona-server-common-5.7_5.7.20-18-1.trusty_amd64.deb | |
#dpkg -i percona-server-common-5.7_5.7.20-18-1.trusty_amd64.deb | |
#apt-get install -y percona-server-common-5.7 | |
#wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-5.7.20-18/binary/debian/trusty/x86_64/percona-server-client-5.7_5.7.20-18-1.trusty_amd64.deb | |
# | |
# Install Percona Server | |
# The MySQL root password will be asked during the installation | |
apt-get install -y percona-server-server-5.7 | |
# Percona Server is started automatically after installation so we check the status | |
service mysql status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment