Install apache2 server and make permission to the folder /var/www. 1. install apache2 sudo apt-get install apache2 2. create your group sudo addgroup (your group name) 3. add your user to the group sudo adduser (user) (group) 4. change the group for the folder /var/www sudo chgrp (your group) /var/www 5. change permission to the folder /var/www sudo chmod –R 775 /var/www sudo chmod g+s /var/www now we can able to edit the folder /var/www