Monthly Archives: October 2011

NginX: Gateway Time-Out

One of the web server that run on Nginx is having 504 Gateway Time-outerror. This can be fixed by increasing the send_timeout directive in nginx.conf. Steps as below: 1. Open the nginx configuration files via your favourite text editor: $ vi /usr/local/nginx/nginx.conf 2. Find send_timeout directive and … Continue reading

Posted in UK Reseller Hosting, UK Web Hosting, Web developer, Web Hosting | Comments Off

Installing Java 1.6 in CentOS 6 – The Simplest Way

Default repository in CentOS 6 will give you Java 1.5 JRE and SDK packages. I will show you on how to install version 1.6 using yum.  You just need to enableRPMforge repository and another simple steps required after that. Variables as follow: … Continue reading

Posted in Web developer, Web Hosting | Comments Off

Configuring A Virtual Directory / Application Directory under Plesk

To Configure a Virtual Directory under Plesk: * Log into your Control Panel:                                                       … Continue reading

Posted in Plesk Windows News And Updates, US Reseller Hosting, US Web hosting, Web developer, Web Hosting | Comments Off

WebHostUS Halloween Discount

In preparation for the holiday season we have a very special offer code on our website! Use the code “Halloween50” between now and November 15th to get 50% off for first payment on any new Shared / Reseller / VPS … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Comments Off

Setup and configure memcached on a linux PHP webserver

This is my short tutorial of how to set up, use and monitor memcached on a PHP web server. Setup memcached 1. Setup libevent This is a library needed by memcached. Install it: wget http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz tar zxvf libevent-1.4.14b-stable.tar.gz cd libevent-1.4.14b-stable … Continue reading

Posted in Uncategorized | Comments Off

Password protect files and folders in Linux

In this article I am going to show you more than one way to do this: Using permissions, using zip, and using encryption. Hopefully, in the end, you will have a method that suits your needs and your abilities. The … Continue reading

Posted in Cpanel News And Updates, US Reseller Hosting, US Web hosting, Web developer, Web Hosting | Comments Off

Unable to start SSH: /dev/null is not a character device

The “/dev/null is not a character device” message occurs in a VPS when an upgrade is performed and the /dev/null turns into a regular file. # /etc/init.d/sshd restart Restarting Secure Shell server: sshd failed! /dev/null is not a character device!. … Continue reading

Posted in Uncategorized | Comments Off

Speed up your site with Caching and cache-control

Caching with .htaccess and Apache will take your website and your web skills to the next level. This is some technical and advanced methods condensed to simple htaccess code examples for you. But you must take the time to understand caching … Continue reading

Posted in UK Reseller Hosting, UK Web Hosting, US Reseller Hosting, US Web hosting, Web developer | Comments Off

How many processors/cores my server has ?

You can get a lot of information by typing “cat /proc/cpuinfo”. [root@rsocey ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz stepping : 2 … Continue reading

Posted in Dedicated Server Hosting News And Offers, Plesk Linux News And Updates, UK Reseller Hosting, UK Web Hosting, US Reseller Hosting, US Web hosting, Web developer, Web Hosting | Comments Off

What is an inode

An inode is a record in a disk table which contains information about a file/folder such as its size and owner. The number of inodes you use represents the number of files/folders you have on your web hosting account. When … Continue reading

Posted in Uncategorized | Comments Off