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 »

Linux command tips – ifconfig

This is part of my series, useful Linux commands and tips. The ifconfig (short for interface configurator), a system administration utility to configure, control, and query TCP/IP network interface parameters, is located in the system’s /sbin directory. /sbin is not usually included in the user’s PATH environment variable. For this reason, when you attempt to execute ifconfig, bash can not…

Read More »

Handling X11 Forwarding Using SSH

This will guide you through the steps to access a Linux server, specifically, a Red hat Enterprise Linux 5.4 or CentOS 5.4 server, through the use of PuTTy and Xming. It is a relatively simple setup that will require only two freeware products and a quick verificatino of setting on the Linux server. With the use of these two tools…

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 »

BlackBerry Storm and Storm 2 Out of Memory

Installing apps is a relatively easy process, however, their complete removal is not. In some cases, to free up space, I have deleted an installed application then rebooted only to find that the application is uninstalled, yet remains listed in the apps and is slightly darked out. As in this case, additional apps nor application updates could not be performed…

Read More »

WordPress plugin Simple Tags fix for WordPress 2.9

Simple Tags is broken with the upgrade to WordPress 2.9. Simple Tags offer many advanced tagging features, that include mass tag editing, embedded tagging, auto tags, dynamic tag clouds, and many other feature. There is a “simple” fix to make it work. The author had hardcoded WordPress versions. Here is the original line of code, found in the file simple-tags.php…

Read More »

WordPress 2.9 Add Post Image

WordPress 2.9 among other things offer built-in support for post-thumbnails. Although it is available, there are two things to change to the theme. Add the following line to the functions.php file. In many cases, the index.php file will contain the loop. Add the following A great reference: wpengineer.com and ulyssesonline.com

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 »