Cent OS

CentOS is an opensource Linux distribution based on RedHat Enterprise.  Being based on RedHat it is a very stable version of Linux to use as a webserver and as enterprises support security more and more the trickle down effect has grow stronger recently.

Useful commands for Cent OS

Restart Apache – service httpd restart

Add zip/unzip – yum install unzip -y

Change owner for a directory and its contents – chown -R owner_name:ownergroup directory

Important Locations

Apache Virtual Hosts – /etc/httpd/conf.d
Files ending in .conf in this directory are read by apache for recognizing domain names by listening on port 80