daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/*.conf
  2.    
  3. sudo service apache2 reload
  4. sudo service apache2 restart
  5.    
  6. sudo chown -R www-data:www-data /var/www/html
  7. sudo chmod -R 755 /var/www/html
  8. sudo service apache2 restart
  9.    
  10. sudo ufw allow 80
  11. #for HTTPS use 443 instead of 80
  12.    
  13. sudo apt-get remove --purge apache2
  14. sudo apt-get install apache2
  15.    
  16. 127.0.0.1       localhost
  17. 127.0.3.1       wpfa.dev
  18. # The following lines are desirable for IPv6 capable hosts
  19. ::1     ip6-localhost ip6-loopback
  20. fe00::0 ip6-localnet
  21. ff00::0 ip6-mcastprefix
  22. ff02::1 ip6-allnodes
  23. ff02::2 ip6-allrouters
  24.    
  25. sudo service apache2 start
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top