May 2010
« Apr   Jun »

Script for checking RAM usage and free up the memory


My current situation is one of my dev. server showing “out of memory” issues and sometimes it’s stayed on HUNG state. Only a reboot can help us to make it live. During the server monitoring, I found that ‘httpd”daemon is causing memory outage. So I try to check after the web restart and found [...]

Linux : how to overwrite files/folder without prompting

Many times when we try to overwrite a folder/files will ask conformation for each files/folders which sometimes disturbing us. Most of us are simply rename or delete the folder before make the over write and sometimes we can’t do that folder fully.

[root@rc-170 ~]# cp -r imagick-2.3.0 imagick-2.3.0new cp: overwrite `imagick-2.3.0new/imagick-2.3.0/imagickdraw_class.c’?

[root@rc-170 ~]# alias [...]

Upgrading SQLite from 2.x.y to 3.x.z

I’m using on Centos5.3 server.

1. Downloading and installing the latest sqllite package #wget # tar-zxvf sqlite- && cd sqlite- #mkdir bld #cd bld #../configure #make && make install

2. Verify the python-binding is correctly configured.

[root@rc-170 bd]# python Python 2.4.3 (#1, Jan 21 2009, 01:10:13) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2 [...]

How do I enable MSSQL extension on php

I have a requirement to enable MSSQL extension on php and need to access remote MSSQL server from the server. I think this requirement is very rare in case and need a dedicated hosting for this. Technically accessing database from different network will affect the application performance badly during the peak hours time. I will [...]

How do I install UCC SSL certificate on Cpanel servers

I have purchased a UCC ssl certificate from Godaddy which is support to used for 5 domains. I can installed my primary domain ssl easily by reading Godaddy’s cpanel installation instructions. But I couldn’t see they anywhere for ssl implemention of other domain.

I have tried to install this ssl from the WHM–> ssl [...]