Check Space Usage on Linux Server

Quick Overview Quickly check the used vs free space on your server. Sample Result Find Largest Files/Folders Quickly hunt down your biggest space suckers by using this to find your 10 largest files and folders (change 10 to the number of your choice). Sample Result Tip: try changing -hxa to -hxs to “summarize” the results […]

Setup Fresh CentOS Linux Web Server

Create User Create New SSH User and add to Sudoers File This will create the user, setup the password and open up the sudoers file for editing. Add your new user below the line where the “root” user is defined. Setup Public/Private Key Pair This is optional, but is a good idea. @see http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc Add […]

How to Setup a LAMP Stack on CentOS

For the purpose of this tutorial, we will use yourdomain.tdl as our domain.  Anytime you see something like {yourdomain.tdl} or anything similar enclosed in curly braces, please replace with the text specific for your setup. Install Apache Server on CentOS Install [code]yum install httpd[/code] Set to startup Apache on boot [code]chkconfig –levels 235 httpd on[/code] […]