Skip to content

Instantly share code, notes, and snippets.

# Ubuntu installation
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
# Mac installation
brew install mysql
brew install openssl
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
# mac m1 additional command
gem install mysql2 -v '0.5.3' -- --with-opt-dir=$(brew --prefix openssl) --with-ldflags=-L/opt/homebrew/Cellar/zstd/1.5.0/lib
@rorens05
rorens05 / ssl-installation.sh
Last active February 15, 2023 04:44
NGINX Setup and SSL Installation
# install nginx
sudo apt-get install -y nginx-extras
# install generator
sudo apt install certbot python3-certbot-nginx