I would like to know how to check gnome desktop manager version on my Redhat 7 Linux server/desktop?
To sync a correct time on your Redhat server with a NTP publicly available time servers first you need to install
[root@rhel7 ~]# yum install ntpdate
To check your current time use
[root@rhel7 ~]# date Thu Sep 4 17:20:42 WST 2014
Next, we can use
pool.ntp.org timeserver to synchronize our time. This is be done with
[root@rhel7 ~]# ntpdate pool.ntp.org 11 Dec 06:08:13 ntpdate: step time server 22.214.171.124 offset 8426822.014383 sec
The default settings for the GRUB2 timeout menu selection during the system boot is 5 seconds. To change this value open
/etc/default/grub grub default config file. The content of the file looks similar the the one shown below:
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.lvm.lv=rhel/root crashkernel=auto \ rd.lvm.lv=rhel/swap vconsole.font=latarcyrheb-sun16 vconsole.keymap=us rhgb quiet" GRUB_DISABLE_RECOVERY="true"
This config will describe a procedure on how to persistently load kernel modules during a boot time on CentOS or Redhat Linux system. In the below commands will use
nf_conntrack_pptp as a sample module. Replace the name of this module with a module name you wish to load.
First, create a script within
/etc/sysconfig/modules/ directory with a file extension
modules. Where the name of the script can be any name of your choice. In our case the script will be called
nf_conntrack_pptp.modules. Enter a following code into your new
nf_conntrack_pptp.modules script while replacing the name of the module with the one you wish to load:
#!/bin/sh exec /sbin/modprobe nf_conntrack_pptp >/dev/null 2>&1
When trying to start a service with
systemctl commands on the Redhat 7 Linux system the following error message can appear on the screen:
Failed to issue method call: Unit service_name.service failed to load: No such file or directory.
Resetting the root password in RHEL7/CentOS7/Scientific Linux 7
RHEL7 / CentOS7 / Scientific Linux 7
Things have changed in the RHEL7 world and so has the preferred way of resetting the root password. Although the old way of interrupting the boot process (init=/bin/bash) still works, it is no longer bulletproof and recommended.
‘Systemd’ uses ‘rd.break’ to interrupt the boot. Let’s have a quick walk through the whole procedure.
Most of the time as a Linux system administrator you are managing your servers over the network. It is very rare that you will need to have a physical access to any of your managed servers. In most cases all you need is to SSH remotely to do your administration tasks. In this article we will configure a GUI alternative to a remote access to your RHEL server, which is VNC. VNC allows you to open a remote GUI session to your server and thus providing you with a full graphical interface accessible from any remote location.
In this tutorial you will learn:
- How to install required VNC packages
- How to setup and start the VNC server on RHEL
- How to connect to a graphical session remotely
- How to run graphical programs in the xterm session