Posts Tagged ‘hosting’

Cpanel Hooks and custom configurations

Wednesday, November 12th, 2008

Modifying the source code of cpanel control panel is prohibited by End User License Agreement (EULA)
So how would you implement some custom fucnctionality?
Cpanel provides something called hooks! for this purpose .Hooks are basically files that are checked and if present executed after some  internal cpanel process like account creation,termination etc
I would provide the example of [...]

List of Different web servers on GNU Linux

Friday, September 19th, 2008

Today we have different web servers available on the GNU/Linux platform.Here i am listing only the web servers that can be used for a mainstream web hosting environment
The web servers can be classified basically into 2
1. Process based webserver - In a process based web server each new connection is handled by a new web [...]

Howto disable access log in nginx

Sunday, September 14th, 2008

The following configuration disables logging the http requests in nginx
=====
http {
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 64;
#log_format main ‘$remote_addr - $remote_user [$time_local] $request ‘
# [...]

Howto enable Directory Listing in nginx

Monday, September 1st, 2008

To enable directory listing use the following configuration option:
autoindex on;

eg:
server { listen 80; server_name gnusys.net; autoindex on;…………}

Good WHM-cpanel troubleshooting guide

Tuesday, August 26th, 2008

The following guide (property of Cpanel.net ) is a good starting point in troubleshooting cpanel /whm problems
Please note that this document belongs to Cpanel.net and may contain proprietary informationr
Download a copy from here
http://gnusys.net/downloads/Troubleshooting.pdf

Howto install Nginx from source

Wednesday, August 13th, 2008

Nginx is a very fast ,powerful asynchronous web server that can be considered as a good replacement for the Apache HTTPD web server. Below are the steps required to get Nginx installed on your system. It is preffered to install Nginx from source as we get the latest stable version of this project as compared [...]

plesk DBWebadmin Access denied for user error

Tuesday, July 15th, 2008

Sometimes you get the following error when accessing DBWebadmin (phpMyadmin ) in plesk
====
#1045 - Access denied for user ‘pma_tUuzljY3KmgS’@’localhost’ (using password: YES)
====
pma_tUuzljY3KmgS may vary according to your system
To fix this
vi /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php
and change the values of controluser , controlpass , pmadb to null
thats it ;save the file and now everything should work fine
Ref: http://forum.swsoft.com/showthread.php?s=&postid=167179#post167179

Howto manage qmail queue in Plesk linux

Saturday, July 12th, 2008

You can use third party programs like qmail-remove http://www.linuxmagic.com/opensource/qmail/qmail-remove to accomplish queue management in plesk control panel managed qmail
The Plesk control panel itself provides a modified version od qmHandle ( http://qmhandle.sourceforge.net/ )along with it that can be used with ease to manage the queue
To see the statistics of the queue:

/usr/local/psa/admin/bin/mailqueuemng -s
Messages in local queue:  0
Messages [...]

Install ffmpeg with amr-nb and amr-wb support

Friday, July 11th, 2008

ffmpeg is a popular audio/video encoder and decoder . If you are planning to roll out a website that does video conversion like the popular youtube this document is for you . Now if you allow your users to upload content shot using mobile phones inoder to decode the same you may need AMR codec [...]

how important is latency in hosting

Monday, June 30th, 2008

Latency is network delay for a packet to reach from its source to the destination
Inoder for you to understand this ; i am comparing the time taken for an ICMP echo (ping) packet to 2 destinations that are geographically seperated
The source IP is located at KOCHI,INDIA (BSNL National Internet Bachbone) and the destination 1 is [...]