Published on : September 24, 2009 by George K.
To password protect a directory htaccess password protect rules can be added in the directory AuthUserFile /path/to/.htpasswd AuthName “This is Hasten secret area” AuthType Basic require valid-user To create .htpasswd file use the following command htpasswd -c .htpasswd <user> You will be prompted for password . Once it is done, the file will be created. […]
Published on : September 17, 2009 by George K.
To access Webalizer for addon domain without loging in to the Cpanel can be done by following the steps 1. Login to the server using SSH 2. Then change directory to the Document Root of the addon domain cd /home/username/public_html/AddondomainFolder 3. In the desired folder create a symbolic link ln -s /home/username/tmp/webalizer/addondomain.maindomain.com webstats 4. Change […]
Published on : September 12, 2009 by George K.
We are into Virtuozzo Management and sometimes we have come across the following OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS. Let us discuss them, Error Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13) Just follow the KB at http://wiki.openvz.org/VPN_via_the_TUN/TAP_device Error Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1) […]
Published on : August 23, 2009 by George K.
You may sometime wish to ‘clean’ the machine down and remove all traces of PostgreSQL. There are a series of steps for PostgreSQL uninstall: –> Well, when uninstalling the server package, all running process are stopped ,you don’t have to stop it. –> Lists your installed PostgreSQL packages [ rpm -qa|grep postg ] –> Remove […]
Published on : August 10, 2009 by George K.
Below are the most common Exim commands which help an Administrator to ease his life Print a count of the messages in the queue: exim -bpc Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient): exim -bp Print a summary of messages in the queue (count, volume, oldest, newest, […]