Workbook on Digital Private Papers > Setting up the Paradigm Digital Repository
Installing - Java
This walkthrough will show how to add a local directory as an installation source. We needed to do this to obtain the latest version of Sun Java: our CD/DVD distribution of SUSE 10 shipped with Sun Java 1.4-2 and we required version 1.5. Sun Java 1.5 rpms for SUSE are available from the update site for SUSE Linux 10. Our dark archive does not have an internet connection, so we took the following steps to install the package:
- Acquire the rpms from the update site.
java-1_5_0-sun-1.5.0_06-1.1.i586.rpm
java-1_5_0-sun-alsa-1.5.0_06-1.1.i586.rpm
java-1_5_0-sun-demo-1.5.0_06-1.1.i586.rpm
java-1_5_0-sun-devel-1.5.0_06-1.1.i586.rpm
java-1_5_0-sun-jdbc-1.5.0_06-1.1.i586.rpm
java-1_5_0-sun-plugin-1.5.0_06-1.1.i586.rpm
- Transfer them to a directory which the machines to be installed can see.
- Register this directory with YaST as an Installation source
- Install as normal
~paradigm/download
The following screenshot shows us acquiring one of the rpms to be installed:
From the Desktop
We will now register the download directory with YaST as an additional installation source. This can be conveniently reached using Konqueror from the KDE desktop; to open Konqueror click on the little blue house at the bottom-left of your screen. Then click on Home Folder and navigate to the download directory.
Click on any rpm file.
You could either install the selected package directly but registering the directory as a Source will allow more than one packages to be selected for installation. So click Use Directory as Source with YaST.
Supply the root password to gain root privileges.
Click OK to acknowledge confirmation message.
Start up YaST (Yet another Setup Tool) by clicking the SUSE toolbar's "Start" button (the green button with the smiling gecko) => System menu => Control Center (YaST):
The YaST dialog opens telling you that you need to enter root's password before you can continue:
Enter the root password.
In the YaST window that opens, click the Software icon in the left menu and then the Installation Source icon to the left.
You should find the directory is now registered as an installation source. Select Finish.
In the YaST window that opens, click the Software icon in the left menu and then the Software Management icon to the right.
YaST takes a moment to inventory what you already have installed and what you can install. Then it opens a window with a search dialog.
Search for java.
Select components as required and then click Accept.
YaST will automatically include/remove any necessary packages - select Continue.
The selected packages are now installed:
YaST updates the system configuration files. Select Finish and we will check whether we have successfully installed Java.
Open a terminal window - "Start" menu => System => Terminal opens a KDE Terminal called Konsole: or click on the terminal icon in the Task bar.
Type the following: java -version all being well the java version banner should appear.
Previous section << Install Postgresql
Next section >> Install Tomcat