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...
# cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.0 (Maipo)" ID="rhel" ID_LIKE="fedora" VERSION_ID="7.0" PRETTY_NAME="Red Hat Enterprise Linux Server 7.0 (Maipo)"Read more...
vsftpddaemon. In this guide we use
[root@rhel7 ~]# yum install vsftpdNext, we can start the
vsftpdservice by using a
[root@rhel7 ~]# service vsftpd start Redirecting to /bin/systemctl start vsftpd.serviceTo make the FTP service startup persistent after system reboot use:
[root@rhel7 ~]# systemctl enable vsftpd ln -s '/usr/lib/systemd/system/vsftpd.service' '/etc/systemd/system/multi-user.target.wants/vsftpd.service'Read more...
libcversion installed on you Debian Linux system use
lddcommand. The output of this command will output
libcversion in its output:
# ldd --version ldd (Debian EGLIBC 2.13-38+deb7u1) 2.13Read more...
root@debian:~# cat /etc/issue Debian GNU/Linux 7 \n \lHowever, the above command may not show the current Debian update point releases. Thus you may get more accurate info with the following command:
root@debian:~# cat /etc/debian_version 7.7Read more...
/etc/apt/sources.listfile to reduce package download requirement. Make sure that your CD is inserted to your CD-ROM drive and enter command:
# apt-cdrom addRead more...
ftp: connect: No route to hostmay pop-up during FTP client session: