A Quick Guide to VNC Server on CentOS 6

After searching through several guides, all complete in one way or another, however, not complete enough, I put the pieces together into this guide. This particular configuration is a basic VNC server with two users. After creating the second user, the process can be repeated for additional users. Install the VNC Server Edit the /etc/sysconfig/vncservers file. Note that on the…

Read More »

Windows XP: Blue Screen After Installing SP3

On a relatively fresh installation of Windows XP with SP2 on a Compaq Presqrio desktop running an AMD processor, Windows XP SP3 was applied. After an apparently successful installation, upon reboot, at the Windows XP logo, the system quickly flashed a blue screen of death and rebooted. Fortunately, I was able to login to the computer in safe mode to…

Read More »

Convert a CentOS 6 install to a Scientific Linux 6 install

CentOS, Scientific Linux ("SL"), and Oracle Linux are all based on the Red Hat Enterprise Linux ("RHEL") code base. Though there are differences between them, the similarities are more than not. For whatever the reason, there are documented processes that permit the conversion from one of the aforementioned Linux distros to another. This conversion will document another approach based on...

Read More »

RPM –import vs GPG –import

GPG keys are stored in the /etc/pki/rpm-gpg directory, as part of the CentOS 6/RHEL 6 install. Looking though the contents of this directory, files like RPM-GPG-KEY-CentOS-release exist. To actually use the key to verify packages, it must be imported. The following command provides the contents of /etc/pki/rpm-gpg There are two seemingly independent methods to import the keys: one using gpg,...

Read More »

Embed an Image Into A Shell Script

Instead of having to distribute an image file with a shell script that called for the file, an idea came to mind to embed the image into the shell script. Although one way was found, I devised an alternate simpler method to distribute the image file embedded in the script. The first method uses four lines of code. This method…

Read More »

Vsftpd FTP Server With Virtual Users ( MySQL + PAM )

vsftpd (“Very Secure FTP Daemon”) is an FTP server for Linux and supports PAM (“pluggable authentication modules”). A virtual user cannot login to the Linux system and is considered more secure than using a “real” user whom can login to a Linux system. This guide offers a script that demonstrates yet another way to setup a vsftpd server using PAM…

Read More »

Hyperic Server init Script to Autostart

Hyperic is a tool that offers visibility into applications and infrastructure across physical, virtual, and cloud environments. It consolidates discovery, monitoring, analysis and control of application, system, and network assets. Hyperic is available as vFabric Hyperic, the commercial version, and as Hyperic HQ, the open-source version. While similar, vFabric Hyperic offers additional features over the open source version. What this…

Read More »

A Bash Script Shortcut to Echo Multiple Lines To A New File

Script or batch file writing can be very rewarding, especially when the script written works as planned. What is particularly rewarding is when a shortcut is found that greatly simplifies how the script is written and executed. Here is a couple of shortcuts that I picked up from the Internet. The end result all seem to be the same. This…

Read More »