Difference Between Red Hat Enterprise Linux 6 and 7

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Difference

Page | 1
Between Red Hat Enterprise Linux 6
and 7
2017-01-05 Gaurav Kumar Others Leave a comment

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.
Task RHEL6 RHEL7
No.
1 Boot loader GRUB GRUB2
2 Filesystem type ext4 xfs
Overall maximum
3 ext4 file system size is 1 EB xfs Max volume size is 16 EB
file system size
iptables & ip6tables,
4 Configure firewall /etc/sysconfig/ip*tables, system- firewall-cmd, firewall-config
config-firewall
/bin, /sbin, /lib and /lib64 are
/bin, /sbin, /lib and /lib64 separate
5 Directories now all under the /usr
directories
directory
Network interfaces
6 eth0 enp0s3
name
Desktop
7 GNOME2 GNOME3
environment
8 Database used MySQL Mariadb
iSCSI Storage
9 tgtd targetcli
resource
High Availability
10 RGManager Pacemaker
Cluster
11 UID range 0-499 0-999
12 Release date 09-Nov-2010 09-Jun-2014
13 Network statistics netstat ss
Page | 2

Bypass root append rd.break or


append 1 or s or init=/bin/bash to
14 password prompt init=/bin/bash to kernel
kernel cmdline
at boot cmdline
Configure default
15 /etc/inittab systemctl set-default
runlevel/target
Configure GRUB /etc/default/grub, grub2-
16 /boot/grub/grub.conf
bootloader mkconfig, grub2-set-default
Processor
17 It support 32bit & 64bit Support Only 64bit
Architecture
18 Kernal Version 2.6.32-71 3.0.10-123

Basic Configuration

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

Jobs and Services

Sr.
Task RHEL6 RHEL7
no.
List all chkconfig, ls systemctl -at service, ls /
1
services /etc/init.d/ {usr/lib,etc}/systemd/system/*.service
Page | 3

2 View logs /var/log/ /var/log/, journalctl


Configure /etc/rsyslog.conf, /etc/rsyslog.d/*.conf,
3 /etc/rsyslog.conf
logging /var/log/journal/, /etc/systemd/journald.conf
List running
4 service --status-all systemctl -t service --state=active
services
Start/stop a service name start, systemctl start name.service, systemctl stop
5
service service name stop name.service
Enable/disabl chkconfig name on, systemctl enable name.service, systemctl
6
e a service chkconfig name off disable name.service
View service
7 service name status systemctl status name.service
status
Create service
8 chkconfig --add systemctl daemon-reload
file
View
9 runlevel/targe runlevel systemctl get-default
t
Change
10 runlevel/targe init runlevel systemctl isolate name.target, init runlevel
t

Networking

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

You might also like