Here are some steps I always perform when installing a new server… Some of these steps apply for every new server I install, some are CentOS specific, but believe me, these steps will help you!
Screen is a kind of console based window manager. It allows you to run several virtual shells within one ssh connection. It also allows you to detach a session enabling you to log out of the server without losing any running jobs and reattach to the session later when you log back in to the server. Wikipedia
apt-get install screen
yum install screen
[centos-only] Add dag’s repositories!
Dag’s repositories provide you with a lot of addon software for your RHEL/CentOS based server. These are the steps to install them on a RHEL5 / Centos5 system.
wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[centos-only] Install apt-get!
Apt-get on CentOS exists! And works! And is faster then yum! And nice to work with… Please! Try it out :x
yum check-update yum install apt vi /etc/apt/sources.list.d/os.list
Edit this file to include the needed repositories
Who can live without?
Install bash-completion (skip this on a standard debian-system)
apt-get/yum install bash-completion
Edit the file /etc/bashrc or /etc/bash.bashrc to include the following:
# enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi