This page is obsolete and stored only for historical reasons.

Tie63d9 Linux Basics - Agenda 2005 Spring

Latest version of this document is http://www.iki.fi/karvinen/linux-basics.

Material: 1) Classes 2) Homework notes 3) Links in this document

Timetable with Week Numbers

3. Installing Linux, Distributions, Licenses
4. Linux as a Workstation, Graphical User Interface
5. Command Line, Installing Programs
6. Apache Web Server
7. Remote Control with OpenSSH Server and Client
(8. Winter Holiday)
9. Programming
10. Revision & Learning More Linux
11. Exam 2005-03-18

Homework

After every class, you get some homework to do in a computer lab without supervision. All homework is done using Linux. Some of them are easy, but some of them are demanding and take time to complete. Homework must be returned one day before the next class (by Sunday for tie64d8 and by Wednesday for tie64f1).

If you want your work to be actually useful, use a free license by adding this text to your work: ???Copyright (c) 2005 YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. ??? As you are the copyright owner of your own reports, you can license it any way you wish and using a free license is not obligatory.

Homework is return by publishing a report on your own web page in HTML format, so that they are reachable at http://myy.helia.fi/~a12345/linux/ , where a12345 is your student number.

Only report what you really did and what happened. Make it clear what happened, and did the task succeed or not.

Give credit where credit is due. In addition to mentioning my classes (???Based on Linux Basics course by Tero Karvinen www.iki.fi/karvinen???) also give credit to other sources of information you used, such as web pages and advice from fellow students. If you get stuck, you can also check if someone else has published a report on the homework you are doing.

Writing reports of things you have not done is considered cheating. Hard disks will be randomly checked to see that reported work is really done.

Publish your report (not necessarily the created files) on http://myy.helia.fi/~a12345/linux/.

14. Installing Linux, Distributions, Licenses

Installing Fedora Core.

What's a distribution? Most important Distributions: Debian, Fedora / Red Hat, Knoppix, SuSe, Mandrake...

What is open source? OSI and GNU definitions. Four freedoms. Most important open source licenses. GPL, FDL, BSD, LGPL, Creative Commons.

Install Linux so that you get a graphical desktop and can browse the Internet.

FSF: The Free Software Definition http://www.gnu.org/philosophy/free-sw.html

http://distrowatch.com/ (just quickly browse this large site a bit)

Installing Fedora Core 3 in Helia Labs with Network Install http://myy.helia.fi/~karte/kurssit/tie63d/ratkaisuja/install-fedora-3-in-helia-labs.txt

15. Linux as a Workstation, Graphical User Interface

Using most common software. OpenOffice.org, Gimp, Nautilus / Konqueror, Firefox, gftp.

Creating and publishing a web page.

Getting help. Man, distribution documentation, /usr/share/doc, info. Google, gmane and google groups for specific error messages.

If we have time left, we can take peek at command line.

Write a document with a word processor. Include an image you have modified with an image manipulation program. Save it using that word processors native format, as an HTML, as a pdf and as a Microsoft Word doc.

16. Command Line, Installing Programs

Benefits of command line: speed, simplicity, low need of resources, same commands work on many systems...

Moving around. File manipulation. Editing documents with nano or pico. Quiting programs with ctrl-c or q.

Root.

What is a package manager? Installing programs with yum.

Write examples of ls, pwd, cd, more, pico (or nano), cp -r, mv, rm -r. Try a new command line program.

Install something (for example lynx, gkrellm) with yum.

Yum keys (NOKEY error) are installed with: rpm ???import /usr/share/doc/fedora-release*/RPM-GPG-KEY*

17. Apache Web Server

Why Apache? Comparison to competition. My experiences.

How database, scripting language, web server and web browser interact?

Install LAMP (Apache MySQL PHP is enough, as you probably have Linux already). Write a simple program that shows how LAMP works.

Karvinen: Build Web Interface to Database - LAMP Linux Apache MySQL PHP

18. Remote Control with OpenSSH Server and Client

SSH benefits and features.

Client ??? what we know already.

Server ??? quick installation.

Client ??? less known features.

Server ??? understanding settings.

Install ssh server. Copy part of your myy home directory to your own computer (recursing to subdirs). Give an example of graphical remote control using ssh.

19. Programming

Comparison of languages.

Bash.

Perl and regular expressions. Grep.

./configure && make && ./foobar

Installing gcc and *-devel packages.

Installing Java software developers kit and plugin.

Write a shell script. Compile simple example program in Java. Compile a program using make. Write a perl one-liner. Give an example of grep.

Short Revision & Learning More Linux

Revision of the course.

Overview of the filesystem: what's /etc, /var, /home...

Learning more Linux after the course. Websites to follow. Administering of Linux networks tie64d. Participating the open source movement. Harvesting the freedom of software as company profit.

Write your own Linux cheat sheet. Don't bring it to my exam.

20. Exam 2005-05-17

Requirements for test are the ones shown ???Material??? in the beginning of this document. You should both remember the commands by heart and understand them well enough to solve problems with them.

See also:

http://fedora.redhat.com/

There are some old example solutions linked from http://myy.helia.fi/~karte/kurssit/tie63d/linux-perusteet-2004-syksy.html and http://myy.helia.fi/~karte/kurssit/tie63d/ratkaisuja/. They are mostly in Finnish.

The Unofficial Fedora FAQ

Example Solutions by Students on tie63d9

Ari h1-2
Jussi h1-0
Aarne h1-0
Sampo h1-2
Joni h1-0
Timo h1-2
Satu h1-2
Kaisa h1-0
Janne h1-0
Kalle h1-2
Saku h1-2
Raija h1-0
Matti h1-0
Elina h1-0
Kari h1-0
Leena h1-0
Hanna h1-0
Aino h1-0

Local mirror of example solutions of tie63d9, 2005 Spring

Example Solutions by tie63f1 and tie63d8 Students

Graded on scale 0,1,2.

7394686 Joakim - 7342455 Otto - 7387962 Pasi - 7398639 Teemu - 7337190 Pekka - 7369188 Erkki - 7393515 Tapio - 7363242 Miro - 7320073 Noora - 7352238 Tiina - 7331418 Marja - 7361940 Heidi - 7319220 Marko - 7319068 Ronny - 7381077 Tuukka - 7303561 Johanna - 7382801 Lauri

7304560 Ben Salah w3install: 2+ (Good comments and screenshots. ). w4gui: 0

7385574 Ulla w3: 0, w4: 0. (404!)

7373673 Konstantinos w3: 2 (Use past tense for things you did. Make it clear what happened. ). w4: 0. FDL.

7335707 Andrew w3: 2. w4: 2 (Report, not just files. ).

7322905 Henry w3: 2. w4: 2. ( Pretty site.)

7351996 Fernandez w3: 2. w4: 2 ( Funny characters in document. )

7316131 Stoyan w3: 2. w4: 0. (How about a Free license and name on document?)

7315063 Toto w3: 2. w4: 2 (Pretty site. )

7323584 Dmitri w3: 2. w4: 2 (Write report in past tense, make it clear what happened. Avoid popups.) FDL.

7300941 Kamal Rebwar w3: 2. w4: 2.

7340425 Ville w3: 2. w4: 1. ( w4 broken image as forgot to upload jpg, no report. )

7392152 Thierry w3: 0. w4: 0. (Get started with homework!)

7308226 Eduardo w3: 2 (funny underline in html. How about mentioning my course?) w4: 1 (only pdf, no report)

7325431 Ashley w3: 2+ (dual boot) w4: . FDL. w4: 0.

7303459 Rajesh w3: 2. (abuse of HTML elements: don't use text box for page text. ) w4: 0.

7386756 Karim w3: 2. ( Text overlaps itself on page.) w4: 2.

7373206 Lin w3: 1 (Use HTML, not Microsoft doc ). w4: 0.

© Tero Karvinen http://www.iki.fi/karvinen. All Rights Reserved.

[This page has been anonymized, but non-identifying information is intact. Personal looking data is synthetic. The server allowing students to publish their solutions is gone, so the broken links were removed. Every name mentioned had a link like http://myy.helia.fi/~a0123456/linux/]