Tero Karvinen - Articles - Downloads - Courses - Contact

Table of Contents

This page is OBSOLETE and stored for historical reasons.

Did you mean the latest: Linux Basics?


Exam of Linux Basics 2008 early spring

Linux Basics early spring 2008 - dat8tf063-8

After completing Linux Basics, you

Linux Basics tie8tf063 is lectured on Tuesdays 08:15 - 12:00 in classroom h5013 (karte's timetable). The course is teached by Tero Karvinen.

There is a pre-exam for Linux Basics.

Agenda

1 Pre-exam, Installation w3

2 Desktop Linux, Licenses w4

3 Command Prompt w5

4 Package Management and Administration w6

5 Apache Web Server w7

(No teaching on w8 - winter holiday)

6 OpenSSH Server and Client w9

7 Programming w10

8 Exam 2008-03-11 08:15, class H5013 w11

Detailed Agenda

1 Installation, Distributions

2 Desktop

3 Command Prompt

4 Management and Administration

5 Apache Web Server

6 OpenSSH Server and Client

7 Programming

8 Exam

Assignments

Publish homework reports on your myy homepage in the URL given. For example, task h-1 will be published in http://myy.helia.fi/~a12345/linux/install.html , Where a12345 is your student number and 1 is the number of the excercise (week number - 34). Use normal html for publishing web pages. Each student does homework separatly and writes his own report. You can of course advice fellow students if they get stuck. Homeworks must be on the homepage one whole day before next class (Latest Saturday Sunday 23:59). Mention my course: “Based on Linux Basics course by Tero Karvinen http://www.iki.fi/karvinen“. If you want, you can use a Free license (like the license of Linux) by adding text: “This document can be copied under the GNU General Public License”.

Install

h-1: a) Install Ubuntu Linux. (In the first excersice, just save your report in a digital form to myy or usb key. We’ll learn to publish web pages on the next class). http://myy.haaga-helia.fi/~a12345/linux/install.html

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Desktop

h-2: a) Publish a web page. b) Do three common computer tasks (for example: burn a cd, postwork a photo...) c) List most important programs you use daily or weekly. Find alternates to those in Ubuntu (if there are any).

http://myy.haaga-helia.fi/~a12345/linux/desktop.html

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Command Line

h-3: a) Try all the commands learned, many times - learn them all by heart. For this a part, only document if something unexpected happens or if you want more information about some command. Do and report: b) Try 5 commands (other than those mentioned on the class or the Command Line document). Use ‘man -k foo’ to find new commands if needed c) write a story of a day with command line. Invent relevant tasks. Use commands learned and others.

http://myy.haaga-helia.fi/~a12345/linux/command-line.html

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

See also: Command Line.

Administration

h-4: a) Install three new pieces of software we have not tried before. Use command line interface for this. b) Give a short example of their use. c) Analyze a log of your choosing. Concentrate on some specific aspect or service. You can choose any log from /var/log/ you want, but most common are syslog, dmesg, Xorg.0.log and apache/*. You can use ‘grep’ to pick interesting lines. d) Optional hard: Install and use PGP enigmail

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Commands for Admin

Apache

h-5: a) install and test mod-php b) write a php program that reads user inputs c) Write a program that counts body mass index (BMI). BMI = mass(kg) / height(m) / height(m), should be between about 20 and 24. d) install mysql-server and phpmyadmin e) optional extra, challenging: write a php program to access mysql database

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

SSH

h-6: a) Change password b) Share files with ssh c) Securely copy files between computers with scp d) Run a graphical user interface program remotely trough ssh e) Optional extra: automate login with ssh client public key authentication f) Difficult optional extra: Use an http tunnel to HH www cache g**) Difficult optional extra: mount sshfs

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Programming

h-7: a) Read the GNU Free Software Definition. Pay attention to four freedoms. (This a is just a reading task, no report needed).

Do (and report) either b1 or b2: b1) Compile Hello World with C++. Use the g++ compiler.

or

b2) Compile a program using ‘make’ and ‘configure’. For example wget (in Finnish) is easy to compile with make.

c) optional extra: install eclipse IDE and compile “Hello World” with that.

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Good luck for preparing for the exam!

Links

Homeworks

Armine Sulabh Ivan Olga Ameer Aktar Jurica Isaac Jernej Mirian Alexei Peter Sasa Michael Karen Kaveri Daniel Qiang

Old course pages

Oldest pages of Linux Basics.

Linux Basics tie63f3 early spring 2006

Linux Basics tie63f4 early autumn 2006

Linux Basics tie8tf063/5 early spring 2007

Linux Basics dat8tf063/7 late autumn 2007

Last modified: 2008-08-19. Permanent url: http://www.iki.fi/karvinen/linux_basics_dat8tf063-8_early_spring_2008.html

Tero Karvinen www.iki.fi/karvinen - Top - Validate HTML - Validate CSS