Home  /  Documentation  /  Cheat Sheets  /  Ubuntu Cheat Sheets

Ubuntu Cheat Sheets

Install GCC

sudo apt install g++

Install zlib

sudo apt install libz-dev

Install OpenSSL

sudo apt install libssl-dev

Install MySQL

sudo apt install mysql-server sudo apt install libmysqlclient-dev sudo systemctl start mysql sudo systemctl enable mysql # On production: sudo mysql_secure_installation # Some basic configuration tweaks: sudo vi /etc/my.cnf # Add in the [mysqld] section: wait_timeout=31536000 # (to prevent disconnecting after inactivity) max_allowed_packet=16M # (to allow bigger packets between app and server) sudo systemctl restart mysql