Migrating from Centos to Debian

Little introduction

Frustrated as most of you, who has been with CentOS for many years, I have decided to head to Debian. This page will contain multiple useful commands and tips, that I had to learn and adopt during exploring and migrating to Debian.

 

init.d scripts

On CentOS we used to have startup scripts in /etc/init.d folder and were using chkconfig to enable or disable these script for different runtime levels. It does not work on Debian. Instead install and use sysv-rc-conf command

apt-get install sysv-rc-conf
sysv-rc-conf