How to change the hostname of a Linux system

hange the hostname on a running system On any Linux system you can change its hostname with the command ‘hostname‘ (surprised?)… Here are some quick usages of the command line hostname: hostname without any parameter it will output the current hostname of the system. hostname –fqd it will output the fully qualified domain name (or(…)

How to enable IP Forwarding in Linux

By default any modern Linux distributions will have IP Forwarding disabled. This is normally a good idea, as most peoples will not need IP Forwarding, but if we are setting up a Linux router/gateway or maybe a VPN server (pptp or ipsec) or just a plain dial-in server then we will need to enable forwarding.(…)

How to quickly bind a range of IPs on RedHat based systems

Normally when you add a new IP to a network interface in a RedHat based system you create a file ifcfg-eth0:x in /etc/sysconfig/network-scripts/. For example: /etc/sysconfig/network-scripts/ifcfg-eth0:0 DEVICE=eth0:0 ONBOOT=yes BOOTPROTO=static IPADDR= NETMASK= NETWORK= BROADCAST= TYPE=Ethernet Similar to the above example you can create several aliases. But what if you have to add a lot of IPs(…)

How to Install OpenVPN

OpenVPN can be downloaded here. For security, it’s a good idea to check the file release signature after downloading. The OpenVPN executable should be installed on both server and client machines, since the single executable provides both client and server functions. Linux Notes (using RPM package) If you are using a Linux distribution which supports(…)


With the growth of the Internet, e-mail has quickly become the main vehicle to spread information through the public at large. As the demand for fast, cheap and reliable e-mail grows, more individuals are turning to Linux to provide a fast, cheap and reliable solution. sendmail was originally developed by Eric Allman, in 1979, as(…)