Find Large Files In Linux

May 13, 2011

Find files larger than a certain size This example finds all the files under /root directory which are larger than 50k [root@lifelinux ~]# find /root -size +50k Sample output /root/ioncube/ioncube_loader_lin_5.3_ts.so /root/ioncube/ioncube_loader_lin_4.1.so /root/ioncube/ioncube_loader_lin_5.1.so /root/ioncube/ioncube_loader_lin_4.2.so …

Read more →

How To Install Monit On Centos / Redhat

May 13, 2011

What is Monit ? Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

Read more →

How To Install Ksplice on CentOS / RedHat

May 12, 2011

You can apply kernel updates using “yum” command or “apt-get” command line options. After each upgrade you need to reboot the server. How to skip reboot step and apply hotfixes to kernel without rebooting the server ? What is Ksplice Uptrack? Ksplice Uptrack is a subscription service that lets you apply 100% of the important […]

Read more →

How To Update Linux Kernel With Ksplice Uptrack

May 12, 2011

What is Ksplice Uptrack? Ksplice Uptrack is a subscription service that lets you apply 100% of the important kernel security updates released by your Linux vendor without rebooting.

Read more →

How To Enable IP Forwarding On CentOS / RedHat

May 11, 2011

By default, Linux distribution such as Redhat, CentOS, and Fedora will have IP Forwarding disabled. The need to forward IP packets from one source to another using linux as the default gateway or linux router, IP forwarding should be enabled from this considerations. There are several techniques to enable IP Forwarding.

Read more →

How To Increase PHP Memory Limit

May 11, 2011

If you have seen an error like “Fatal Error: PHP Allowed Memory Size Exhausted” in webserver logs or in your browser, this means that PHP has exhausted the maximum memory limit. There are several techniques to increase the PHP memory limit and you only need to use one of them.

Read more →

How To Limit Resources Used By A PHP Script

May 11, 2011

PHP supports the following resource limits directives in php.ini file. To limit resources used by a PHP script edit the file php.ini. Note that this change will affect all websites and PHP scripts on the server. To find the location of php.ini, you can use the phpinfo() PHP function to find it. Create file with […]

Read more →