This file contains hidden or 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
LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysqlclient |
This file contains hidden or 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
#!/bin/bash | |
echo 'Nginx install script ubuntu' | |
if hash nginx 2>/dev/null; then | |
echo 'has nginx' | |
else | |
sudo apt update -y && | |
sudo apt install curl gnupg2 ca-certificates lsb-release -y && | |
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \ | |
| sudo tee /etc/apt/sources.list.d/nginx.list && | |
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - && |
This file contains hidden or 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
#!/bin/bash | |
echo 'Nginx install script ubuntu' | |
if hash nginx 2>/dev/null; then | |
echo 'has nginx' | |
else | |
sudo apt update -y && | |
sudo apt install curl gnupg2 ca-certificates lsb-release -y && | |
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \ | |
| sudo tee /etc/apt/sources.list.d/nginx.list && | |
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - && |
OlderNewer