Created
January 31, 2023 00:14
-
-
Save gabriellopesdesouza2002/ead5f016ffa4b22c7758e48c5ca4541c to your computer and use it in GitHub Desktop.
cloud treinamentos EC2
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 | |
sudo apt-get update -y | |
sudo apt-get install apache2 php7.4 libapache2-mod-php7.4 php7.4-common php7.4-curl php7.4-intl php7.4-mbstring php7.4-json php7.4-xmlrpc php7.4-soap php7.4-mysql php7.4-gd php7.4-xml php7.4-cli php7.4-zip wget mysql-client unzip git binutils ruby -y | |
sudo systemctl start apache2 | |
sudo systemctl enable apache2 | |
sudo systemctl restart apache2 | |
sudo wget https://s3.sa-east-1.amazonaws.com/pages.cloudtreinamentos.com/aws/MCU2.zip | |
sudo unzip -o MCU2.zip -d /var/www/html/ | |
sudo rm /var/www/html/index.html | |
sudo chmod -R 777 /var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment