How to change the Grub2 boot order?

How can I change the boot order in grub2? Here is a step by step guide, In a terminal type, # grep menuentry /boot/grub2/grub.cfg menuentry ‘CentOS Linux (4.6.4-1.el7.elrepo.x86_64) 7 (Core) with debugging’ –class rhel fedora –class gnu-linux –class gnu –class os –unrestricted $menuentry_id_option ‘gnulinux-3.10.0-229.el7.x86_64-advanced-169f51f6-092c-43b8-bea9-bdc484dc66c6’ {
Continue reading…

 

Disable the graphic login mode in CentOS 7/ RHEL 7

In CentOS-7 / RHEL-7, Systemd uses “targets” instead of run-levels, and /etc/inittab is no more used by systemd to change run levels. When the graphic interface login is installed, we will use graphic mode by default. How can we disable the GUI login mode of CentOS-7 or RHEL-7? Well, it’s kinda easy with the help of systemd. We […]
Continue reading…

 

How to check SSL certificate expiration Date from command line?

An SSL certificate contains such information as: validity dates, subject, issuer and other stuff. It is a quite common task to check if an SSL certificate is valid and when it expires. We can easily use  Linux command line tools to retrieve all the information from website’s SSL certificate. Here we will show how to use the Linux command line […]
Continue reading…