All Entries in the "Articles and tutorials" Category
Nginx High Availabily Clustering using Wackamole
Ipswitching in an Nginx can be done by Wackamole. Wackamole is an application that helps with making a cluster highly available. It manages a bunch of virtual IPs, that should be available to the outside world at all times. Wackamole ensures that a single machine within a cluster is listening on each virtual IP address [...]
Database Mapping with cPanel
cPanel introduces the Database Mapping feature with version 11.25.1. This feature lays the groundwork for providing more flexibility in naming databases and database users. In the past, cPanel has always appended an account’s username to any database name or database username created by the account (for example, a database might be named “user_dbname”). This changes [...]
How to set up a forwarder for outgoing emails?
Issue : How can emails going out from a particular domain be copied to a common email address ? Solution : In order to set up a forwarder for outgoing emails from a particular domain to another email address, use the following steps : First, open the file /etc/cpanel_exim_system_filter using any of your favorite editors. [...]
How to resolve multiple problems due to permission issues
Sometimes, permissions might get screwed server wide resulting in various problems for different users. Here are some steps to reset the permissions. /scripts/checkbsdgroups — Checks and repairs proftpd ownership on FreeBSD. /scripts/chownpublichtmls — Change ownership of all users web space to them, which is useful for converting to suexec. Files owned by nobody are deleted. [...]
Allowing exim to run automatically on ports other than 25 and 26
We can achieve this by starting exim on the particular port (say 588) using the following command: /usr/sbin/exim -oX 588 -bd But to get this done automatically whenever exim starts, do the following: 1) In /etc/chkserv.d, add a file called exim_588 (to run it on port 588). Note the underscore there. Do not replace it [...]
Plesk : Installing SSL Certificate
Following are the steps to install an SSL certificate in Plesk : 1. Download the Primary, Intermediate and Root certificate files. 2. Log in to the Plesk Control Panel. 3. Select ‘Domains’ from the left menu. 4. Click on the domain name for which the certificate has been created for. 5. Click on the ‘Certificates’ [...]
Adding Private NameServers in Plesk
The following steps are required to add custom NS entries in Plesk. 1. Register the child name servers with your registrar and point them to the specific IP address. ns1.domainname —-> server shared ip ns2.domainname—-> server shared ip 2. Unfortunately, plesk has a limitation in managing the client’s private name servers. So, after registering your [...]
Host Header Settings in IIS
To have more than one website on a single port we need to set Host Headers. Procedure to set Host Headers : 1) Load IIS (Start >> Run >> type “inetmgr” & hit ‘enter’) 2) On the left panel, expand the server name & click “Web Sites“ >> Right click on the right panel >> [...]
IIS Optimizing & Monitoring Tools
These are some of the free tools available for maintaining and monitoring sites on an IIS server. 1. IIS Passwords Sync IIS 6.0 websites run under anonymous user accounts i.e IUSR_ (by default) or other user accounts created by the web-hosting control panel. The users’ passwords are set automatically and are never known. However, for [...]
Compiling PHP5 with IMAP support on a LiteSpeed server
Tutorial on how-to compile php5 with imap support on a litespeed server Step 1 : Install imap Here are the required steps : root@server []#cd /usr/src root@server []#wget ftp://ftp.cac.washington.edu/imap/imap.tar.gz root@server []#tar -xzvf imap.tar.gz root@server []#cd imap-2007e root@server []#make lfd root@server []#mkdir /usr/local/imap root@server []#cp -prf c-client/ /usr/local/imap Step 2 : Recompile php with the options [...]
PHP 5.2.11 released !
The PHP development team has announced the release of PHP 5.2.11. This release comes with over 60 bug fixes . Some of these were security related as well. This release is intended to increase the stability of PHP 5.2.x. Official release notes are available here .
64 Bit Vs 32 Bit
In computer architecture, 64-bit integers, memory addresses, or other data units are those that are at most 64 bits (8 octets) wide. Also, 64-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size. Similar is the case with 32-bit CPU & ALU will have 32 [...]
Linux Booting Process
The Booting process starts when the system/machine power is switched “On”. ———————— Stage 1 ———————— The processor will execute the codes contained in BIOS[basic input and output system]. The BIOS is actually a program stored in ROM [Read only memory]. —— The processor runs the instruction located at the memory location CS:IP FFFF:0000 of the [...]
Useful cPanel scripts and their functions
Following are the cPanel scripts and their functions. adddns – Adds a DNS zone. addfpmail – Add frontpage mail extensions to all domains without them. addfpmail2 -Add frontpage mail extensions to all domains without them. addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask. addnobodygrp – Adds the group nobody and [...]
Virtualisation using Xen
Xen is a virtual machine monitor that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Here are the steps to install Xen on CentOS: 1. Execute the following commands to install Xen and Xen kernel. [root@localhost ~]#yum install kernel-xen xen Installing: xen-libs ######################### [1/9] Installing: kernel-xen ######################### [2/9] [...]

1800 810 6547