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:
named. First, let's briefly describe our environment and proposed scenario. We will be setting up a DNS server to host a single zone file for domain linuxconfig.org. Our DNS server will act as a master authority for this domain and will resolve fully qualified domain (FQDN)
www.linuxconfig.orgto an IP address
nameddaemon will be listening on a two local IP addresses, the loopback IP address 127.0.0.1 and local network interface 10.1.1.100. Lastly, the DNS server will allow queries from any external IP address.
# yum install bind ... RHEL_7_Disc/productid | 1.6 kB 00:00 Verifying : 32:bind-9.9.4-14.el7.x86_64 1/2 Verifying : 32:bind-libs-9.9.4-14.el7.x86_64 2/2 Installed: bind.x86_64 32:9.9.4-14.el7 Dependency Installed: bind-libs.x86_64 32:9.9.4-14.el7 Complete!Once the DNS installation is finished we will now make a quick configuration to make
nameddaemon listen on our loopback and local network interface address:
[root@rhel7 ~] # ip addr show | grep inet inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host inet 10.1.1.110/8 brd 10.255.255.255 scope global enp0s3 inet6 fe80::a00:27ff:fe15:38b7/64 scope linkRead more...
$ cat temp.csv 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10 1,2,3,4,5,6,7,8,9,10Read more...