How to Install Litespeed Webserver on cPanel/WHM VPS Server

Installing and configuring Linux software can be a tedious job for a Linux beginner (including me!). That’s why cPanel is very good tools, and we are willing to pay for it. However, not all software included in cPanel is the best you can find in the market.

For example, Litespeed is a much better webserver when compare to Apache in terms of speed and protection against DDOS. Based on this fact, I decided to try their 15-day trial version.

As mentioned in the beginning of this post, installation is always a hindrance to try a new software. Luckily, Litespeed has cPanel plugin and when you installed this plugin, subsequent steps can be done via cPanel. To install follow steps below.

1. Sign-up for 15 days trial version. You should receive a trial license via email.

2. SSH to your VPS as root and issue the following command.

cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

3. Log-in to WHM panel & you should see “Litespeed Web Server” menu under “Plugins” menu.

4. Insert your trial key from (1) above, choose admin username & password and start installing.

5. When finished, you have to build matching PHP Binary. To do this just click, “Build Matching PHP Binary” in Litespeed Plugins page. This process will take approximately 10 minutes.

6. After that you can start to use Litespeed Webserver by selecting “Switch to LiteSpeed” in Litespeed Plugins page.

7. Enjoy the speed of your server. You should see the ” LiteSpeed is running (PID = XXXXX). Apache is not running” message on top of the plugins page.

If you decide to uninstall Litespeed Webserver & cPanel plugins, you may follow the steps below.

1. Uninstall Litespeed Webserver in Litespeed plugins page.

2. When completed, SSH to your VPS as root and issue the following command.

cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

3. Done. If you refresh your WHM panel, Litespeed plugins page will be no longer there.


Google AdSense ad Serving has been Disabled to Your Site

Recently, I received an e-mail stating that my Google AdSense has been disabled to one of my websites due to policy violation. 2 weeks prior to this I received a warning e-mail stating the same policy violation. I made some modification but unfortunately “Policy Specialist” ad Google AdSense still not satisfied.

The problem is “LAYOUT ENCOURAGES ACCIDENTAL CLICKS.” Luckily, Google allows me to appeal after make a modification to comply with the policy.

These were what I’ve modified.

  1. Add more space between AdSense ads website content.
  2. Avoid placing AdSense ads close to navigation menu.
  3. Change AdSense ads texts & links other color that does not match the color of website theme.
  4. Add border/box to AdSense ads, so that the ads clearly visible.
  5. Remove, AdSense ads from page that does not have much value such as “Disclamer” and “Contact” page.
  6. Remove some AdSense ads from page that have little content so that the page display nicely.

After I’ve done, I went ahead and make an appeal by explaining what I’ve done to comply to AdSense policy. 2 days later, I received another e-mail from Google stating that they are happy with my modification & enable the ads serving.

Below was the e-mail copy from Google AdSense.

_______________________

Hello,
This message is to alert you that one of your websites is not currently in compliance with our AdSense program policies and as a result, ad serving has been disabled to your website.

Issue ID#: ID NO

Ad serving has been disabled to: mydomain.com

Example page where violation occurred: http://www.mydomain.com/

Action required: Check all other remaining sites in your account for compliance.

Current account status: Active

Violation explanation

LAYOUT ENCOURAGES ACCIDENTAL CLICKS: Publishers are not permitted to encourage users to click on Google ads in any way. This includes any implementation that may encourage accidental clicks, such as placing ads near flash games or navigation bars, or placing ads and site links extremely close together.

Action required: Check account for compliance
While ad serving has been disabled to the above site, your AdSense account remains active. Please be aware that the URL above is just an example and that the same violations may exist on other pages of this website or other sites you own. Therefore, we suggest that you take the time to review the rest of your sites to ensure that they’re in compliance with our policies, and to monitor your sites accordingly to reduce the likelihood of future policy emails from us. Additionally, please note that our team reserves the right to disable accounts at any time if we continue to see violations occurring.

Appeals
If you wish to appeal this disabling then you can do so by using the Issue ID listed above to contact us via our Help Center: https://support.google.com/adsense/bin/answer.py?hl=en&answer=113061