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

CentOS Version Check

The easiest way to check your CentOS version is via the command line. Login to your CentOS server using SSH and run the following command: 1 cat /etc/centos-release You may also use: 1 cat /etc/redhat-release This should return the following CentOS version information: 1 CentOS release 6.2 (Final) Kernel Versions Know that you know your CentOS version,…

Read More