computer system administration
DESCRIPTION
Lecture 2 Setup and Installation Irix & FreeBSD. Computer System Administration. Remainder of Course. Last in class hands on lecture. “hands on” participants need to pick their OS Mindfull of groups “Lecture only” participants will be assigned to machines randomly - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/1.jpg)
2/12/2003Lecture 2
Computer System Administration
Lecture 2Setup and Installation
Irix & FreeBSD
![Page 2: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/2.jpg)
2/12/2003Lecture 2
Remainder of Course
● Last in class hands on lecture.● “hands on” participants need to pick their OS
– Mindfull of groups● “Lecture only” participants will be assigned to
machines randomly● Machines will be located in AE Machine Room
– ssh will be setup for all machines– Console access only available during office-hours and
by appointment
![Page 3: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/3.jpg)
2/12/2003Lecture 2
Irix Install Process
● Copy miniroot from media to swap partition● Execute inst● Partition/Label disk● Select distributions for install
– Load many media sets... many● Install media sets● Requickstart● Reboot● configure
![Page 4: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/4.jpg)
2/12/2003Lecture 2
Repartition?
● Swap is already active/in use– Cannot shrink/grow/move swap– Often pins existing filesystems
● Separate miniroot/standalone program for repartitioning– fx– fx.ARCS
![Page 5: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/5.jpg)
2/12/2003Lecture 2
Irix Network Booting
● Power on machines● Wait for Starting Up System● Press Stop for system maintenance● Enter Command Monitor
– printenv– setenv netaddr IP
● boot -f net():/stand/fx.ARCS –x
![Page 6: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/6.jpg)
2/12/2003Lecture 2
FX: Disk Paritioner
● Ctlr# 0, Drive #1● [r]epartition● [e]expert
– Yes● Partion0 (root)
– xfs, base: 130, size: max(881)● Parition1 (swap)
– Raw, base: 2, size: 128
![Page 7: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/7.jpg)
2/12/2003Lecture 2
FX: Disk Paritioner
● Partion2-8: none– xfs, base 0, size 0
● Partition8: VolumeHeader– Volhdr, 0, 2– Boot-Blocks– System Diagnostics– Mini-miniroot
![Page 8: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/8.jpg)
2/12/2003Lecture 2
FX: Other Partions
● Partition 10:– Overlap partition– Volume, base: 0, size: max
● Others– xfs, base:0, size: 0– Inactive
![Page 9: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/9.jpg)
2/12/2003Lecture 2
Fx: saving partition
● ..● l/sync
![Page 10: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/10.jpg)
2/12/2003Lecture 2
FX: Writing Partition
● ..● Dksc/0/2● r/e
– Yes● Partitions
– 1 raw 2 128– 6 xfs 130 MAX– 8 volhdr 0 2– 10 volume 0 max
![Page 11: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/11.jpg)
2/12/2003Lecture 2
FX: finishing partition
● l/show/part● l/sync● exit
– Restart
![Page 12: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/12.jpg)
2/12/2003Lecture 2
Irix: beginning install
● Install System Software– Remote host
● :/
– Install● System reboots
● Miniroot– “Make New Filesystem”: yes– “y”/512
![Page 13: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/13.jpg)
2/12/2003Lecture 2
Configure second disk
● admin● mkfs /dev/dsk/dks0d2s6
– Block size: 512● mount /dev/dsk/dks0d2s6 /root/usr
![Page 14: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/14.jpg)
2/12/2003Lecture 2
Loading Media
● Sethostname– Hostname– 0xffffff00
● load http://128.213.30.2/install/Irix/install_selections
● [2]“feature stream”● ..
![Page 15: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/15.jpg)
2/12/2003Lecture 2
Selecting Packages
● install default● list
– [q]uit● confict
– Manages dependencies between packages– conflict 1a 2a 3a 4a 5a 6a 7a 8a 9a 10a 11a 12a 13a
![Page 16: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/16.jpg)
2/12/2003Lecture 2
Doing the Install
● go– Preinstall check– Copying files...– This takes a long time.
![Page 17: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/17.jpg)
2/12/2003Lecture 2
FreeBSD: Starting install
● Floppies– PCs generally don't have an option to Network Boot
● PXE (these machines don't have it)
– CDRom● Not all machines will CD-Boot
– These Won't
– Only used to get miniroot on system.
![Page 18: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/18.jpg)
2/12/2003Lecture 2
boot/install floppies
● 4 Disks– kern.flp (system kernel)– mfsroot.flp (system miniroot)– fixit.flp (recovery utilities)– Boot.flp (kern + mfsroot in one, 2.88MB image)
![Page 19: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/19.jpg)
2/12/2003Lecture 2
Loading miniroot
● Boot with kern.flp● Wait for prompt
– “Please insert MFS root floppy and press enter:”● Insert the mfsroot.flp disk● Press enter ● Skip kernel configuration
![Page 20: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/20.jpg)
2/12/2003Lecture 2
Disk Layout
● Custom● Partition
– “a”ll disk– “q”uit
● Boot Manager– Bootmgr
![Page 21: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/21.jpg)
2/12/2003Lecture 2
Disk Layout Continued
● Label– “C”reate, “128M”, “swap”– “C”reate, default (all), “fs”, /
● Set FS options– Highlight “/” partition– “s” (softupdates)
● “Q”uit
![Page 22: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/22.jpg)
2/12/2003Lecture 2
Distributions
● Distributions– Custom
● All but “src”, “local”, “ports”
– Media● Ftp
– URL● ftp://128.213.30.2/pub/FreeBSD
![Page 23: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/23.jpg)
2/12/2003Lecture 2
Configure Network
● “ep0”● Ipv6: No● DHCP: no● Hostname/IP from front● Gateway: 128.213.30.1● Name-server: 128.213.1.1● “Ok”
![Page 24: Computer System Administration](https://reader033.vdocuments.mx/reader033/viewer/2022051218/568157c8550346895dc54fdd/html5/thumbnails/24.jpg)
2/12/2003Lecture 2
“Commit”
● “Commit”– Format– Extracts Distribution Sets– Brings you to post-configuration screen.