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 nginx | |
sudo apt-get install -y nginx-extras | |
# install generator | |
sudo apt install certbot python3-certbot-nginx |
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
# 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 |