Tag: rhel5

Subversion on CentOS 5.4 installation guide

Subversion is an open source version control system. This article will detail an installation of Subversion on a CentOS 5.x / Red Hat Enterprise Linux (RHEL) 5.x workstation. Subversion used for this article is version 1.6.911. Install rpmforge repository RPMforge.net release file. This package contains apt, yum and smart configuration for the RPMforge RPM Repository, as well as the public…

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 »
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 »

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 »

Linux script with bad interpreter: No such file or directory error and fix

I had written a script that worked on one machine but not another Linux installation, Red Hat Enterprise Linux 5. The script returned an error with “bad interpreter: No such file or directory” and referenced the first line of code. I could not visually see the error as it looked to be like any other script. The problem turns out…

Read More »

Connect to VNCServer on Red Hat Enterprise Linux

Virtual Network Computing (VNC) is remote control software to allow computers interact with one another as a server and client. It is developed to ease the administration of remote machines without using the console. For Windows users, there may be a a familiar feel similar to that of Windows Terminal Services (RDP). VNCServer is standard on a Red Hat Enterprise…

Read More »

Autorun JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server

You already have JBoss ready and operational. JBoss can be started through a command line or through a shell script that you have created; however, these steps are manual and an automated approach is desired. The goal is to automate JBoss as a service or daemon. There are many, many tutorials that are all over the internet that offer scripts…

Read More »

Create a service for JIRA on CentOS 5 or RHEL 5

Atlassian JIRA is a bug and issue tracker. Atlassian JIRA lets you priorities, assign, track, report and audit your ‘issues,’ whatever they may be — from software bugs and help-desk tickets to project tasks and change requests. After installing JIRA, on a CentOS 5.2 Linux installation, I wanted to automate the starting and stopping of JIRA by creating a service….

Read More »

Access Red Hat Enterprise Linux 5 with XManager Remote Control

NetSarnag Computer, Inc. offers a product called XManager 3 that will enable a Windows workstation to access a Linux box. However, there are some configuration changes that need to be made on the Linux box for this application to work. The documentation offered by netSarang Computer, Inc. is far from accurate as it looks outdated. Too many assumptions are made….

Read More »

Setup JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server

A recent task required an installation and setup of a JBoss Application Server on a Linux box. I originally selected the Ubuntu 8.0.4 LTS Server Edition for this task since I have had a little more experience with Ubuntu. I have graduated to Red Hat Enterprise Linux 5.2 (RHEL) and CentOS 5.2. I created A RHEL virtual machine with VMware…

Read More »