How To Add Multiple IP Addresses On Linux / Fedora Core / Fedora

Angsuman Chakraborty September 11th, 2007 Most guide to adding multiple IP addresses on Linux starts with the Microsoft-like solution of using ifconfig. While the solution is correct it doesn’t survive a reboot or even a network restart. Here’s how you can easily and permanently add multiple IP addresses to the same (or different) network interface…

Read More

Ubuntu; FTP server Installation

vsftpd – FTP Server Installation vsftpd is an FTP daemon available in Ubuntu. It is easy to install, set up, and maintain. To install vsftpd you can run the following command: Anonymous FTP Configuration By default vsftpd is not configured to allow anonymous download. If you wish to enable anonymous download edit /etc/vsftpd.conf by changing: During installation a ftp user is…

Read More

PHP hints and tricks

use $this->member for non-static members, use self::$member for static members. Full Answer Here is an example of correct usage of $this and self for non-static and static member variables: Here is an example of incorrect usage of $this and self for non-static and static member variables: sample PDO and how work for db connection How __construct work on Class

Read More

QUIT TIP TO SETUP THE NETWORK

TO SETUP THE NETWORK -you can use the command line #nmtui or # nano /etc/sysconfig/network-scripts/name the connection *******sample file HWADDR=00:0C:29:5B:08:A2 TYPE=Ethernet BOOTPROTO=static DEFROUTE=yes PEERDNS=yes PEERROUTES=yes USERCTL=no NM_CONTROLLED=no IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=no NAME=eno16777736 UUID=8c6eefa2-0d7b-4559-9870-2953290dc988 ONBOOT=yes IPADDR=192.168.1.70 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1 DNS2=8.8.8.8 DOMAIN=rheltest.lan ********sample file if you want DNS servers enabled system wide. # nano…

Read More