Skip to content

Instantly share code, notes, and snippets.

@biswarupadhikari
Created December 5, 2012 06:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biswarupadhikari/4213130 to your computer and use it in GitHub Desktop.
Save biswarupadhikari/4213130 to your computer and use it in GitHub Desktop.
LAMP /var/www/ Permission Setup Ubuntu Localhost
let say your username is adidac
$ sudo add user adidac www-data
$ sudo chown -R www-data:www-data /var/www/
$ sudo chmod -R g+rw /var/www/
@biswarupadhikari
Copy link
Author

$ sudo adduser adidac www-data
$ sudo chown -R www-data:www-data /var/www/
$ sudo chmod -R g+rw /var/www/

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