USE OF THE INFORMATION ON THIS PAGE IS AT YOUR OWN RISK !
Notes on running CMSSW on ubuntu hardy heron
Running OpenAFS on ubuntu
- To start openafs, do
sudo /etc/init.d/openafs-client start
. If the OpenAFS kernel module does not exist (for the kernel version in use), this will complan.
Note that this needs to be redone when you install a new kernel version.
Running kerberized CVS
- make sure the package
krb5-user
is installed (for kinit
)
- Make sure
/etc/krb.conf
exists and contains the appropriate lines for CERN. If it doesn't exist, it's probably easiest to copy it from lxplus/lx32slc4
.
- Copy
/etc/krb5.conf
and /etc/krb.realms
from lxplus/lx32slc4
after making a backup of your existing /etc/krb5.conf
and /etc/krb.realms
. (yes, it looks like we need krb5 files despite only getting a ticket for krb4...)
- Copy
/usr/bin/cvs
from lxplus/lx32slc4
and make sure you put it in a directory where it is found before the standard cvs
(e.g. into ~/bin
and make sure that ~/bin
comes before /usr/bin/
in your PATH
).
- Get a token using
kinit -4 xyz@CERN.CH
.
- work with CVS
- make sure you have a file
/etc/redhat-release
. If not, copy it from lxplus
.
- setup the environment (for bash/zsh):
source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh
eval `scramv1 runtime -sh`
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh
(see also
here).
- in order to get
voms-proxy-init
to work, one needs libexpat.so.0
(e.g. /usr/lib/libexpat.so.0
from lx32slc4= in my case). I copied this into the directory from which I submit the crab jobs and added $PWD
at the end of the environment variable LD_LIBRARY_PATH
.
Links
Personal remarks
The following are not related to Ubuntu in general but more to my personal configuration.
Misc.
- For my machine, copy binaries from
lx32slc4
, not from lxplus
Mounting windows network filesystems
Assume you want to mount your Windows (NICE) network home directory on your Linux machine.
In the following example, the mount point is
/tmp/mnt
(which you must create if it does not exist).
Assuming your Nice login name is
johndoe
, try mounting your home directory as:
sudo mount -t smbfs -o username='CERN\johndoe' -o uid=$(id -u) -o gid=$(id -g) '//cernhomej/johndoe' /tmp/mnt
(note that the servername is
cernhome
+ the first letter of Nice login name).
--
AndreHolzner - 10 Jul 2008
USE OF THE INFORMATION ON THIS PAGE IS AT YOUR OWN RISK !