Linux

Riz Khan on May 15th, 2011

I will be posting a series of posts on scripting starting from some basic commands, control  structures, small scripts and then moving to some complete practical scripts for general server  automation, monitoring, reporting and backups which I would hope one can follow in sequence  and learn scripting. This would be first one in this series of posts […]

Continue reading about Scripting: use of tr command for character translation

By compiling PHP with mssql extension support one can have capability to connect to MS SQL server from a PHP Linux environment. For enabling mssql support in PHP we need FreeTDS installed and configured which is a set of Unix/Linux libraries that implement the TDS protocol. This post explains the steps for doing this, lets […]

Continue reading about How To : Install mssql extension for PHP in cPanel CentOS / Linux

SolusVM is a very good control panel for OpenVZ platform and supports Xen too. It is reasonably stable and very cost affective. If you have not tried or used it yet, I would recommend giving it a try. This post is about a recent issue I faced on SolusVM/OpenVZ node setup. After setting up a […]

Continue reading about Error “VZ QUOTA: file softlimit exceeded for id=” Resolution

I have been setting up a test server few days back by setting up MySQL , Apache and PHP from source. Though the installation all went smooth, but when I restarted apache it failed and when I checked the error logs they showed the following error : Syntax error on line xxx of /usr/local/apache/conf/httpd.conf: Cannot […]

Continue reading about Error : “/usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied” Resolution

Riz Khan on March 21st, 2011

Linux has powerful set of shell commands using which you can almost achieve anything. Specially combining commands through pipes and redirection can make them more stronger. If you need to find the total file count in a directory in Linux ( CentOS / RHEL etc ) then you can do this using following command : […]

Continue reading about How to get total file count in a directory in Linux

Riz Khan on March 19th, 2011

Core dump is a memory or a storage dump which records the memory state of a computer program at specific instance when a program terminates abnormally. The abnormal termination of the program can be result of various reasons, however most OS are set to generate a core dump of memory state of the executable at […]

Continue reading about How to disable core dumps on Linux Servers