Skip to content

Instantly share code, notes, and snippets.

@llipe
Created May 27, 2018 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llipe/caeae2c2ac5023609473e5b55433ebde to your computer and use it in GitHub Desktop.
Save llipe/caeae2c2ac5023609473e5b55433ebde to your computer and use it in GitHub Desktop.
Estrucutura para crear usuarios, permisos y directorios para configurar apache y sitios web
# Estrucutura para crear usuarios, permisos y directorios para configurar apache y sitios web en Ubuntu
sudo usermod -a -G www-data ubuntu
cd $HOME
mkdir public_html
sudo chgrp www-data public_html/
# Reemplazar dominio
sudo chmod 2750 /home/ubuntu/public_html/
mkdir -p public_html/llipe.com/{public,log}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment