sabah salih the school of physics & astronomy the university of manchester manchester m13 9pl

13
Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL Scientific Linux? [email protected]

Upload: myra-joseph

Post on 03-Jan-2016

47 views

Category:

Documents


1 download

DESCRIPTION

Scientific Linux?. Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL. [email protected]. Experiments Software. ATLAS: http://linux.web.cern.ch/linux/scientific3/certification/sub/envATLAS_offline.shtml BaBar:. [email protected]. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Sabah SalihThe School of Physics & AstronomyThe University of ManchesterManchesterM13 9PL

Scientific Linux?

[email protected]

Page 2: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Experiments Software

ATLAS: http://linux.web.cern.ch/linux/scientific3/certification/sub/envATLAS_offline.shtml

BaBar:

[email protected]

Page 3: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Page 4: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.

Page 5: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Experiments Software

Babar From Martin Bly talk

Migration of Babar communityfrom RH 7.3 batch service smooth after installation validated by Babar for batch workBatch system using Torque/Maui versions from LCG rebuilt for SL3, with some local patches to config parameters (more jobs, more classes).  Stable.

[email protected]

Page 6: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Installation

1- CD

2- Kickstart

3- PXE

[email protected]

DesktopLaptopServersWorkernode

Page 7: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

[root@pc94 tmp]# rpm -Uvh ftp://ftp.scientificlinux.org/linux/scientific/303/i386/SL/RPMS/yum-conf-303-2.SL.noarch.rpmRetrieving ftp://ftp.scientificlinux.org/linux/scientific/303/i386/SL/RPMS/yum-conf-303-2.SL.noarch.rpmwarning: /var/tmp/rpm-xfer.nN1vgq: V3 DSA signature: NOKEY, key ID 82fd17b2Preparing... ########################################### [100%] 1:yum-conf ########################################### [100%]

[root@pc94 tmp]#

[root@pc94 tmp]# yum update yumResolving dependenciesDependencies resolvedI will do the following:[update: yum 2.0.7-7.SL.noarch]Is this ok [y/N]: yDownloading PackagesGetting yum-2.0.7-7.SL.noarch.rpmyum-2.0.7-7.SL.noarch.rpm 100% |=========================| 130 kB 00:00 Running test transaction:Test transaction complete, Success!yum 100 % done 1/2 Completing update for yum - 2/2Updated: yum 2.0.7-7.SL.noarchTransaction(s) Complete[root@pc94 tmp]# [root@pc94 tmp]# yum upgrade

CD

[email protected]

Page 8: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

One need to install

• k3b • Xmms• Multires• Xcdroast

However:

[email protected]

Page 9: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

disable the root requirement by editing the files /etc/security/console.apps/xcdroast and

/etc/pam.d/xcdroast

My files look something like this and it works for me on SL302

/etc/security/console.apps/xcdroast

PROGRAM=/usr/sbin/xcdroast

/etc/pam.d/xcdroast

auth sufficient pam_rootok.so auth required pam_console.so account required pam_permit.so#auth sufficient pam_rootok.so #auth sufficient pam_timestamp.so #auth required pam_stack.so service=system-auth #session optional pam_xauth.so #session optional pam_timestamp.so #account required pam_permit.so #auth required pam_stack.so service=system-auth

XCDROAST

[email protected]

Page 10: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Kickstart via NFS

1. Make a mount point (not strictly necessary):

mkdir /mnt/disk

2. Download the various ISO files for SL. There were four for 3.0.3.

3. Make a directory where you'll place the on-line distribution:

mkdir /SL mkdir /SL/3.0.3

4. Mount each ISO in turn and copy the files from it to the hard drive, as:

mount -o loop SL.303.093004.i386.disc1.iso /mnt/disk cd /mnt/disk tar cvf - . | (cd /SL/3.0.3; tar xvfp -) cd umount /mnt/disk mount -o loop SL.303.093004.i386.disc2.iso /mnt/disk etc.

[email protected]

Page 11: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

5. After the ISO's have been "unpacked" into /SL/3.0.3 (or whatever you choose to call it), export the directory. I.e., add the following line to /etc/exports:

/SL/3.0.3 *.ucdavis.edu(ro)

where you would replace *.ucdavis.edu by your own domain, then type:

exportfs -r

6. At this point you should be able to do NFS installations, assuming, of course, that you have all the NFS "plumbing" already set up. I think that basically amounts to starting the NFS and netfs services.

7. You can initiate the installation in a variety of ways. You may be able to boot from a floppy. See, for instance, /SL/3.0.3/images/bootdisk.img. If you copy that to a floppy via:

dd if=bootdisk.img of=/dev/fd0 bs=1440kyou should get a bootable floppy, that will ask you for the type of installation (local CD, NFS, etc.). I haven't tried this.

[email protected]

Page 12: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

PXE

We have not done any pxe installation, we hope

to hear from RAL experience

[email protected]

Page 13: Sabah Salih The School of Physics & Astronomy The University of Manchester Manchester M13 9PL

Summary

[email protected]