yumand the second is
yumdb. Both tools display a different type of information. The other difference is that
yumdbcommand can be only used on packages currently installed on the system.
systemctlcommands 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.Read more...
[nfs-server ]# yum install nfs-utils rpcbindRead more...
[root@rhel7 ~]# yum install ntpdateTo check your current time use
[root@rhel7 ~]# date Thu Sep 4 17:20:42 WST 2014Next, we can use
pool.ntp.orgtimeserver 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 secRead more...
timedatectlcommand. The following command will list all timezones:
[root@rhel7 ~]# timedatectl list-timezonesTo narrow down the search you can use grep to search for a specific city. For example:
[root@rhel7 ~]# timedatectl list-timezones | grep -i bratislava Europe/BratislavaRead more...
awscliinstallation on Linux systems such as RHEL, CentOS, Ubuntu, Suse etc. The only requirement is
pythoninstallation to be available on your system. The installation of
awsclithe Amazon Web Services command line tool on the Linux system consists of multiple steps. First we need to install
pipthe python packaging tool. Once we have
pipinstalled and ready to use we use it to install
setuptoolspackage otherwise we will get a following error message:
Downloading/unpacking pip Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement pip Cleaning up... No distributions at all found for pip Storing debug log for failure in /root/.pip/pip.logFrom this reason we first install
[root@rhel7 ~]# wget https://pypi.python.org/packages/source/s/setuptools/setuptools-7.0.tar.gz --no-check-certificate [root@rhel7 ~]# tar xzf setuptools-7.0.tar.gz [root@rhel7 ~]# cd setuptools-7.0 [root@rhel7 ~]# python setup.py install ... Installed /usr/lib/python2.7/site-packages/setuptools-7.0-py2.7.egg Processing dependencies for setuptools==7.0 Finished processing dependencies for setuptools==7.0Read more...
eth0. This interface is used as a master network interface with an IP address of 10.1.1.110. To this network interface we will attach two additional virtual network interfaces
eth0:0 - 10.1.1.111and
eth0:1 - 10.1.1.112. Let's get started by showing a current network configuration:
[root@rhel7 ~]# ip addr show
# grep -l DEVICE.*eth0 /etc/sysconfig/network-scripts/*Read more...
# ip addr show 2: enp0s3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:15:38:b7 brd ff:ff:ff:ff:ff:ff valid_lft forever preferred_lft forever inet6 fe80::a00:27ff:fe15:38b7/64 scope link valid_lft forever preferred_lft foreverOnce we have located a name of the network interface in question open a corresponding configuration file. So as an example, for network interface
epn0s3vi will edit a
/etc/sysconfig/network-scripts/ifcfg-enp0s3. Open this file and enter the minimum configuration settings in order to make this network interface act as a DHCP client:
DEVICE=enp0s3 BOOTPROTO=dhcp ONBOOT=yesRead more...