RHEL 7 Changes and Features

Posted: October 19, 2015 in RHEL 7

Hi All,

This is biggest post of my blog for RHEL 7..Before using RHEL7 ,Why should i use RHEL 7 …you should know below features. In this post i am going to cover .. Whatever changes are there in RHEL7 day by day I will add and update.It is just a beginning… Already I have mention some RHEL 7 in below post.

Lab Setup

I have created RHEL7 & RHEL6 server with same configuration.

RAM :1GB

CPU core :2

HDD :10GB

 

Speed of FS formatting in rhel 7

I have formatted 5GB space on both the RHEL Version

Screenshot_4

Screenshot_5

How Fast Service restarting in rhel7

Screenshot_1

Screenshot_2

 

Bash-completion in RHEL 7

if you install this package it will automatically completed the command when your using tab in the all level or argument

#yum install bash-completion

 

[root@vm28 ~]# system

system-config-abrt              systemd-cat                     systemd-inhibit                 systemd-stdio-bridge

system-config-printer           systemd-cgls                    systemd-loginctl                systemd-sysv-convert

system-config-printer-applet    systemd-cgtop                   systemd-machine-id-setup        systemd-tmpfiles

systemctl                       systemd-coredumpctl             systemd-notify                  systemd-tty-ask-password-agent

systemd-analyze                 systemd-delta                   systemd-nspawn

systemd-ask-password            systemd-detect-virt             systemd-run

 

[root@vm28 ~]# systemctl st

start   status  stop

 

[root@vm28 ~]# systemctl

cancel                 emergency              is-active              list-sockets           reload-or-restart      show-environment

condreload             enable                 is-enabled             list-unit-files        reload-or-try-restart  snapshot

condrestart            exit                   is-failed              list-units             rescue                 start

condstop               force-reload           isolate                mask                   reset-failed           status

daemon-reexec          get-default            kexec                  poweroff               restart                stop

daemon-reload          halt                   kill                   preset                 set-default            suspend

default                help                   link                   reboot                 set-environment        try-restart

delete                 hibernate              list-dependencies      reenable               set-property           unmask

disable                hybrid-sleep           list-jobs              reload                 show                   unset-environment

 

[root@vm28 ~]# systemctl status h

httpd.service       hypervkvpd.service  hypervvssd.service

 

Firewall or iptables in RHEL 7

Disable Firewall (firewalld or iptables)

#firewalls-cmd –state

or

#iptables -L

#systemctl status firewalld

#systemctl stop firewalld

#systemctl disable firewalld

 

(or)

 

#yum install iptables-services

# systemctl status  iptables.service

# iptables -L

# iptables -F

# systemctl stop iptables.service

# systemctl disable iptables.service

# systemctl status  iptables.service

 

Are you in VM or Physical host ? RHEL -7

#yum install virt-what

#virt-what

vmware

 

Set Host name  in RHEL7

[root@RHEL7 ~#vi /etc/hostname

RHEL7.com

[root@RHEL7 ~]# cat /etc/hostname
RHEL7.convex.com

[root@RHEL7 ~]# hostnamectl
Static hostname: RHEL7.com
Icon name: computer
Chassis: n/a
Machine ID: 739bf93a75df4f0e8fc6e26fff318e09
Boot ID: 179e92109cf44ae9aa7febbbeb1b40a7
Virtualization: vmware
Operating System: Red Hat Enterprise Linux Server 7.1 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.1:GA:server
Kernel: Linux 3.10.0-229.el7.x86_64
Architecture: x86_64

 

ifconfig command not found in RHEL 7

# yum install net-tools

#ifconfig

 

Kick-start changes and improved in RHEL7

Differences between RHEL6 and RHEL7 kick-start

# ksverdiff -f RHEL6 -t RHEL7

 

To verify kickstart file ” Kickstart File Validator

# yum install pykickstart

# ksvalidator /root/anaconda-ks.cfg

 

# Keyboard layouts

keyboard fi-latin1 —— RHEL 6

keyboard –vckeymap=us –xlayouts=’us’ —- RHEL7

 

Kickstart name changed

ks=https://10.10.10.50/builds/hosts/vm07/blrvse07vm17/ks.cfg

inst.ks=https://10.10.10.50/builds/hosts/vm07/blrvse07vm17/ks.cfg

 

#Partition or Filesystem changes

part /boot –fstype xfs--size=512 –asprimary –ondisk=sda

part pv.1 –size=1 –grow –ondisk=sda

volgroup rootVG pv.1

logvol / –fstype xfs –name=root –vgname=rootVG –size=10240 –grow

logvol /var –fstype xfs –name=var –vgname=rootVG –size=6144 –grow –percent=25

logvol /tmp –fstype xfs –name=tmp –vgname=rootVG –size=2048 –grow –maxsize=4096

 

#NTP Sync is available

timezone Europe/Madrid –isUtc –ntpservers=10.10.10.100

 

Change NIC into eth0

bootloader –location=mbr –append= net.ifnames=0 biosdevname=0

OPEN-VM-TOOLS in RHEL 7

# yum install open-vm-tools

Loaded plugins: langpacks, product-id, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Package open-vm-tools-9.4.0-6.el7.x86_64 already installed and latest version

Nothing to do

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s