Category Archives: Linux Tricks

How To Install Zend Optimizer on Any Linux Server

Recently I’ve seen many solutions on how to install Zend Optimizer using custom build script in Directadmin. I’d like to show you how to install it on almost any linux server using usual linux commands. First of all, let’s download it from Zend server (they require to register in order to obtain this link. wget http://downloads.zend.com/optimizer/3.2.8/ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz Then we’ll… Read More »

How to Add RAR support to CentOS 4 (Red Hat Enterprise)

Today I had to install rar support to unpack a big file. I’ve tried to download an archive from rarlab site and even unpacked it. Everything seemed to be nice, but when I tried to unpack a file, I faced the following error: unrar: /lib/tls/libc.so.6: version `GLIBC_2.4′ not found (required by unrar) . I’ve searched for an updated… Read More »

How to Edit Crontab From Command Line

Editing crontab from command line In some cases you need to edit your crotab via command line interface. That’ s easy, but if you’ re not familiar with vi and its commands, you might have problems saving and editing cronjobs. First of all, let’s[ list your current crontab contents by issuing the following command: crontab – l This… Read More »

Detecting High Server Load in Linux

For a long time I’ve been thinking that load average numbers that are produced by top command output truely represent server load. My first idea was that these numbers show me the percentage of relative server load, combining CPU usage, Memory usage, etc. Somebody even told me that this parameter should not exceed 3. If it is higher… Read More »

Installing PHP On A Clean Server

If you just got a clean server without PHP installed and you are trying to do this, you might receive the following error: configure: error: no acceptable cc found in $PATH. This means you don’t have c compiler installed. Just type in yum install gcc and install all the necessary libs. Then you might receive the following message… Read More »