Tag Archives: CentOS

Update on installing JRE 6 on CentOS

Looking at my blog statistics shows that my post on “Installing the latest JRE 6 on CentOS” is one of the top positions. Also a lot of search engines referrals come to this post.

Thus I would like to give a short update to the blog post, since some things have changed since then. Also CentOS has been updated to Version 5.2 in the meantime.

The way I have done it with modifying the symbolic link in “/usr/bin/java/” still works, but it is not the recommended way to do it. Thus I follow here the path that the CentOS project has outlined. Where applicable I updated the link information. So, without further ado, let’s install JRE 6 or update it to the latest Version (update 6 for 6) as of today (06/26/2008).

  1. Install the “jpackage-utils” (should already be installed) with;
    “yum install -y jpackage-utils”
  2. Download the JRE 1.6 from Sun. Grab the one that with “…RPM in self-extracting file”.
  3. Make the downloaded “bin” file executable and run the installation. Enter;
    “chmod +x jdk-6u1-linux-i586-rpm.bin”
    and follow with;
    “./jdk-6u1-linux-i586-rpm.bin”
    This will give you the RPM file to install.
  4. Next, download the needed add on package from:
    http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/RPMS/ The file you should download starts with “java-1.6-sun……..”. Got it? Let’s continue.
  5. Now install both RPM’s with;
    “rpm -Uvh jdk-6u6-linux-i586.rpm”
    and
    “rpm -Uvh java-1.6.0-sun-compat-1.6.0.06-1jpp.i586.rpm”
    (Since you might already have a older version of Java 6 installed the first will tell you that it is installed and will abort the installation. Thus separating the two installations.)
  6. IF you have already modified the symbolic link under “/usr/bin/java/” then you should remove this link now! Simply issue a;
    “rm -f /usr/bin/java”
  7. Now with the “alternative” system you can switch between the JVM easy. Since we want to have 1.6 running you need to set this in the alternatives. Luckily this is simply done with;
    “/usr/sbin/alternatives –config java”
    You should now see the following;

    Enter “2″ into the selection prompt. The system has now changed the Java runtime for you to the new 6 release.
  8. Test it with;
    “java -version” and you should get this;

That’s it. You are all set with the latest Java update. With future updated of Java all you need to do is to download the JRE from Sun and install it.

Remember if you set the JAVA_HOME variable in your profile to update it as well to the new installation!

Comments { 218 }

CentOS 5.2 released

I totally missed this and saw no one blogging about it, but apparently CentOS 5.2 was released on June 24.All of our CFML Servers and websites run on CentOS.

Major changes in CentOS 5.2 compared to CentOS 5.1 are: Firefox 3, Thunderbird 2, OpenOffice.org 2.3 and Evolution 2.12 on the Desktop side, Samba 3.0.28, xen-3.1.2 and an upgraded kernel with lots of driver updates on the server side of the system. The release notes can be found here.

Comments { 8 }

Update to Open BlueDragon VMWare image available

We just updated the Open BlueDragon image to hold the latest changes. These are:

  • CVS access:
    As of 05/15/2008 the Open BlueDragon project has CVS access. This is now also enabled in this latest update of the image. CVS checkout has been done into the directory /var/lib/tomcat5/webapps/openbd. You can update the CVS Open BlueDragon now. “cd” into the directory and do a “cvs update” to retrieve the latest updates.
  • The deployed “openbluedragon.war” file has been updated to the latest release (as of 05/15/2008).
  • All CentOS 5.1 updates have been applied (as of 05/15/2008)

Due to the new release and change in size (1.1 GB) I had to make a new torrent file. Please update your trackers, seeding clients, etc. Thank you.

The VMWare image as well as the torrent (updated) can be download at the usual blog post.

Comments { 10 }

Installation of ColdFusion 8 Beta on RedHat/CentOS 5

Today we installed ColdFusion 8 Beta (get it now on labs.adobe.com) on RedHat/CentOS 5 (within VMWare Fusion 4 Beta) and run into some troubles. The problem was that the installer did not configure the connector to Apache 2.2.x correctly and when you tried to log on to the CF Administration you did not get the expected welcome screen.

The solution to this is to run the Apache Connector again, but with some modification.

  1. Go into the ColdFusion installation directory (/opt/coldfusion8) and then to the “connectors” directory. Open up the file “apache_connector.sh” and set the paths to your apache installation correct.
  2. Install the httpd-devel package. To do so, enter the terminal and execute the command “yum install httpd-devel*”. Without it the script above fails to run.

Once the above steps are done you can run the script with “./apache_connector.sh” and everything will be setup and your ColdFusion will be happy to serve you.

Comments { 33 }