How to change your CentOS server timezone

Timezone data (tzdata) is stored in /usr/share/zoneinfo. To change your CentOS server's timezone, simply run the following command based up on the examples below: Example 1: set time zone to Melbourne, Australia cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime Example 2: set time zone to UTC cp /usr/share/zoneinfo/UTC /etc/localtime To confirm the time set on your system, run the date ... Read More...

Port forwarding using xinetd on CentOS

An easy method to do port forwarding on CentOS is to use xinetd. This service is usually installed on CentOS by default. In order to port forward with xinetd, you will need to create a configuration file: vim /etc/xinetd.d/smtp_forward Some xinetd port forwarding examples: 1. Forward port 2000 on localhost to remote server on ... Read More...

Enable EPEL Repo on CentOS 5, CentOS 6 and CentOS 7

What is the EPEL repo? The EPEL (Extra Packages for Enterprise Linux) yum repository is an excellent source for additional packages for CentOS. Instead of having to compile applications that aren't included in CentOS' built-in repositories from source, EPEL can be used. Install/enable the EPEL repo:  Disable the EPEL repo: Open /etc/yum.repos.d/epel.repo and set ... Read More...