Difference between revisions of "Fall 2008 SYA710 Weekly Schedule"

From CDOT Wiki
Jump to: navigation, search
(Week 3 (Sept 15) - Linux Startup)
(Week 4 (Sept 22) - Package Management)
Line 56: Line 56:
 
*** fully compatible with System V
 
*** fully compatible with System V
  
== Week 4 (Sept 22) - Package Management ==
+
== Week 4 (Sept 22) - Linux Package Management ==
 +
<table class="News" border="1">
 +
<tr>
 +
<th class="Invert" style="width: 20%;">Task</th>
 +
<th class="Invert" style="width: 20%;">Ubuntu - apt</th>
 +
<th class="Invert" style="width: 20%;">Opensuse - zypp</th>
 +
<th class="Invert" style="width: 20%;">Fedora - yum</th>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Install&nbsp;
 +
a package</td>
 +
<td class="News" style="width: 20%; text-align: left;">apt-get
 +
install &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
install &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
install &lt;pkg&gt;</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Remove
 +
a package</td>
 +
<td class="News" style="width: 20%; text-align: left;">apt-get
 +
remove &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
remove &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
erase &lt;pkg&gt;</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Update
 +
package list</td>
 +
<td class="News" style="width: 20%; text-align: left;">apt-get
 +
update</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
refresh</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
check-update</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Update
 +
system</td>
 +
<td class="News" style="width: 20%; text-align: left;">apt-get
 +
upgrade</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
update</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
update</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">List
 +
all repositories</td>
 +
<td class="News" style="width: 20%; text-align: left;">cat
 +
/etc/apt/sources.list</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
repos</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
repolist</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Add
 +
a repository</td>
 +
<td class="News" style="width: 20%; text-align: left;">(edit
 +
/etc/apt/sources.list)</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
addrepo &lt;path&gt; &lt;name&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">(add
 +
&lt;repo&gt; to /etc/yum.repos.d/)</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Remove
 +
a repository</td>
 +
<td class="News" style="width: 20%; text-align: left;">(edit
 +
/etc/apt/sources.list)</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
removerepo &lt;name&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">(remove
 +
&lt;repo&gt; from /etc/yum.repos.d/)</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">Search
 +
for a package</td>
 +
<td class="News" style="width: 20%; text-align: left;">apt-cache
 +
search &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">zypper
 +
search &lt;pkg&gt;</td>
 +
<td class="News" style="width: 20%; text-align: left;">yum
 +
search &lt;pkg&gt;</td>
 +
</tr>
 +
<tr>
 +
<td class="News" style="text-align: left; width: 20%;">List
 +
all installed packages</td>
 +
<td class="News" style="width: 20%; text-align: left;">dpkg
 +
-l</td>
 +
<td class="News" style="width: 20%; text-align: left;">rpm
 +
-qa</td>
 +
<td class="News" style="width: 20%; text-align: left;">rpm
 +
-qa</td>
 +
</tr>
 +
</table>
 +
 
 
== Week 5 (Sept 29) - Building a New Kernel ==
 
== Week 5 (Sept 29) - Building a New Kernel ==
 
== Week 6 (Oct 6) - Automated Installations ==
 
== Week 6 (Oct 6) - Automated Installations ==

Revision as of 10:34, 25 September 2008

The tentative weekly schedule shown here is subject to change.

Week 1 (Sept 1) - Intro to SYA710 / Installing Linux

  • Course introduction
  • Introduction to Open Source and Linux
  • Introduction to our labs
    • Lab T2107 - data recovery cards
  • Activities for this week
    • Set up your accounts as described on the LUX Communication page.
    • Complete the SYA710 Lab #0 and blog about the experience.
    • Lab #0 is due before midnight Wednesday, September 10, 2008

Week 2 (Sept 8) - File Systems and Logical Volume Management

  • Activities for this week
    • Complete the SYA710 Lab01 and blog about the experience.
    • Lab01 is due before midnight Wednesday, September 17, 2008
  • Concepts/Commands learned/used in this week's lecture
    • File System: A way to organize data for efficient and easy access
    • Containers: Objects (partitions, files, volumes) that hold file systems
    • Virtual File System: Allows transparent access to files on different file systems
    • Commands: mkfs, fsck, fdisk, mount, umount, e2label, resize2fs
  • Using UUIDs (universally unique identifiers)
    • 128-bit numbers make hard disk management easier
    • add UUID= entry in /etc/fstab
    • Linux file systems support UUIDs, Windows not so much
    • Commands: blkid, vol_id, uuidgen, tune2fs, findfs
  • Working with Logical Volumes (LVM)
    • Physical Volumes (eg partitions) are joined into Volume Groups
    • Logical Volumes are drawn from Volume Groups
    • Commands: pvcreate, vgcreate, lvcreate

Week 3 (Sept 15) - Linux Startup

  • Activities for this week
    • Complete the SYA710 Lab02 and blog about the experience.
    • Lab02 is due before midnight Wednesday, September 24, 2008
  • Concepts/Commands learned/used in this week's lecture
    • Linux Boot Process
      • Power on - Code in ROM BIOS finds and loads 1st stage loader from boot device (MBR)
      • 1st stage loader finds and loads 2nd stage loader (GRUB)
      • 2nd stage loader finds and loads Linux kernel and initial ram disk
      • kernel checks the system hardware, mounts the root device and loads the needed kernel modules
      • kernel runs init program (PID=1)
    • Init Process (System V)
      • init reads /etc/inittab to get default run level
      • init runs rc
      • rc runs runlevel scripts
    • Init Process (Upstart)
      • init gets jobs/tasks from /etc/events.d/
      • init emits startup event to start system
      • init waits for more events
      • fully compatible with System V

Week 4 (Sept 22) - Linux Package Management

Task Ubuntu - apt Opensuse - zypp Fedora - yum
Install  a package apt-get install <pkg> zypper install <pkg> yum install <pkg>
Remove a package apt-get remove <pkg> zypper remove <pkg> yum erase <pkg>
Update package list apt-get update zypper refresh yum check-update
Update system apt-get upgrade zypper update yum update
List all repositories cat /etc/apt/sources.list zypper repos yum repolist
Add a repository (edit /etc/apt/sources.list) zypper addrepo <path> <name> (add <repo> to /etc/yum.repos.d/)
Remove a repository (edit /etc/apt/sources.list) zypper removerepo <name> (remove <repo> from /etc/yum.repos.d/)
Search for a package apt-cache search <pkg> zypper search <pkg> yum search <pkg>
List all installed packages dpkg -l rpm -qa rpm -qa

Week 5 (Sept 29) - Building a New Kernel

Week 6 (Oct 6) - Automated Installations

Week 7 (Oct 13) - Midterm Test

FSOSS and Break Week (Oct 20)

Week 8 (Oct 27) - Virtual Machines

Week 9 (Nov 3) - VM Management

Week 10 (Nov 10) - Creating Custom Spins

Week 11 (Nov 17) - More Spinning

Week 12 (Nov 24) - Making Live CDs

Week 13 (Dec 1) - Exam review

Exam Week (Dec 8)