Fedora Core 6 installation: Difference between revisions

From MDWiki
Jump to navigationJump to search
 
(21 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>
*'''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 41: 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>mkdir -p /data1 /data2 /data3 /home</tt>
**<tt>mkdir -p /data1 /data2 /data3 /home /software</tt>
**append lines to <tt>/etc/fstab</tt>
<code><tt>grape:/home /home      nfs    auto,rw,rsize=8192,wsize=8192  0 0</tt><br />
<tt>grape:/data1 /data1    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
<tt>grape:/data2 /data2    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
<tt>grape:/data3 /data3    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br /></code>
**<tt>yum install zsh</tt>
**<tt>yum install zsh</tt>
**<tt>yum update</tt>
**<tt>yum update</tt> (if it fails because yum.pid is in use, run <tt>/etc/init.d/yum-updatesd stop</tt>)
''Reboot''
''Reboot''
*Install ''nVidia'' video driver
*Install ''nVidia'' video driver
Line 63: Line 67:
****Update X configuration file -> Yes
****Update X configuration file -> Yes
***<tt>/sbin/init 5</tt>
***<tt>/sbin/init 5</tt>
***scp liz@grape:Desktop/kernel-2.6.20-1.2948.fc6.src.rpm .
*Open terminal
*Open terminal
**append lines to <tt>/etc/fstab</tt>
<code><tt>grape:/home /home      nfs    rw,rsize=8192,wsize=8192  0 0</tt><br />
<tt>grape:/data1 /data1    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
<tt>grape:/data2 /data2    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br />
<tt>grape:/data3 /data3    nfs    rw,rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br /></code>
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>
<code><tt>grape:/software /software    nfs    rsize=32768,wsize=32768,nfsvers=3 0 0</tt><br /></code>
**append line to <tt>/etc/rc.local</tt>:
**append line to <tt>/etc/rc.local</tt>:
<code><tt>mount uqmd10:/usr /usr</tt></code><br>
<code><tt>mount uqmd10:/usr /usr</tt></code><br>
**append to file <tt>/etc/hosts</tt>
**append to file <tt>/etc/hosts</tt>
<code>152.98.195.132  uqmd01.md.smms.uq.edu.au  uqmd01
<code>152.98.195.132  uqmd01.md.smms.uq.edu.au  uqmd01<br>
152.98.195.133  uqmd02.md.smms.uq.edu.au  uqmd02
152.98.195.133  uqmd02.md.smms.uq.edu.au  uqmd02<br>
152.98.195.134  uqmd03.md.smms.uq.edu.au  uqmd03
152.98.195.134  uqmd03.md.smms.uq.edu.au  uqmd03<br>
152.98.195.135  uqmd04.md.smms.uq.edu.au  uqmd04
152.98.195.135  uqmd04.md.smms.uq.edu.au  uqmd04<br>
152.98.195.137  uqmd06.md.smms.uq.edu.au  uqmd06
152.98.195.137  uqmd06.md.smms.uq.edu.au  uqmd06<br>
152.98.195.138  uqmd07.md.smms.uq.edu.au  uqmd07
152.98.195.138  uqmd07.md.smms.uq.edu.au  uqmd07<br>
152.98.195.139  uqmd08.md.smms.uq.edu.au  uqmd08
152.98.195.139  uqmd08.md.smms.uq.edu.au  uqmd08<br>
152.98.195.140  uqmd09.md.smms.uq.edu.au  uqmd09
152.98.195.140  uqmd09.md.smms.uq.edu.au  uqmd09<br>
152.98.195.141  uqmd10.md.smms.uq.edu.au  uqmd10
152.98.195.141  uqmd10.md.smms.uq.edu.au  uqmd10<br>
152.98.195.142  uqmd11.md.smms.uq.edu.au  uqmd11
152.98.195.142  uqmd11.md.smms.uq.edu.au  uqmd11<br>
152.98.195.143  uqmd12.md.smms.uq.edu.au  uqmd12
152.98.195.143  uqmd12.md.smms.uq.edu.au  uqmd12<br>
152.98.195.144  uqmd13.md.smms.uq.edu.au  uqmd13<br><br>
152.98.195.144  uqmd13.md.smms.uq.edu.au  uqmd13<br><br>
''#''Windows 2003 Server<br>
''#''Windows 2003 Server<br>
Line 92: Line 105:
</code><br>
</code><br>
''Reboot''
''Reboot''
*Restore contents of <tt>/data</tt>
*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