WHM additional SMTP port

By default SMTP generally uses port 25, but as sometimes ISP’s may block the port 25 for access. In such situations we need to configure an alternative port of SMTP. This can be done on a cPanel enabled servers as follows:
1) Login to the WHM.
2) Navigate to Main >> Service Configuration .
3) Click on service manager.
4) Navigate to the section which says “exim on another port”.
5) Place a click on the “Enabled” box besides the setting and enter the Alternative SMTP Port in the box and apply changes.
(add comma too)eg: 26,27
6) Now ensure the alternative port is enabled on the server firewall.
7) For this open the file /etc/csf/csf.conf on the server and add the port in the TCP_IN, TCP_OUT, UDP_IN, UDP_OUT sections. Save the firewall and restart the firewall.
Now the alternative SMTP port is configured for your server.You may with the below commands
From server

root@lb[~]# netstat -tulpn | grep exim
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 791505/exim
tcp 0 0 0.0.0.0:26 0.0.0.0:* LISTEN 791505/exim
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 791505/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 791505/exim
tcp 0 0 :::25 :::* LISTEN 791505/exim
tcp 0 0 :::26 :::* LISTEN 791505/exim
tcp 0 0 :::587 :::* LISTEN 791505/exim
tcp 0 0 :::465 :::* LISTEN 791505/exim

From Your Computer

root@lb[~]# telnet 180.235.130.202 26
Trying 180.235.130.202...
Connected to 180.235.130.202.
Escape character is '^]'.
220-unix-app01.lb.org ESMTP Exim 4.80.1 #2 Sat, 06 Jul 2013 16:27:14 +1000

Introduction to Linux

Introduction to Linux

Linux is more than a hip buzzword in computing. It is more than the latest fad. It was modeled on the Unix operating system first developed by Dennis Ritchie and Ken Thompson at AT&T.
Linux is an open-source operating system. Operating systems are the first piece of software in the computer. That will executes the program when you turn the computer on. And it enables applications and the computer operator to access the devices on the computer to perform desired functions
Linux is a multi-user, multi-tasking, network enabled operating system accessible from anywhere on the network. Multiple users can access a Linux computer remotely, Linux has a reputation as a very efficient and fast-performing system.
The kernel is at the heart of the Linux/Unix operating system. It is responsible for enabling multi-tasking, multi-user, multi-threading, multi-processing, security, interfacing with hardware and the network. It is this kernel which Linus Torvalds developed, based on the Posix/Unix design, which gives Linux its name.
Linux was designed to provide personal computer users a free or very low-cost operating system. Linux is what an operating system is supposed to be, bootable from a live operating system disk, easily installed.
Linux has grown to become a force in computing, powering everything from the New York Stock Exchange to mobile phones to supercomputers to consumer devices.
Linux is one of the best for a reason. only 500 known virus’s that are possible to harm your computer. and if you get any other operating system (windows or mac) virus on Linux it wont do anything.
Linux is here to stay; it is getting stronger day by day, and that is good from a technical, financial and economic point of view.

Enable htaccess in xampp

Enable htaccess ( mod_rewrite ) in xampp

For some reason my install of XAMPP didn’t have mod_rewrite automatically enabled? Not really sure why but basically below are the instructions on how to enable .htaccess mod_rewrite in xampp.
1. Go to the directory of installation C:\xampp\apache\conf
2. Open and edit httpd.conf in a text editor
3. Find the line which contains

#LoadModule rewrite_module modules/mod_rewrite.so

and (uncomment) change to

LoadModule rewrite_module modules/mod_rewrite.so

4. Find all occurrences of

AllowOverride None

and change to

AllowOverride All

I think it appears two or three times in the httpd.conf configuration file.
5. Restart xampp