How to chkconfig off and on Multiple services with a bash script

This has more applications than with just the chkconfig command. However, I found this script to be useful and wanted to add it to my database of useful scripts. This script will chkconfig off the services listed in the services variable. By changing the off to on, the script will chkconfig on the services listed in the services variable. Here…

Read More »

Bash Script Execution Timer

Suppose you wanted to determine the length of time it took to complete the execution of a bash script. Rather than sitting in front of the computer and estimating the time elapsed by watching the script execute with a stopwatch, it can be done with a few lines of code. Near the top of the script add the following variable…

Read More »

Linux: Using chkconfig

From the man pages, chkconfig is defined to provide a simple command-line tool for maintaing the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. When chkconfig is run without any options, it displays usage information. If only a service name is given, as in the case above, it…

Read More »

Combine Linux Comands using && and ||

When using if then statements in your scripts, these statements will likely take up multiple lines. Sometimes, you may want a simple if then statement and would prefer to write only one line of code. This is a quick tip I picked up the other day. It is a simplification and explanation off how to combine multiple lines of code…

Read More »

Update ColdFusion with Unofficial Updater 2

ColdFusion has numerous hot fixes and security bulletins published and available for download. However, navigating through the Adobe website to obtain all necessary patches can be a daunting experience. Once you have the patches, then there is the application of each patch. Through the ColdFusion Adminstrator, select the patch, apply the patch (if it doesn’t fail), stop and start services,…

Read More »

Update ColdFusion 9 JVM on Windows

ColdFusion 9.0.1 ships with Java 1.6.0_17. This guide will show how to upgrade to a newer version of Java. ColdFusion supports all minor releases of Java. For example, if ColdFusion supports JDK 1.6.0, all JDK 1.6.0_x updates are supported. JDK 1.7.0 is not considered a minor Java release. Unless explicitly stated that ColdFusion supports JDK 1.7.0, you cannot upgrade to…

Read More »

A Custom SyntaxHighlighter 2.0 brush for INNO Setup

Using the SyntaxHighlighter Evolved Plugin (version 2.x) for WordPress has really given the code on this site more curb appeal. As many brushes that come with the plugin and searching through the third-party brushes throughout the Internet, I could not track down a brush for INNO Setup scripts. After a couple of hours and many attempts at this, I have…

Read More »

How to change the IP address of a Linux computer using a script

There was a CentOS server where the IP address needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script. This may not be all inclusive, but it did work for me on a CentOS 5.8 server. To use this script,…

Read More »

How to rename the host name of a Linux computer using a script

There was a CentOS server where the name needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script. This may not be all inclusive, but it did work for me on a CentOS 5.8 server. To use this script, simply…

Read More »

Add SyntaxHighlighter Evolved Plugin Third Party Brushes To Your WordPress Installation

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev. It is prepackaged with a select handful of brushes, which includes several third-party brushes. There are many more third-party brushes that are available and not part of the plug-in package….

Read More »
VMWare Logo

Optimize VMware Virtual Machines Using a Batch File

Years ago, there was a couple of batch files that were floating around the Internet that were designed to defrag and shrink virtual machines created and used by VMware Workstation or VMware Server. Over time, the scripts became a little obsolete in that some of the command line functionality was lost from the removal of a utility, vmware-mount, from newer…

Read More »

Microsoft Windows XP won’t detect SATA DVD drive

An older Pentium 4 computer recently had an IDE DVD burner that died. The quick replacement available was a SATA DVD burner. The BIOS recognized the drive, but Windows XP SP3 did not. It turned out to be a quick fix. Go to Device Manager and uninstall the IDE ATA/ATAPI controllers. After the computer rebooted, the controller automatically reinstalled, this…

Read More »

Enable The Root User In Ubuntu 10.0.4

Many Linux distributions permit the use of the root user as a primary login, however, the dominant and popular Ubuntu has left some users in a conundrum. In order to perform tasks as a root user, this must be performed within a terminal window with the sudo command. However, here are a set of instructions that will allow the root…

Read More »

Install SelfSSL on IIS 6.0 Development Server

A production IIS 6.0 server serves secure pages using SSL. To get a development server as close to the production server as possible, the final touch was to add a SSL. Since the SSL is generated for the production server, it cannot be used on the development server. A new SSL is needed. To accomplish this, use SelfSSL 1.0. The…

Read More »

Download YouTube Content with Firefox and Add-ons

There are many plugins that are available to Firefox users that are capable of great many things. In some cases, as is the case of YouTube downloaders, there are many add-on to from which to choose. Not all add-ons are created equally, so to determine which one is best for your particular situation, you may find yourself downloading all the…

Read More »

Update Multiple Linux Servers Simultaneously From Windows

Unlike Windows, Linux can be extremely flexible. Have you ever updated multiple Windows servers. It is a daunting task, even when using an automated approach like WSUS or whatever it is called these days. Linux is easier, however, to log into server, and run a simple command can become time-consuming if there are many servers. I have written a script…

Read More »

Making background image fit any screen resolution with CSS

The usual approach for placing a background image is by placing the background within the body using CSS. No modifications are needed to the HTML file for the background to be displayed. However, what if instead of a small repeating image, a much larger, single image is desired. In some resolutions this approach with some slight modifications to the CSS…

Read More »