Difference Between Red Hat Enterprise Linux 6 and 7

In this short article we will see the difference between RHEL6 and RHEL7. On both version there are a number of changes on tools, commands, and workflows. The changes between RHEL6 & RHEL7 are listed here;

Common Administrative Tasks

Sr. No. Task RHEL6 RHEL7
1 Boot loader GRUB GRUB2
2 Filesystem type ext4 xfs
3 Overall maximum file system size ext4 file system size is 1 EB xfs Max volume size is 16 EB
4 Configure firewall iptables & ip6tables, /etc/sysconfig/ip*tables, system-config-firewall firewall-cmd, firewall-config
5 Directories /bin, /sbin, /lib and /lib64 separate directories /bin, /sbin, /lib and /lib64 are now all under the /usr directory
6 Network interfaces name eth0 enp0s3
7 Desktop environment GNOME2 GNOME3
8 Database used MySQL Mariadb
9 iSCSI Storage resource tgtd targetcli
10 High Availability Cluster RGManager Pacemaker
11 UID range 0-499 0-999
12 Release date 09-Nov-2010 09-Jun-2014
13 Network statistics netstat ss
14 Bypass root password prompt at boot append 1 or s or init=/bin/bash to kernel cmdline append rd.break or init=/bin/bash to kernel cmdline
15 Configure default runlevel/target /etc/inittab systemctl set-default
16 Configure GRUB bootloader /boot/grub/grub.conf /etc/default/grub, grub2-mkconfig, grub2-set-default
17 Processor Architecture It support 32bit & 64bit Support Only 64bit
18 Kernal Version 2.6.32-71 3.0.10-123

Basic Configuration

Sr. no. Task RHEL6 RHEL7
1 Graphical configuration tools system-config-* (e.g system-config-network) gnome-control-center
2 Configure network system-config-network nmcli, nmtui, nm-connection-editor
3 Configure system language system-config-language localectl
4 Configure system time and date system-config-date, date timedatectl, date
5 Synchronize time and date ntpdate, /etc/ntp.conf ntpdate, /etc/chrony.conf
6 Configure keyboard system-config-keyboard localectl

Jobs and Services

Sr. no. Task RHEL6 RHEL7
1 List all services chkconfig, ls /etc/init.d/ systemctl -at service, ls /{usr/lib,etc}/systemd/system/*.service
2 View logs /var/log/ /var/log/, journalctl
3 Configure logging /etc/rsyslog.conf /etc/rsyslog.conf, /etc/rsyslog.d/*.conf, /var/log/journal/, /etc/systemd/journald.conf
4 List running services service --status-all systemctl -t service --state=active
5 Start/stop a service service name start, service name stop systemctl start name.service, systemctl stop name.service
6 Enable/disable a service chkconfig name on, chkconfig name off systemctl enable name.service, systemctl disable name.service
7 View service status service name status systemctl status name.service
8 Create service file chkconfig --add systemctl daemon-reload
9 View runlevel/target runlevel systemctl get-default
10 Change runlevel/target init runlevel systemctl isolate name.target, init runlevel


Sr. no. Task RHEL6 RHEL7
1 Configure name resolution /etc/hosts, /etc/resolv.conf /etc/hosts, /etc/resolv.conf, nmcli con mod
2 Configure hostname /etc/sysconfig/network /etc/hostname, hostnamectl, nmtui
3 Configure network interface /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-*, nmcli con [add|mod|edit], nmtui, nm-connection-editor


Hope this post will help Linux/Unix beginners. Please share you feedback and Comments.!!!!

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of