wiki:InstalldCacheOnUbuntu1204
Last modified 6 years ago Last modified on 06/11/12 15:00:19

This page is in progress. It may contain errors.

Installing dCache on Ubuntu 12.04 64bit

After building the dCache DEB package you currently need to manually create the group "dcache".

Installing and configuring Postgres

Do the following steps as root unless stated otherwise:

  1. Install postgresql via the package manager. This will install and start PostgreSQL 9.1.

1.1. PostgreSQL will be installed into /usr/lib/postgres/9.1/ 1.2. Installation will _not_ set the path to include /usr/lib/postgres/9.1/bin.

  1. Stop the server with service postgresql stop
  2. Initialise the database by running /usr/lib/postgres/9.1/bin/initdb -D /var/lib/pgsql/data/
  3. Configure access to the database by edititing /var/lib/pgsql/data/pg_hba.conf (see dCacheBook)
  4. As user postgres start the server with /usr/lib/postgresql/9.1/bin/postgres -i -D /var/lib/pgsql/data/ >/var/log/postgresql/postgres.log 2>&1 &
  5. Follow the steps to configure Chimera in the Book.
  6. Follow the steps to create the users and databases for dCache.
  7. Follow the steps to generate the SSH-Keys

Installing Globus Toolkit 5.2 on Ubuntu 12.04 64bit

To install Globus TK you first need to get and unpack the sources from here.

In order to compile you need several additional packages:

  • openssl
  • libltdl3-dev
  • libcurl4-openssl-dev (?)
  • libcrypto++ (?)
  • libcrypto++-dev (?)
  • libcrypt-openssl-x509-perl (?)
  • libssl-dev

After this. Run as root ./configure and after that make. Building will take quite a while. If everything works fine, a follow up make install will install the toolkit into

/usr/local/globus-5.2.1

To run gsisftp you have to create the directory /etc/gsissh Also you need to create a symlink from /usr/local/globus-5.2.1/bin/gsissh to /usr/bin/gsissh.

Install VOMS clients

Install voms-clients from the repository.

To use the clients you also need the lcg-CA. To install it do

  1. wget -q -O - \

https://dist.eugridpma.info/distribution/igtf/current/GPG-KEY-EUGridPMA-RPM-3 \ | apt-key add -

  1. Add #### EGI Trust Anchor Distribution ####

deb http://repository.egi.eu/sw/production/cas/1/current egi-igtf core to your apt sources.

  1. apt-get update
  2. apt-get install ca-policy-egi-core

To use the clients with voms, you need to create the directory /etc/vomses and fill it e.g., with the files from grid.desy.de.

Install dCache SRM-Client

dCache's SRM