I've been on Ubuntu Server for the past several (5-ish) years, but I am seeing a lot of jobs that are looking for RHEL or CentOS experience.
What differences, aside from package managers (dpkg/apt/.debs vs yum/.rpms) do I need to be aware of if I were to walk into a RHEL/CentOS/Fedora environment?
upstart
.sudo
and disables root account by default. RHEL has traditional root account (and SELinux roles, if you want)./etc/network/interfaces
, in RHEL you modify/etc/sysconfig/network-scripts
directory./etc/default
directory for many daemons, RHEL has/etc/sysconfig
.The difference I have noticed most, based on SF questions is that the apache webserver package is called httpd, instead of apache2. Related to that, /etc/sysconfig/httpd controls the worker module. Furthermore, there is no sites-avaiable and sites-enabled directories.
I put my configs in /etc/httpd/conf.d/*.conf, typically named after the site I'm configuring.
(Disclaimer: this is based on what I've seen on old versions of SUSE and Slackware; all the Linux systems I'm maintaining at the moment run Ubuntu.)
Ubuntu uses a variation of the Debian superuser protocol; Red Hat-based distros (AFAIK) still have a root user and root password.
Service control scripts are
probably going to be instill in/etc/rc.d
instead of/etc/init.d
, but you probably won't find an Upstart daemon.Log locations are variable even within different releases of the same distribution, so I can't offer any advice there.