Archive for the 'Web and System Administrator' Category

Check the first time you install Linux OS

Wednesday, May 26th, 2010

If you forgot when you deploying (installing) a server (or Desktop) with Linux OS (esp. RedHat and its derivatives) you can check date of first file created after successful installation. You need root privileges to check the file.
(more…)

SocialTwist Tell-a-Friend

[cPanel] Add permanent whitelist IP Address using CSF/LFD

Wednesday, May 26th, 2010

You can whitelist IP Address quickly using ConfigServer Firewall/Login Failure Daemon (CSF/LFD) by using the Quick Allow or editing Firewall Allow IPs but the number of IP Addresses kept by CSF/LFD is limited (by default is 100 or other numbers you specified in Firewall Configuration) as a large number of IP addresses create a large number of iptables rules (4 times the number of IP’s) which can cause problems on some systems where either the the number of iptables entries has been limited (esp VPS’s) or where resources are limited. This can result in slow network performance, or, in the case of iptables entry limits, can prevent your server from booting as not all the required iptables chain settings will be correctly configured.

CSF/LFD will removes oldest entries and replaced with new one. So how to make CSF/LFD make permanent whitelist IP Address? Here’s how:
(more…)

SocialTwist Tell-a-Friend

Install SSH (SFTP) server on Windows 2000

Monday, April 19th, 2010

Below is step-by-step installation SSH (and SFTP) server on Windows NT Based (Windows 2000 Server). It’s easy to follow and I bet you can do it by your self. (more…)

SocialTwist Tell-a-Friend

[cPanel] Exim Maximum Attachment Size

Thursday, March 4th, 2010

By default Exim maximum message size is 50MB, you can confirm it by typing

# exim -bP | grep message_size_limit
 message_size_limit = 50M

You can change maximum message size by adding line

message_size_limit = 5M

(more…)

SocialTwist Tell-a-Friend

[cPanel] Internal Server Error after installation

Thursday, February 11th, 2010

Installing cPanel is very easy, what you need is patience, enough bandwidth and following tutorial described in cPanel Quick Install Guide. But even I have followed the guide carefully and make sure I have make prepation still I can go wrong. Below is quick steps to install cPanel:

  1. Install Minimal CentOS
  2. Create harddrive partition
  3. Deactivate the firewall
  4. Disable SELinux
  5. Ensure your newly-installed OS has the latest updates and patches.
  6. Obtaining a cPanel/WHM License
  7. Begin Installation
    cd /home
    wget -N http://layer1.cpanel.net/latest
    sh latest
    /usr/local/cpanel/cpkeyclt

After 5 hours installation is complete then when I am accessing WHM, this error came up

Internal Server Error
open3: exec of /usr/local/cpanel/whostmgr/bin/whostmgr3 ./initial_setup_wizard1 failed at cpsrvd line 6114

(more…)

SocialTwist Tell-a-Friend