Difference between revisions of "Percona: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Percona memanage repo-nya sendiri. Kemungkinan besar tidak ada di distribusi Ubuntu / Debian anda. kita perlu menambahkan secara manual ke repo kita. Untuk Debian dan Ubuntu, kita perlu m...) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | Ambil repo percona terakhir | |
− | + | sudo apt update | |
+ | sudo apt -y install wget | ||
+ | wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb | ||
+ | sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb | ||
− | + | Install | |
− | + | sudo percona-release setup ps57 | |
+ | sudo apt -y install percona-server-server-5.7 | ||
− | + | Ubah sedikit config | |
− | |||
− | |||
− | |||
− | |||
+ | sudo vi /etc/mysql/percona-server.conf.d/mysqld.cnf | ||
− | + | [mysqld] | |
− | + | max_allowed_packet=32M | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 08:32, 13 July 2020
Ambil repo percona terakhir
sudo apt update sudo apt -y install wget wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
Install
sudo percona-release setup ps57 sudo apt -y install percona-server-server-5.7
Ubah sedikit config
sudo vi /etc/mysql/percona-server.conf.d/mysqld.cnf
[mysqld] max_allowed_packet=32M