Information Security

Check Linux Server For Rootkits, Check If CentOS Linux Server Is Compromised

Yesterday I wrote an article about securing your /tmp and /var/tmp directories on a Linux server because I had found some files uploaded to the /tmp directory via the apache user. After locking down those directories I wanted to verify that there were no other issues on the server so I installed Rootkit Hunter and Rootcheck which are two applications that will assist you with verifying the integrity of your Linux server. Below is information on installing Rootkit Hunter and Rootcheck as well as information on how to use each of them effectively.

Technology Insights

Litespeed PHP Compile Error: Cannot find autoconf

Once I finally made it past the PHP build process the Litespeed Admin Console Detailed Log complained of not being able to find autoconf. This one is fairly obvious but wanted to note just in case someone is not familiar with the autoconf package. Again since this is a new server with a minimal install the autoconf package had not been installed. Below are details about the error from the Litespeed Detailed Log and how to install autoconf via yum.

Technology Errors

Litespeed PHP: configure: error: xml2-config Not Found. Please Check Your libxml2 Installation

While compiling PHP on a Litespeed web server this evening I ran into multiple issues one of which related to the libxml2 package on the server. This can be confusing because on the server libxml2 was installed. Below is more information regarding the error located in the Litespeed Admin detailed log report which can be easily seen while compiling PHP from the web interface as well as information on what needs to be installed to resolve the error.

Technology Insights

Install Or Upgrade One Application From coreutils Package On CentOS Linux

Yesterday I needed to upgrade a single application on CentOS Linux. First I figured out that the application was part of the coreutils RPM package which is currently only available up to version coreutils 5.97-23 on CentOS. The current coreutils package is already up to coreutils 8.5 and upgrading coreutils is near impossible on CentOS because of other package requirements that it needs. Below are instructions on how to download the coreutils source, build the coreutils applications in a new directory, and then upgrade one application.