Advertisement
eham2011

CentOS Apache Commands

Aug 18th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Uninstall Apache
  2. sudo yum erase httpd httpd-tools apr apr-util
  3. Install Apache
  4. sudo yum install httpd
  5. Start Apache Service
  6. sudo systemctl start httpd.service
  7. Start Apache At Boot
  8. sudo systemctl enable httpd.service
  9.  
  10. https://www.digitalocean.com/community/tutorials/how-to-move-an-apache-web-root-to-a-new-location-on-ubuntu-16-04
  11. https://askubuntu.com/questions/337874/change-apache-document-root-folder-to-secondary-hard-drive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement