Last active
July 30, 2022 16:05
-
-
Save marcosbarker/23e64f88001ecc0b4d00bdc465f58c37 to your computer and use it in GitHub Desktop.
🐧IaC modelo de provisionamento de servidor web (🪶Apache)
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 "***_Atualizando o Servidor_***" | |
apt-get update | |
apt-get upgrade -y | |
echo "***_Instalando Servidor Apache_**" | |
apt-get install apache2 -y | |
echo "***_Instalando unzip_***" | |
apt-get install unzip -y | |
cd /tmp | |
echo "***_Baixando Repositorio_***" | |
wget https://github.com/marcosbarker/PAV-FAETERJ/archive/refs/heads/sus-agendamento.zip | |
echo "***_Descompactando Arquivos_***" | |
unzip sus-agendamento.zip | |
cd PAV-FAETERJ | |
echo "***_Copiando Arquivos Pagina Web Para Psata Padrao_***" | |
cp -R * /var/www/html/ | |
echo "***_Script =^.^= Finalizado_***" | |
echo " \ /\ " | |
echo " ) ( ') " | |
echo " ( / ) " | |
echo " \(__)| " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment