Archive for the ‘Linux’ Category

Is InnoDB enabled or not?

InnoDB is a storage engine used by MySQL. It supports commit, rollback and crash-recovery capabilities to protect user data. Very large database are configured on InnoDB due to its maximum efficiency. To maintain data integrity, InnoDB also supports FOREIGN KEY referential-integrity constraints. You can freely mix InnoDB tables with tables from other MySQL storage engines, [...]

Overloaded Server?

There may be many reasons why a server can get overloaded and so there must be some work done to find where the bottleneck may be.  Common problems, in order of probablity,  are usually with the CPU/RAM, hard disk speed, and unoptimized software.  In this post I will discuss these common problems. You can use the [...]

How to Install IonCube Loader

IonCube loader is an encoder which encodes php scripts to prevent un-authorized modifications made to your PHP Source. Installation steps: Download appropriate ioncube loader supported to your server platform, from http://www.ioncube.com/loaders.php Extract the files from the tarball tar -zxvf ioncube_loaders_lin_x86-64.tar.gz Now, we need to move ioncube to the correct directory to /usr/local/ mv ioncube_loaders_lin_x86-64 /usr/local/ioncube [...]

How To Restart Networking On Various Linux Distributions

Here is a handy list with the needed commands to restart networking on various distributions.

How to install Rkhunter

Rkhunter is a security tools which is used to scan files for rootkits, backdoors, sniffers, and other security threats. Installation steps: Download latest version of rkhunter from http://downloads.rootkit.nl/ tar -xzvf rkhunter-1.3.8.tar.gz cd rkhunter-1.3.8 sh installer.sh –install Checking system for: Rootkit Hunter installer files: found A web file download command: wget found Starting installation: . . [...]

How to Install imagemagick / imagick for php on Centos server

It is quite easy to install ImageMagick /imagick for php on centos server. For this, use the following steps. yum install ImageMagick yum install ImageMagick-devel If you are not installed “ImageMagick-devel” then you will get the error below: “configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.” Proceed with php-pear installation [...]

Linux run levels

None of us will want to start each and every system processes soon after a reboot. When a system is rebooted, all its processes are shutdown. Processes here I mean is mainly about the Apache and MySQL applications. They are one of the main services that is always needed to run in your server. These [...]

The lsof command

The lsof command means list of open files which is mainly used in the Linux environments. This will list all the files or processes that is opened by a system. The lsof command will show its current path, the process id, the user that is performing the application  etc. How it works: A simple lsof [...]

The Linux find command

The find command is one of the handy command line tool that is used to search a particular file in your Linux server. We usually are used with the find commands using the GUI. But, the find command in linux are extremely fast and powerful. This can be even used to find a file and [...]

The most common Linux commands

Linux is a vast ocean where there are a lot of commands that can be used to find out the working of various applications. Most of the commands can be merged and  used to get a combo effect. Some of the common commands that I use are the following: System Information and process commands: 1. [...]