Open main menu

CDOT Wiki β

Changes

Fall 2008 SYA710 Weekly Schedule

1,520 bytes added, 13:09, 2 December 2008
Week 12 (Nov 24) - Making Live CDs
== Week 4 (Sept 22) - Linux Package Management ==
* Activity for this week
Each student should add one correct item to the table below and email your teacher detailing your contribution. Don't forget your Seneca ID in the email. This will count as [[SYA710 Lab 03]].
<table class="News" border="1">
&lt;repo&gt; to /etc/yum.repos.d/)</td>
</tr>
 
<tr>
<td class="News" style="text-align: left; width: 20%;">Assuming "yes" in all prompt </td>
<td class="News" style="width: 20%; text-align: left;">atp-get -y </td>
<td class="News" style="width: 20%; text-align: left;">zypper assumeyes</td>
<td class="News" style="width: 20%; text-align: left;">yum -y</td>
</tr>
 
<tr>
<td class="News" style="text-align: left; width: 20%;">Remove
search i *</td>
<td class="News" style="width: 20%; text-align: left;">rpm
-qa<br>pkcon get-packages<br>yum list installed</td>
</tr>
<tr>
<td class="News" style="width: 20%; text-align: left;">yum info <packagename><br />pkcon get description <package_id>
</td>
</tr>
<tr>
<td class="News" style="text-align: left; width: 20%;">Display Details about the package</td>
<td class="News" style="width: 20%; text-align: left;">-</td>
<td class="News" style="width: 20%; text-align: left;">-</td>
<td class="News" style="width: 20%; text-align: left;">pkcon get-details <pkg name></td>
</tr>
<tr>
<td class="News" style="text-align: left; width: 20%;">Print a picture of a cow</td>
<td class="News" style="width: 20%; text-align: left;">apt-get moo</td>
<td class="News" style="width: 20%; text-align: left;">-</td>
<td class="News" style="width: 20%; text-align: left;">-</td>
</tr>
</table>
== Week 5 (Sept 29) - Building a New Kernel ==
* download source from kernel.org
** wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2
* unpack source
** tar xvjf linux-2.6.26.tar.bz2
* create configuration (.config) file
** cd linux-2.6.26
** cp /proc/config.gz .
** gzip -d config.gz
** mv config .config
** make oldconfig
* customize your configuration
** make menuconfig
* compile kernel and modules
** make
* copy kernel image to /boot
** cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.26
* copy system map to /boot
** cp System.map /boot/System.map-2.6.26
* install the modules
** make modules_install
* create initial ram disk image
** mkinitrd -k vmlinuz-2.6.26 -i initrd-2.6.26
* update GRUB
** vi /boot/grub/menu.lst
* reboot
<br />
<h4>How to boot up Fedora 9 from /dev/sdb in room T2107</h4>
These instructions assume that Fedora 9 has been installed on /dev/sdb with the following partition setup:<br />
/dev/sdb1 = /boot<br />
/dev/sdb2 = /<br />
/dev/sdb3 = swap<br />
/dev/sdb4 = extended<br />
/dev/sdb5 = /home<br />
Boot up the system and when the data recovery card displays a menu of OS choices, choose Fedora 8. A boot screen will be displayed with a 3 second countdown before booting. Press the <ESC> key before the countdown reaches 0. Another menu is displayed listing two Fedora 8 kernels to boot from:* Activity for this week* Fedora (2.6.24.5-85.fc8)* Please do [[SYA710 Lab04]]* Fedora (2.6.24.4-64.fc8)<p>Do not choose either of these. Instead press the "c" key to display * Here's some notes on [[SYA710 Building a command line. Issue the following commands:</p>New Kernel]]<b>** Also some notes on [[SYA710 Booting with GRUB]]root (hd1,0)<br * Concepts/>Commands learned/used in this week's lecturekernel /vmlinuz** ar command -2.6.26.5-45.fc9.i686 root=usually used to archive object files*** ar t /devusr/sdb2<br lib/>libz.ainitrd ** cpio command to copy files to/from archives*** cat initrd-2.6.26.5uncompressed-file | cpio -45.fc9.i686.img<br />i** ldd command to print shared library dependenciesboot<br *** ldd /><usr/b><p>Fedora 9 will now boot.<bin/p>ssh
== Week 6 (Oct 6) - Automated Installations ==
 
* Activity for this week
** Complete [[SYA710 Lab05]]
* Automating Linux Installations
** [[http://faiwiki.informatik.uni-koeln.de/index.php/Main_Page Debian Fully Automatic Installation]]
** [[http://fedoraproject.org/wiki/Anaconda/Kickstart Fedora Kickstart]]
** [[http://en.opensuse.org/AutoYaST Opensuse AutoYaST]]
** [[http://docs.sun.com/app/docs/doc/817-5506 SUN Solaris Jumpstart]]
** HD Cloning
*** [[SYA710 SSH | Using ssh]]
*** [[http://udpcast.linux.lu/ UDPCast]]
*** [[http://www.clonezilla.org/ Clonezilla]]
*** [[http://www.partimage.org/Main_Page Partimage]]
 
== Week 7 (Oct 13) - Midterm Test ==
 
* The second half of our midterm test is scheduled for Tuesday, November 25, 2008. This test is worth 20% of your final mark. You will be allowed to bring in one letter-sized, hand-written original reference sheet. No electronic aids are allowed. The test will take place in room S2149 starting at 11:45am. Test will end at 1:15pm.
* Test topics will include all material covered up to end of lab 5.
* Here is one example [[SYA710-midterm | question]] - feel free to add more.
* Here's our [[SYA710-test2 | 2nd test]] held on Nov 25, 2008
* Now it's your turn to add [[SYA710-student-questions | test questions]].
 
== FSOSS and Break Week (Oct 20) ==
== Week 8 (Oct 27) - Virtual Machines ==
 
* Activities for this week
** Please complete [[SYA710 Lab06]]
* Virtual Machines
** [[http://en.wikipedia.org/wiki/Virtual_machine Wikipedia Article]]
 
== Week 9 (Nov 3) - VM Management==
 
* [[http://www.vmware.com VMware]]
* [[http://www.virtualbox.org Virtual Box]]
* [[http://virt-manager.et.redhat.com/ Virtual Machine Manager]]
 
== Week 10 (Nov 10) - Creating Custom Spins ==
* Making your own custom (spin) Fedora CD
** Please complete [[SYA710 Lab07]]
 
== Week 11 (Nov 17) - More Spinning ==
== Week 12 (Nov 24) - Making Live CDs ==
* Making your own Fedora Live CD
** Please do [[SYA710-lab08 | Lab08]]
REFERENCE:
[http://fedoraproject.org/wiki/How_to_create_and_use_Fedora_LiveCD Fedora LiveCD How TO ]
 
== Week 13 (Dec 1) - Exam review ==
== Exam Week (Dec 8) ==
[[Category:LUX]]