Check Space Usage on Linux Server

Quick Overview Quickly check the used vs free space on your server. Sample Result Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_centos64-lv_root 37G 19G 16G 56% / tmpfs 939M 0 939M 0% /dev/shm /dev/sda1 485M 52M 408M 12% /boot Find Largest Files/Folders Quickly hunt down your biggest space suckers by using this to find your […]

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 Set to startup Apache on boot Open this configuration file /etc/httpd/conf/httpd.conf, uncomment the following […]