RSSAll Entries in the "Articles and tutorials" Category

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.
Then, login to WHM [...]

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 with hyphen as there [...]

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’ menu item.
6. [...]

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 private name [...]

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, [...]

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 –with-imap=/usr/local/imap and –with-imap-ssl
Here are the steps for [...]

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 BIOS, which is located at 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 activates security.
addpop – Add a [...]

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 [...]

Linux Kernel 2.6.30 – Released

New architecture switches the kernel to a “New world order”, says Linus Torvalds about the Linux Kernel 2.6.30 which was released just few days back with hundreds of changes.
Let us see what’s really new in it and why is it creating a buzz.
First of all , It now boots faster. It has been designed [...]

Rkhunter and Chrootkit installation

Rkhunter Installation
Rkhunter is a tool used to check trojans, rootkits, and other security problems.
Here are the installation steps:-
root@server1 [~]#wget http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz
root@server1 [~]#tar -zxvf rkhunter-1.2.7.tar.gz
root@server1 [~]#cd rkhunter-1.2.7
root@server1 [~]#./installer.sh
You can scan the server by using the following command:-
root@server1 [~]#/usr/local/bin/rkhunter -c
You can update the rkhunter database by issuing the following command:-
root@server1 [~]#rkhunter –update
Chrootkit Installation
Chrootkit is a [...]

Fedora 11 Released

Latest version of Fedora Linux distribution is out with a fresh bunch of updates.
Here is an excerpt from the release notes about the features.
Source : fedoraproject.org
Copyright © 2009 Fedora Documentation Project. This material may only be distributed subject to the terms and conditions set forth in the Open Publication License, V1.0, (the latest version is [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes