How to Install Memcached in WHM / CentOS

I use Centos & WHM.
Here is how to install memcached (not memcache) using command line.

First, installing memcached

tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure && make && make test && sudo make install

How to Change SSH Port with WHM & CSF

If you are using WHM & CSF, under CentOS, you may follow this steps to change SSH port from 22 (default) to something else 🙂


How to Install ConfigServer Security & Firewall (CSF) in WHM

To install ConfigServer Security & Firewall (CSF) in WHM, please run this commands in your SSH terminal one by one.

tar -xzf csf.tgz
cd csf

After it completes, there is a new menu in WHM which is under “Plugins” category, named “ConfigServer Security & Firewall”. 🙂


How to Install Litespeed in WHM

Here i will explain how to install Litespeed webserver in WHM.
According to the Litespeed wiki :

  1. Open & login to your SSH terminal
  2. Execute this command to download the installer :
  3. Next we will make the file executable :
    chmod a+x
  4. Last step we can execute this command :
    (please check the litespeed wiki for parameter explanation)

    ./ TRIAL 2 1000 admin a1234567 [email protected] 1 0

    If you have litespeed license, replace “TRIAL” with your serial number.
    You can replace “admin” with another litespeed admin username.
    You can replace “a1234567 ” with another litespeed admin password.
    You can replace “[email protected]” with another litespeed admin e-mail.

  5. Wait until it completes.
  6. A new sub menu named “Litespeed Web Server” will appear on your WHM.
  7. You must activate litespeed from that sub menu.

Apache Stopped Working on Windows

Since about 3 weeks ago until today, my Apache server stopped working on Windows XP. I have no idea why it was stopped. I have searched some solutions on Google about this. Some solution asked whether i have Skype installed on my machine, because it was known that Skype can cause conflict with apache because Skype uses port 80 (solution if Skype is the reason is : 1) uninstalling Skype, or 2) modify apache port to 8081 for example).