Created
April 5, 2019 20:21
-
-
Save RodolVelasco/197be11db2b2166fe0346faf2ec865b5 to your computer and use it in GitHub Desktop.
AWS Cloud 9 Ubuntu 18 Env Prep
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
AWS Cloud 9 Environment prep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dar permisos en IAM. Crear grupo, usuarios y asignar permisos
Crear usuario y obtener sus accesos
sudo apt-get update
Instalar apache2
sudo apt-get install apache2
sudo service apache2 start
Firewall de ubuntu
sudo ufw status
sudo ufw enable
sudo ufw app info "Apache Full"
Installing MySQL
root/admin (son las credenciales que tiene por defecto. Además la DB está vacía.)
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo apt-get install php-xml
Modificar archivo /etc/apache2/apache2.conf para apuntar al nuevo DocumentRoot /home/ubuntu/environment
Agregar permisos al usuario apache y ubuntu en el archivo /etc/groups/ para correr de manera adecuada las aplicaciones