Created
April 18, 2014 08:19
-
-
Save tamboer/11031229 to your computer and use it in GitHub Desktop.
LAMP things to do after installation
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
| After the lamp server installation you will need write permissions to the /var/www directory. Follow these steps to configure permissions. | |
| Add your user to the www-data group | |
| sudo usermod -a -G www-data <your user name> | |
| now add the /var/www folder to the www-data group | |
| sudo chgrp -R www-data /var/www | |
| now give write permissions to the www-data group | |
| sudo chmod -R g+w /var/www | |
| now log out and log back in to see the changes reflected in nautilus. | |
| Some extra things to install | |
| The following are not essential but they are things I almost always need as part of a LAMP install so I have included instructions on installing them. | |
| Curl: | |
| sudo apt-get install php5-curl | |
| Mod rewrite: | |
| sudo a2enmod rewrite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment