Fedora Core 6 installation: Difference between revisions

From MDWiki
Jump to navigationJump to search
mNo edit summary
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
*'''Check first to see if anyone is logged in using''' <tt>who</tt>, <tt>w</tt>, <tt>top</tt> '''and backup''' <tt>/data</tt>
*Backup contents of <tt>/data</tt>:
**Run <tt>df -h</tt>
**Plug in disk and wait a few moments
**Run <tt>df -h</tt>. If there is a change in the output take note of the new auto mount point, otherwise mount manually by
***''Check that /dev/sdb1 and /media/disk are correct and available respectively''
***<tt>mkdir -p /media/disk</tt>
***<tt>mount -t ext3 /dev/sdb1 /media/disk</tt>
**<tt>rsync -avP /data/ /media/disk/uqmdNUMBER-data/</tt> (Don't miss the trailing <tt>/</tt>'s)
**Unmount with <tt>umount /dev/sdb1</tt>
*Put in Fedora Core 6 x86-64 DVD/CDs
*Put in Fedora Core 6 x86-64 DVD/CDs
*Reboot computer
*Reboot computer, making sure that the boot sequence is DVD/CD-ROM first. This can be changed in setup by pressing DEL when the computer is booting up.
*Allow media check
*Allow media check
===Installation Settings===
===Installation Settings===
Line 40: Line 50:
*Open terminal
*Open terminal
**<tt>/sbin/chkconfig --del yum-updatesd # Cancel yum updates checker</tt>
**<tt>/sbin/chkconfig --del yum-updatesd # Cancel yum updates checker</tt>
**<tt>vim /etc/fstab</tt>
**<tt>mkdir -p /data1 /data2 /data3 /home /software</tt>
**append lines:
**<tt>yum install zsh</tt>
***grape:/home/home nfs auto, rw, rsize=819, wsize 8192.00
**<tt>yum update</tt> (if it fails because yum.pid is in use, run <tt>/etc/init.d/yum-updatesd stop</tt>)
***grape:/data1/data/ nfs rw, rsize=32768, wsize=32768, nfsvers = 300
''Reboot''
==Additonal Information==
*Install ''nVidia'' video driver
[[Master file system table]]  ssh matt@grape at fstab >> ec/fstab
**Go to [http://www.nvidia.com/object/unix.html nVidia Linux Driver page]
*'''Mount User'''
**Download Linux AMD64 Driver
*/etc/rc.local
**Logout
*apend the line:
**SSH in as root from another computer
**mount uqmd10:/usr/usr
***<tt>/sbin/init 3</tt>
'''Intstall Video Driver'''
***<tt>sh /root/NVIDIA-Linux-x86_64-1.0-9755-pkg2.run</tt>
*http:www.nvidia.com/object/unix.html
****License agreement -> Accept
*Download linux AMD64 Driver
****Overide existing driver -> Yes
*Logout reboot
****Download kernel interface -> Yes
''Sinle user linux''
****Install 32-bit libraries -> Yes
*At the grub menu:
****Update X configuration file -> Yes
**press any key
***<tt>/sbin/init 5</tt>
**select the kernel you are using
***scp liz@grape:Desktop/kernel-2.6.20-1.2948.fc6.src.rpm .
**press 'e' to edit
*Open terminal
**select line that says 'kernel'
**append lines to <tt>/etc/fstab</tt>
**press 'e'
<code><tt>grape:/home /home       nfs   rw,rsize=8192,wsize=8192   0 0</tt><br />
**add the word single to the end of the line
<tt>grape:/data1 /data1    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
**<enter>
<tt>grape:/data2 /data2    nfs   rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
**press 'b'
<tt>grape:/data3 /data3    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br /></code>
'''Don't forget'''
For now until the new setup is up (I think even after the new set up is up this will still be there for non rpm installs)<br>
*mkdir /data1/data2/data3
<code><tt>grape:/software /software    nfs    rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br /></code>
'''Finally....'''
 
*cd /root
**append line to <tt>/etc/rc.local</tt>:
*sh NVIDIA-Linux-x86_64-1.0-9755-pkg2.run
<code><tt>mount uqmd10:/usr /usr</tt></code><br>
*ok
**append to file <tt>/etc/hosts</tt>
*License agreement -> Accept
<code>152.98.195.132  uqmd01.md.smms.uq.edu.au  uqmd01<br>
*Overide existing driver -> Yes
152.98.195.133  uqmd02.md.smms.uq.edu.au  uqmd02<br>
*Download kernel interface -> Yes
152.98.195.134  uqmd03.md.smms.uq.edu.au  uqmd03<br>
*Install 32-bit libraries -> Yes
152.98.195.135  uqmd04.md.smms.uq.edu.au  uqmd04<br>
*Update x configuration file -> Yes
152.98.195.137  uqmd06.md.smms.uq.edu.au  uqmd06<br>
*type 'reboot'
152.98.195.138  uqmd07.md.smms.uq.edu.au  uqmd07<br>
''Note:''
152.98.195.139  uqmd08.md.smms.uq.edu.au  uqmd08<br>
*login as root inside Gnome
152.98.195.140  uqmd09.md.smms.uq.edu.au  uqmd09<br>
*system -> administration -> display
152.98.195.141  uqmd10.md.smms.uq.edu.au  uqmd10<br>
*yum install zsh
152.98.195.142  uqmd11.md.smms.uq.edu.au  uqmd11<br>
==Update==
152.98.195.143  uqmd12.md.smms.uq.edu.au  uqmd12<br>
*yum update
152.98.195.144  uqmd13.md.smms.uq.edu.au  uqmd13<br><br>
''#''Windows 2003 Server<br>
152.98.195.160  kiwi.md.smms.uq.edu.au  kiwi<br><br>
''#''Prof Kobe's group<br>
152.98.195.170  galadriel.md.smms.uq.edu.au  galadriel<br><br>
''#''Dr Huber's group<br>
152.98.195.180  baintha.md.smms.uq.edu.au  baintha<br>
152.98.195.181  melungtse.md.smms.uq.edu.au  melungtse<br>
152.98.195.182  aconcagua.md.smms.uq.edu.au  aconcagua<br>
152.98.195.183  kinabalu.md.smms.uq.edu.au  kinabalu<br><br>
''#''Grape cluster headnode<br>
152.98.195.190  grape.md.smms.uq.edu.au  grape<br>
</code><br>
''Reboot''
*Restore contents of <tt>/data</tt>:
**Run <tt>df -h</tt>
**Plug in disk and wait a few moments
**Run <tt>df -h</tt>. If there is a change in the output take note of the new auto mount point, otherwise mount manually by
***''Check that /dev/sdb1 and /media/disk are correct and available respectively''
***<tt>mkdir -p /media/disk</tt>
***<tt>mount -t ext3 /dev/sdb1 /media/disk</tt>
**<tt>rsync -avP /media/disk/uqmdNUMBER-data/ /data/</tt> (Don't miss the trailing <tt>/</tt>'s)
**Unmount with <tt>umount /dev/sdb1</tt>

Latest revision as of 00:47, 24 July 2007

  • Check first to see if anyone is logged in using who, w, top and backup /data
  • Backup contents of /data:
    • Run df -h
    • Plug in disk and wait a few moments
    • Run df -h. If there is a change in the output take note of the new auto mount point, otherwise mount manually by
      • Check that /dev/sdb1 and /media/disk are correct and available respectively
      • mkdir -p /media/disk
      • mount -t ext3 /dev/sdb1 /media/disk
    • rsync -avP /data/ /media/disk/uqmdNUMBER-data/ (Don't miss the trailing /'s)
    • Unmount with umount /dev/sdb1
  • Put in Fedora Core 6 x86-64 DVD/CDs
  • Reboot computer, making sure that the boot sequence is DVD/CD-ROM first. This can be changed in setup by pressing DEL when the computer is booting up.
  • Allow media check

Installation Settings

  • US/English keyboard

Partitioning

  • Create custom disk layout
    • /boot 200MB (Primary, /dev/sda1)
    • / 40000MB (Primary, /dev/sda2)
    • /usr 70000MB (Primary, /dev/sda3)
    • swap 2000MB (Logical, /dev/sda5)
    • /data 150000MB (Logical, /dev/sda6)

GRUB

  • Install boot loader on /dev/sda

eth0

  • Hostname: set by DHCP
  • Use dynamic IP configuration
  • Enable IPV4 support
  • Disable IPV6 support
  • Activate on boot

Time/Timezone

  • Australia/Brisbane
  • System clock uses UTC

Software

  • Select Office, Software Development and Productivity, Fedora Extras (customise later)

Post-install Configuration

  • Disable Firewall & SELinux
  • Time: Use Network Time Protocol (NTP; use detected UQ servers)

Create User

  • Use Network Login
  • Enable NIS support
    • NIS domain: grape-cluster
    • NIS server: grape.md.smms.uq.edu.au
  • Options:
    • Use shadow passwords
    • Use MD5 password
    • Cache user information

Reboot

First login to Fedora Core 6 (login as root)

  • Open terminal
    • /sbin/chkconfig --del yum-updatesd # Cancel yum updates checker
    • mkdir -p /data1 /data2 /data3 /home /software
    • yum install zsh
    • yum update (if it fails because yum.pid is in use, run /etc/init.d/yum-updatesd stop)

Reboot

  • Install nVidia video driver
    • Go to nVidia Linux Driver page
    • Download Linux AMD64 Driver
    • Logout
    • SSH in as root from another computer
      • /sbin/init 3
      • sh /root/NVIDIA-Linux-x86_64-1.0-9755-pkg2.run
        • License agreement -> Accept
        • Overide existing driver -> Yes
        • Download kernel interface -> Yes
        • Install 32-bit libraries -> Yes
        • Update X configuration file -> Yes
      • /sbin/init 5
      • scp liz@grape:Desktop/kernel-2.6.20-1.2948.fc6.src.rpm .
  • Open terminal
    • append lines to /etc/fstab

grape:/home /home nfs rw,rsize=8192,wsize=8192 0 0
grape:/data1 /data1 nfs rw,rsize=32768,wsize=32768,nfsvers=3 0 0
grape:/data2 /data2 nfs rw,rsize=32768,wsize=32768,nfsvers=3 0 0
grape:/data3 /data3 nfs rw,rsize=32768,wsize=32768,nfsvers=3 0 0
For now until the new setup is up (I think even after the new set up is up this will still be there for non rpm installs)
grape:/software /software nfs rsize=32768,wsize=32768,nfsvers=3 0 0

    • append line to /etc/rc.local:

mount uqmd10:/usr /usr

    • append to file /etc/hosts

152.98.195.132 uqmd01.md.smms.uq.edu.au uqmd01
152.98.195.133 uqmd02.md.smms.uq.edu.au uqmd02
152.98.195.134 uqmd03.md.smms.uq.edu.au uqmd03
152.98.195.135 uqmd04.md.smms.uq.edu.au uqmd04
152.98.195.137 uqmd06.md.smms.uq.edu.au uqmd06
152.98.195.138 uqmd07.md.smms.uq.edu.au uqmd07
152.98.195.139 uqmd08.md.smms.uq.edu.au uqmd08
152.98.195.140 uqmd09.md.smms.uq.edu.au uqmd09
152.98.195.141 uqmd10.md.smms.uq.edu.au uqmd10
152.98.195.142 uqmd11.md.smms.uq.edu.au uqmd11
152.98.195.143 uqmd12.md.smms.uq.edu.au uqmd12
152.98.195.144 uqmd13.md.smms.uq.edu.au uqmd13

#Windows 2003 Server
152.98.195.160 kiwi.md.smms.uq.edu.au kiwi

#Prof Kobe's group
152.98.195.170 galadriel.md.smms.uq.edu.au galadriel

#Dr Huber's group
152.98.195.180 baintha.md.smms.uq.edu.au baintha
152.98.195.181 melungtse.md.smms.uq.edu.au melungtse
152.98.195.182 aconcagua.md.smms.uq.edu.au aconcagua
152.98.195.183 kinabalu.md.smms.uq.edu.au kinabalu

#Grape cluster headnode
152.98.195.190 grape.md.smms.uq.edu.au grape

Reboot

  • Restore contents of /data:
    • Run df -h
    • Plug in disk and wait a few moments
    • Run df -h. If there is a change in the output take note of the new auto mount point, otherwise mount manually by
      • Check that /dev/sdb1 and /media/disk are correct and available respectively
      • mkdir -p /media/disk
      • mount -t ext3 /dev/sdb1 /media/disk
    • rsync -avP /media/disk/uqmdNUMBER-data/ /data/ (Don't miss the trailing /'s)
    • Unmount with umount /dev/sdb1