HowTo: Installing and running gLite UI tarball on Ubuntu.

Introduction

This guide explains the steps required to install, configure and run the gLite 3.2 UI tarball distribution on an Ubuntu Linux operating system. The following guide has been tested on clean 32-bit Ubuntu 8.10 and 9.04 distributions.

Prerequisites.

General

Make sure that you have a user account on the Ubuntu machine with administrative privileges. In addition, the machine should have a FQDN and a static public IP address.

Obtaining the gLite UI tarball distribution.

The UI tarballs used is for Scientific Linux 4 (SL4_i686) and can be downloaded from here. There are two tarballs available which have the following naming:

glite-UI-3.1.[ver].tar.gz
glite-UI-3.1.[ver]-external.tar.gz

Installing the necessary Ubuntu packages.

Execute the following command to download and install the necessary packages containing the Java JDK, the RPM package manager and the gcc/g++ compilers from the Ubuntu repositories. These package are used during the gLite UI installation.

sudo apt-get install build-essential sun-java6-jdk rpm

Installing and configuring the gLite UI tarball

Follow the installation guide available here in order to download and extract the two necessary gLite UI tarballs on your Ubuntu machine.

Before proceeding with the UI configuration as described here, edit the site-info.def file and change the following variables to the values specified below. In addition make sure that the UI configuration variables are set correctly.

INSTALL_ROOT=/glite
GLITE_EXTERNAL_ROOT=${INSTALL_ROOT}/external
GRID_ENV_LOCATION=${GLITE_EXTERNAL_ROOT}/etc/profile.d
FUNCTIONS_DIR=${INSTALL_ROOT}/glite/yaim/functions

Also create the grid-security and certificates directories as follows:

mkdir -p /etc/grid-security/certificates

Configure the UI using yaim:

/glite/yaim/bin/yaim -c -s /glite/site-info.def -n UI_TAR

From a SL4 UI copy the following missing libraries to directory /lib

libexpat.so.0
libldap-2.2.so.7
libldap-2.2.so.7.0.6
liblber-2.2.so.7
liblber-2.2.so.7.0.6
libssl.so.4
libcrypto.so.4

Finally, create the following symbolic link in directory /etc/profile.d so as to load the necessary gLite environmental variables every time a new terminal session is initiated on the machine.

sudo ln -s /glite/etc/profile.d/grid-env.sh /etc/profile.d/grid-env.sh

Testing the UI installation

To test the installation, download on the Ubuntu machine the UI test suite available here and follow the guide to run the 48 tests. Before running the tests, make sure that you have a valid VOMS proxy. E.g. type 'voms-proxy-init -voms dteam' to create a dteam proxy.

-- NicholasLoulloudes - 26-Jan-2010

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2010-01-28 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback