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. <?xml version=’1.0′ encoding=’utf-8′?> <tomcat-users> <role rolename=”tomcat”/> <role rolename=”role1″/> <user username=”tomcat” password=”tomcat” roles=”tomcat”/> <user username=”both” password=”tomcat” roles=”tomcat,role1″/> <user username=”role1″ password=”tomcat” roles=”role1″/> </tomcat-users> This is the modified file,…

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 # rpm -qa |grep yum Delete all yum package,if error cause by dependence ,add –nodeps # rpm -e Download the relative packages wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm wget http://mirrors.163.com/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm Install, verbose, and…

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 »

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 create database databasename; List all databases show databases; Switch to a database use databasename; Show tables in a database show tables; Delete a database drop database…

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 nautilus…

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: # /sbin/service [name] start starts…

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 »