Category: Scripts

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 »

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 »

SendEmail on Linux – Send SMTP Mail from the Command Line

SendEmail is a lightweight, command line SMTP email client. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable. SendEmail is written in Perl and requires no modules. SendEmail is licensed under the GNU GPL, either version 2 of the License or (at your option) any later version. Although it…

Read More »
MySQL

Install MySQL on RHEL5 or CentOS5

To install MySQL server on the Red Hat Enterprise Linux 5 or CentOS5 operating systems is quite simple if you happen to know the correct yum packages. After a little research, this is the quickest and easiest path to get MySQL server up and running. Install MySQL server yum install mysql-server Autostart MySQL server chkconfig –level 2345 mysqld on service…

Read More »

Install Tomcat 5.5.28 on RHEL5 / CentOS5

A recent attempt to install Tomcat5 through the RPM repositories with the statement yum install tomcat5 failed to be as successful to run the application. Also there is a need to run Tomcat with Sun Java JDK not the openJDK that is available through the channels. These are the steps to get Tomcat up and running on a Red Hat…

Read More »

MySQL Commands

There are many sites that will provide far greater detail and comment than this one. However, this is a list of basic commands that I have found repeatedly useful. MySQL Commands Create a database List all databases Switch to a database Show tables in a database Delete a database Delete a table Show data in a table Find a specific…

Read More »

Install JDK on RHEL5/CentOS5 Using PuTTY and XMing

This is yet another way that I had pieced together to install the Java Development Kit (JDK) on a Red Hat Enterprise Linux (RHEL) 5.4 and CentOS 5.4 system. This time, the process is accomplished through the use of PuTTY and XMing. Install Java and Set Environment Variables Download JDK6 Note: If this link doesn’t work, it may be a…

Read More »

Linux Command Tips – Nautilus

This is part of my series, useful Linux commands and tips. Nautilus is the official file manager for the GNOME desktop. The name is a play on words, evoking the shell of a nautilus to represent an operating system shell. Like all applications that run under Linux, Nautilus has it’s own command line options. To view the command-line options A…

Read More »

Linux command tips – How to Start and Stop Services in RHEL 5 and CentOS 5

This is part of my series, useful Linux commands and tips. Although there is a great GUI utility to simplify service administration, called Service Confiuration tool, in an environment that favors the command line equivalent, it would also be good to know those commands. These commands will require root level access. Here are the commands: starts the background service stops…

Read More »

A MySql ibdata1 Optimization Technique

A MySql database needed to be removed and upon deletion of that single database, the extremely large three gigabite ibdata1 (data) file remained. Here are the steps I took to reduce or shrink the file once the database was removed. Since there was no other use for this MySql installation, there remained the MySql system databases. Show Databases Backup Databases…

Read More »

IIS 6 Compression – The Quick Way

There are many articles that I’ve come across that detail how to enable gzip compression within IIS 6 on a Windows Server 2003 with the Application Server option enabled nder the Configure My Server 2003 wizard. Gzip compression can compress the output of dynamic webpages (.aspx) and webservices (.asmx). It can reduce the filesize significantly. Here is a series of…

Read More »

Add missing FSMOs the Active Directory

There was a situation where one of the primary domain controllers would not boot and we were forced to upgrade the other domain controller to the primary controller position. This is an AD domain operating on Windows 2003. All references to the failed server were removed from AD. The AD domain seemed to be functioning correctly, until an attempt was…

Read More »

Solution to the WordPress Plugin WPTouch Returns a 404 Error when the Category is Empty.

There is an excellent plugin for WordPress called WPTouch. It’s purpose is to format web content to display more appropriately on portable devices such as the iPhone, BlackBerry, and other similar interfaces. It is extremely customizable. One of the nagging issues that I had had with this plugin is that it contains it’s own function for displaying categories. The problem…

Read More »

How to Change the Microsoft Office 2007 Product Key

There are many situations that come to mind as to the reason why someone would want to change the product key. Such examples may be changing from a retail key to a volume license key or vice versa or to remove the license on a computer that you are selling, this would require the enduser to supply their appropriately purchased…

Read More »

WordPress Tip: Add modified dates to posts

On more than one occassion, I have read through an article that seamed relevant until I realized that the date of the article maybe years old. In many cases, the authors have made changes to the article, but the reader really isn’t sure about the content of the article because of the age, so they simply pass over the article,…

Read More »

WordPress Plugin: Paypal Donate (Version 1.1)

The original WordPress PayPal Donate is a plugin written by Mikhail Esteves in 2006. This plugin allows for the easy inclusion of Paypal Donate buttons in WordPress posts and pages. On the option page the generated donate button code provided by PayPal can be saved to a form and the pre-defined tag may be applied to individual posts or pages….

Read More »

How to get wp-print to display Nextgen nicely!

There are many great WordPress plugins that every site owner should consider using. Of the plugins, wp-print and Nextgen Gallery will greatly enhance any site. However, wp-print does not display the Nextgen Gallery the way that I would like it to. Instead of displaying the images in a row as displayed on the site, the printable version is a long…

Read More »