Home  /  Documentation  /  Cheat Sheets  /  Raspberry Pi Cheat Sheets

Raspberry Pi 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 mariadb-server sudo apt install libmariadb-dev sudo apt install default-libmysqlclient-dev sudo systemctl start mariadb sudo systemctl enable mariadb # On production: sudo mysql_secure_installation # Some basic configuration tweaks: sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf # Add or uncomment 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 mariadb

Node++ include and library paths

Edit $NPP_DIR/src/m

# Include path: export CPATH=/usr/include/mariadb