Skip to content

it.megocollector.com

The information technology compendium

Archive

Category: Linux

This guide will detail the upgrade of the Java Development Kit (JDK) on a Red Hat Enterprise Linux (RHEL) 5.54 and CentOS 5.5 operating system. This example is accomplished through the use of PuTTY and XMing....
Continue reading ...

A server running Red Hat Enterprise Linux (RHEL) 5.5 after a period of time of successful logrotation, failed to logrotate the Apache logs. The Apache logs grew into the GBs. There didn't seem to be any apparant or logical reason for this behavior, as the logrotation scripts were identical to other comparable servers. However, a command to debug logrotate may be used to determine the cause....
Continue reading ...

sardu1When it comes to the removal of a virus, Trojan, pest, or some other malicious application, it has been my practice to isolate the problem by removing it from the equation. What is meant by that is that there are cases where the system is inoperable or where several applications have been hijacked like Task Manager, Registry Editor, and other useful applications that are used to attempt to identify and resolve the computer problem. If ever in a bind where it is essential to remove an unwanted pest or recover data from an otherwise unbootable Windows based computer, I have tried an used several bootable CDs throughout the years. ...
Continue reading ...

linux-penguin

A backup of every file in every sub-directory created zipped archives of each individual file. This was not the intended result. To resolve this each file must be restored to it's original location and remove the created archive. ...
Continue reading ...

JBoss logs can take up gigabytes of space. The logrotation works well, however, there is no (not that I could find) means to compress in realtime. However, with a little work, this may be accomplished with a cron job....
Continue reading ...

linux-penguin

Using Red Hat Enterprise Linux 5.x ("RHEL") and / or CentOS 5.x, I wanted to know the size of the existing folder. There is a utility that will summarize disk usage for each file, recursively for directories. It is called du. As it turns out, this utility is also applicable for other distributions of Linux including Ubuntu. This command line utility with the following command parameters are useful for the desired result....
Continue reading ...

Logrotate is a utility that creates new log files, as well as, renames and compresses the old log files. The basic logrotate paramaters are located in the /etc/lograotate.conf file. The Apache logrotate paramaters are stored in the /etc/logrotate.d/httpd file....
Continue reading ...

Subversion is an open source version control system. This article will detail an installation of Subversion on a CentOS 5.x / Red Hat Enterprise Linux (RHEL) 5.x workstation. Subversion used for this article is version 1.6.911....
Continue reading ...