Major changes in RHEL7 and RHEL6 |
|
RHEL7 |
RHEL6 |
File system |
Xfs |
EXT4 |
Kernel version |
3.10.x-x Series |
2.6.x-x Series |
Kernel name |
Maipo |
Santiago |
Release time |
2014-06-09 (3.10.0-123) |
2010-11-09 (2.6.32-71) |
Process Name |
Systemd |
Init |
Run level |
Runlevel0.target->poweroff.target Runlevel1.target->rescue.target Runlevel2.target->multi-user.target Runlevel3.target->multi-user.target Runlevel4.target->multi-user.target Runlevel5.target->graphical.target Runlevel6.target->reboot.target /etc/systemd/system/default.target |
Runlevel0 Runlevel1 Runlevel2 Runlevel3 Runlevel4 Runlevel5 Runlevel6 /etc/inittab |
Host Name |
/etc/hostname |
/etc/sysconfig/network |
Maximum file |
500TB |
16TB |
Inspection Tools |
Xfs.repair |
E2fsck |
Start tool |
GRUB2 |
GRUB0.97 |
Service startup |
Systemd |
Upstart |
Service Management |
Systemctl Enable Xxx.service Systemctl Start Xxx.service Systemctl Stop Xxx.service Systemctl Restart Xxx.service Compatible Chkconfig,service commands |
Service Enable Xxx.service Service Stop Xxx.service Service Start Xxx.service Chkconfig--level 3 5 NFS on |
Firewall |
FIREWALLD compatible iptables |
Iptables |
Network bindings |
Team Driver |
Bonding |
Network time |
Chrony,ntpd |
Ntpd |
NFS Version |
NFS4.1 supports nfsv3,nfsv4.0,nfsv4.1 clients |
NFS4 |
Cluster Management tools |
Pacemaker |
Rgmanager |
Load Balancing Tools |
Keepalived,haproxy |
Rgmanager |
Desktop environment |
gnome3,kde4.10 |
GNOME2 |
Database |
MariaDB |
Mysql |
Changes in management commands and configuration files for RHEL7 and RHEL6 |
Subscription information |
RHEL7 |
RHEL6
|
Subscription Information tool |
Subscription-manager identity |
/etc/sysconfig/rhn/systemid Subscription-manager identity |
Configure subscription information |
Subscription-manager Rhn_register |
Rhn_register Rhnreg_ks Subscription-manager Identity |
Basic Configuration |
RHEL7 |
RHEL6 |
GUI Configuration Tool |
Gnome-control-center |
system-config-* |
Network Configuration Tool |
NMCLI Nmtui Nm-connection-editor |
System-config-network |
Language Configuration Tool |
Localectl |
System-config-language |
Time Configuration Tool |
Timedatectl Date |
System-config-date Date |
Time synchronization |
Ntpdate/etc/chrony.conf |
Ntpdate/etc/ntp.conf |
Keyboard configuration |
Localectl |
System-config-keyboard |
Service Management |
RHEL7 |
RHEL6 |
Service List |
Systemctl-at Service LS/{usr/lib,etc}/systemd/system/*.service |
Chkconfig ls/etc/init.d/ |
Service startup |
Systemctl Start Name.service |
Service Name Start |
Service stopped |
Systemctl Stop Name.service |
Service Name Stop |
Service View |
Systemctl Status Name.service |
Service Name Status |
Service restart |
Systemctl Restart Name.service |
Service Name Restart |
Service Boot Start |
Systemctl Enable Name.service |
Chkconfig name on |
Service boot not self-starter |
Systemctl Disable Name.service |
Chkconfig name off |
Add Service |
Systemctl Daemon-reload |
Achkconfig--add |
Service List View |
SYSTEMCTL-T Service--state=active |
Service--status-all |
View Run Level |
Systemctl Get-default |
RunLevel |
Modifying the Run Level |
Systemctl Isolate Name.target Init runlevel |
Init runlevel |
Log file |
/etc/rsyslog.conf /etc/rsyslog.d/*.conf /var/log/journal/ /etc/systemd/journald.conf |
/etc/rsyslog.conf |
viewing log files |
/var/log/ |
/var/log/journalctl |
Kernel hardware |
RHEL7 |
RHEL6 |
Start prompt |
Append rd.break or Init=/bin/bash to kernel cmdline |
Append 1 or S or Init=/bin/bash to kernel cmdline |
Shutting down the system |
Systemctl shutdown |
Shutdown |
Power off |
Systemctl Poweroff |
Poweroff |
Suspend system |
Systemctl Halt |
Halt |
Rebooting the system |
Systemctl reboot |
Reboot |
Modifying the Run Level |
Systemctl Set-default |
/etc/inittab |
Configuring GRUB |
/etc/default/grub Grub2-mkconfig Grub-set-default |
/boot/grub/grub.conf |
Software Management |
RHEL7 |
RHEL6 |
Install packages |
Yum Install Yum Group Install |
Yum Install Yum Groupinstall |
View Packages |
Yum Info Yum Group Info |
Yum Info Yum GroupInfo |
File system |
RHEL7 |
RHEL6 |
Creating a file system |
Fdisk parted Gdisk |
Fdisk parted |
LVM Management |
Vgextend Lvextend Xfs_growfs |
Vgextend Lvextend RESIZE2FS |
Network Interface Configuration |
RHEL7 |
RHEL6 |
Configuration name |
/etc/hosts /etc/resolv.conf NMCLI Conmod |
/etc/hosts /etc/resolv.conf |
Host name Configuration |
/etc/hostname Hostnamectl Nmcli |
/etc/sysconfig/network |
IP address configuration |
IP addr NMCLI Dev Show Teamdctl Brctl Bridge |
IP add Ifconfig Brctl |
Configuring firewalls |
Firewall-cmd Firewall-config |
Iptables&ip6tables /etc/sysconfig/ip*tables System-config-firewall |
View Port Commands |
Ss Lsof |
Netstat Ss Lsof |