Skip to content

Instantly share code, notes, and snippets.

@RodolVelasco
Created April 5, 2019 20:21
Show Gist options
  • Save RodolVelasco/197be11db2b2166fe0346faf2ec865b5 to your computer and use it in GitHub Desktop.
Save RodolVelasco/197be11db2b2166fe0346faf2ec865b5 to your computer and use it in GitHub Desktop.
AWS Cloud 9 Ubuntu 18 Env Prep
AWS Cloud 9 Environment prep
@RodolVelasco
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment