sabah salih the school of physics & astronomy the university of manchester manchester m13 9pl...
Post on 01-Apr-2015
214 Views
Preview:
TRANSCRIPT
Sabah SalihThe School of Physics & AstronomyThe University of ManchesterManchesterM13 9PL
Scientific Linux?
Sabah@hep.man.ac.uk
Experiments Software
ATLAS: http://linux.web.cern.ch/linux/scientific3/certification/sub/envATLAS_offline.shtml
BaBar:
Sabah@hep.man.ac.uk
QuickTime™ and aTIFF (LZW) decompressor
are needed to see this picture.
QuickTime™ and aTIFF (LZW) decompressor
are needed to see this picture.
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.
Sabah@hep.man.ac.uk
Installation
1- CD
2- Kickstart
3- PXE
Sabah@hep.man.ac.uk
DesktopLaptopServersWorkernode
[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
Sabah@hep.man.ac.uk
One need to install
• k3b • Xmms• Multires• Xcdroast
However:
Sabah@hep.man.ac.uk
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
Sabah@hep.man.ac.uk
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.
Sabah@hep.man.ac.uk
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.
Sabah@hep.man.ac.uk
PXE
We have not done any pxe installation, we hope
to hear from RAL experience
Sabah@hep.man.ac.uk
Summary
Sabah@hep.man.ac.uk
top related