Created
February 26, 2024 11:05
-
-
Save dalthonmh/b8658c07849b5e6784fd1ab57f86771e to your computer and use it in GitHub Desktop.
Bash to install nginx in linux server
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
#!/bin/bash | |
# Programa para instalar nginx en un servidor linux | |
# Autor: Dalthon [email protected] | |
echo "Instalando nginx" | |
sudo apt update | |
sudo apt install nginx -y | |
sudo systemctl restart nginx | |
sudo systemctl enable nginx | |
echo "DONE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment