Table of Contents

How to update SL to most recent version

Check the release as:

lsb_release -a

Read:

http://www.scientificlinux.org/documentation/howto/upgrade.5x

AFS installation

yum install openafs-client
echo cern.ch>/usr/vice/etc/ThisCell
/sbin/chkconfig --level 35 afs on
/sbin/service afs start

Subversion installation on atlaswww

sudo yum install mod_dav_svn

Add the LoadModule lines to your httpd:

  To edit the httpd.conf:
    sudo vi /etc/httpd/conf/httpd.conf
    Search for the LoadModule lines, and add these to the bottom:
    LoadModule dav_svn_module     modules/mod_dav_svn.so
    LoadModule authz_svn_module   modules/mod_authz_svn.so

Or better, use:

/etc/httpd/conf.d/subversion.conf and add:

<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn

   # Limit write permission to list of valid users.
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      # Require SSL connection for password protection.
      SSLRequireSSL
      AuthType Basic
      AuthName "Subversion repository"
      AuthUserFile /var/www/svn-auth-file
      AuthzSVNAccessFile  /var/www/svn-policy-file
      Require valid-user
   </LimitExcept>
</Location>

This means that our repository has the address: https://atlaswww.hep.anl.gov/svn/ while the actual directory is in /var/www/svn

Make this directory:

mkdir svn
cd svn
svnadmin create JetShapeAnalysis
chown -R apache.apache JetShapeAnalysis
service httpd restart

Now the path to your repository is https://atlaswww.hep.anl.gov/svn/JetShapeAnalysis You should be able to see this directory from any computer:

svn list https://atlaswww.hep.anl.gov/svn/JetShapeAnalysis

Now set permissions.

htpasswd -cm  /var/www/svn-auth-file  test

we created a user name “test”. You should type a password. Then set permissions to the user to read and write. Your file in /var/www/svn-policy-file should look like:

[/]
* = r

[JetShapeAnalysis:/]
chekanov = rw
test = rw

Make sure that user “test” has the permissions to write.

Populate this directory with files. cd to any your directory and import the project:

cd AnalysisShape
svn import .  https://atlaswww.hep.anl.gov/svn/JetShapeAnalysis/trunk -m "Initial import"

you are done. You can commit changes and write and read.

Making bootable USB

Make usb bootable

parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            

Model: Kingston DataTraveler II (scsi)
Disk /dev/sdb: 1031MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  1031MB  1031MB  primary  fat32 

(parted) toogle 1 boot                                                    
(parted) print                                                            

Model: Kingston DataTraveler II (scsi)
Disk /dev/sdb: 1031MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

The easiest setup method is to install Fedora's own livecd-iso-to-disk script from livecd-tools. Note that the liveusb-creator GUI, however, does not support putting the DVD installer on USB. (Unetbootin has worked in the past as well, but does not currently work for Fedora 14 and 15.)

The manual setup method follows:

First, download the iso file Fedora-15-i386-DVD.iso from a Fedora mirror. This method also works for the boot and netinstall iso's.

Then, from your running 16 system (including an 16 livecd) make sure you have the livecd-tools package installed by doing:

yum install livecd-tools

Use the “mount” command to find the USB stick (e.g., /dev/sdb1) or look at /var/log/messages to find where the stick was mounted.

Next unmount the USB stick either from the desktop icon or using the umount command - but keep a note of where the USB stick is attached to the filesystem, e.g., /dev/sdb1

Now as root run:

# livecd-iso-to-disk path-to/Fedora-15-i386-DVD.iso /dev/sdb1

If the stick is not bootable, then refer to the information below to make it bootable, otherwise this command will fail.

You should now have a bootable USB stick which will run an 16 install. When you boot the stick, you may also add askmethod to the boot line and select a hard drive install and select the drive as /dev/sdb1 (or your USB device drive) and the path should be /

The remainder of the install should be the same as for using a DVD in an optical drive, but when you select options make sure that you select your disk partitioning carefully if you are doing custom partitioning and also make sure that the bootloader is installed on the correct drive - by default it will be installed on the USB stick so you will need to change it to the master boot record on the hard drive. Errors and Solutions