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!

Install ‘screen’

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

On debian:

apt-get install screen

On Centos:

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.

rpm --import
rpm --import

[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

apt-get update

Enable bash-completion

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


comments powered by Disqus