Remote Enable Remote Desktop on Windows Server 2003 using Regedit

Remote Desktop on Windows XP Professional or Windows Server 2003 will allow access to a Windows session that is running on another computer from your local computer. However, this feature must be enabled to do so. I recently setup a Windows Server 2003 server and forgot to enable remote access. To enable remote access, you can right click on Computer…

Read More »

Automatic JBoss log compression using Linux

JBoss logs can take up gigabytes of space. The log rotation works well, however, there is no (not that I could find) means to compress in real-time. However, with a little work, this may be accomplished with a cron job. I am not going to go into too much detail or background, there are many sites that do this well….

Read More »

Linux: How to find a directory size?

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…

Read More »

Microsoft Windows Update error 0x80240025

Recently attempted to update a Microsoft Windows XP workstation only to encounter an error message, error 0x80240025. According to one forum, it could be that of a Group policy to disable access to the Windows update. Error 0x80240025 denotes a Group Policy setting. If you check the registry for the DisableWindowsUpdateAccess key, you will likely find the following: S-1-5-18 maps…

Read More »

RHEL Logrotate Apache Logs Daily with Compression

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. The default Apache logrotate file will create a new log file and rename the old log file and may look like…

Read More »

Remove those Pesky Ads from Facebook

It is well documented how to add three elements to Adblock Plus for Firefox. However, I added another blocking rule to remove most of the remainder advertisements. The three Element Hiding Rules are facebook.com#*(social_ad) facebook.com#*(social_ad_advert) facebook.com#*(sponsers) I also added: http://www.facebook.com/ajax/emu/f.php?eid= Which resulted in many more ads being removed.

Read More »
MySQL

MySQL Rename a Database

Recently, I worked on a project where the database needed to be renamed. I found this script that worked perfectly. Source: StackOverflow

Read More »

Subversion on CentOS 5.4 installation guide

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. Install rpmforge repository RPMforge.net release file. This package contains apt, yum and smart configuration for the RPMforge RPM Repository, as well as the public…

Read More »

Tomcat default Administrator password

Tomcat 5.5 does not enable the admin or manager access by default. To allow for admin and manager access, the tomcat-users.xml file found in the /tomcat/conf directory. The original file may look like this. This is the modified file, adding manager and admin to the roles and usernames. Restart the Tomcat services, and you now have access to the administrative…

Read More »

Update RHEL5 using YUM package via CentOS online sources

Compelling reasons why anyone would want to do this is that your trial period has expired, your support agreement has expired and you do not want to renew it, your system may be outdated, you want to install another application, or you just wanted to see if it could be done. Before continue reading, after testing this exercise and applying…

Read More »
VMWare Logo

VMware ESXi 3.5 License Restriction and ghettoVCBg2

In a test environment, VMware ESXi was needed. ESXi 4 supports 64 bit, and ESXi 3.5 supports 32 bit. Based on the hardware configuration, ESXi 3.5 was selected. However, we were interested in knowing how ESXi compares to ESX in terms of restrictions or “cripple” functions. After searching through the Internet and VMware to determine how ESX 3.5 and ESXi…

Read More »

PHP 5.3.2 with IIS6 and FastCGI Installation Guide – Updated

There are many articles on the web that detail the installation of PHP on IIS6. Older, dated articles use the ISAPI that is no longer under development nor packaged with the more current versions of PHP. When an article describes the the installation of FastCGI for PHP and IIS, it is generally assumed that you have a working installation of…

Read More »

WordPress: Display Recently Updated Posts with Shortcode

Floating around the Internet is a piece of PHP code that is designed to display recently updated posts/pages in WordPress. For some reason or another, I was unable to get the code to work with the expected results. I attempted to convert the code for use with functions.php and shortcodes with little success. After submitting a request to experts-exchange for…

Read More »

VNC Server Autostart on RHEL5 / CentOS5

The following steps will autostart a VNC server on a Red Hat Enterprise Linux 5.x or CentOS 5.x operating system after a reboot. The Linux user account that needs VNC server to automatically start up after system reboot, must have a VNC password. To create a new (or reset a forgotten) VNC password, just login as root or su (switch…

Read More »

Using YUM package via CentOS online sources in RHEL5

This guide provides the steps to use the YUM package for CentOS on a Red Hat Enterprise Linux 5 installation. Delete current YUM package Find all the YUM packages Delete all yum package,if error cause by dependence ,add –nodeps Download the relative packages Install, verbose, and print hash marks (ivh) Download the CentOS Base Repository Update your system Source: http://www.linuxcream.com/blog/linux-system/linux_redhat/using-yum-package-via-centos-online-sources-in-rhel5/

Read More »

Active@ KILLDISK for DOS

There are a few hard drives that needed to be wiped. I had tested DBAN, a freeware product that has worked successfully over the years and on practically everything I threw at it. There was a situation, once, where I was unable to wipe the hard disk with DBAN. I don’t remember exactly the cause for this inability, however, I…

Read More »

Media Player – How to delete the database

The media library is outdated or the source is no longer available, you would want to delete all the files in the C:\Users\username\AppData\Local\Microsoft\Media Player. However, all but a couple of them remain, one being the likely rather large database. This was the situation on a Windows Vista workstation with SP2. To resolve this, go to your Services through Control Panel…

Read More »