linux_basics_dat8tf063_7_late_autumn_2007

Table of Contents

This page is OBSOLETE.

Are you looking for the latest version: Linux Basics.


Obsolete: Linux Basics dat8tf063/7 early autumn 2007

After completing Linux Basics, you

  • Can install a Linux workstation with software
  • Can use command line interface
  • Can install 1-2 most important servers
  • Know the idea of Free software and the most important Free licenses
  • Know how to keep learning Linux independently

(Old study guide)

Linux Basics tie8tf063 is lectured on Mondays 10:15 – 14:00 in classroom h5013 (karte’s timetable). The course is teached by Tero Karvinen.


Agenda

1 Installation, Distributions w35

2 Desktop Linux, Licenses w36

3 Command Prompt w37

4 Package Management and Administration w38

5 Apache Web Server w39

6 OpenSSH Server and Client w40

7 Programming w41

8 Exam 2007-10-14 10:15, class H5013. w42


Detailed Agenda

1 Installation, Distributions

  • Install Ubuntu Dapper 6.06 LTS. Obtaining install medium. Demonstration. Trying it. Details. Dual boot installations, backing up. Differences to installing other operating systems.
  • Distributions: Definition. Life without distribution. Most important distributions.

2 Linux, Licenses

  • Basics – all your users want to do this: Browsing the web, reading email trough web, writing documents, printing.
  • Common tasks: Browsing filesystem, editing text and source code, publishing on the Web
  • Specific uses: Spreadsheets; Slides; Removable storage; CD writing, ripping music; Image manipulation; Web browsing tricks

3 Command Prompt

  • Moving and looking around. Relative and Absolute Path.
  • File Manipulation.
  • SSH Remote Control
  • Help
  • History and Guessing
  • Usefull commands
  • See also: Command Line

4 Management and Administration

  • Many ways to use the package manager: “Applications: Add applications”, “Administration: Synaptic”, “Update Manager”, ‘apt-get’
  • Definition of the package manager. Probelms solved by the package manager.
  • Priviledged use. Root doesn’t surf. ‘sudo’
  • sudo apt-get update, sudo apt-get install inkscape, sudo apt-get upgrade, apt-cache search apache

5 Apache Web Server

  • Installing Apache
    • Enabling user homepages
  • Why Apache

6 OpenSSH Server and Client

  • Installing OpenSSH server
    • Letting a friend log in
  • Why OpenSSH (and how to choose software for remote access)
    • Security, features, price, platforms
  • Posix file permissions
    • Create a folder where your friend can write

7 Programming

8 Exam 2007-03-12 10:15, class H5013.


Assignments

Publish homework reports on your myy homepage on http://myy.helia.fi/~a12345/linux/h-1.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 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”.

The following assingments are just an initial draft. They become official when they are given as homework at the end of each class. .

h-1: a) Install Ubuntu Linux. b) Where Linux is used near you or in your daily life? (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).

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).

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

See also: Command Line.

h-4: a) Install three new pieces of software we have not tried before. Choose software from different components (main, universe, multiverse…) b) Give a short example of their use. c) Optional hard: Install and use PGP enigmail

h-5: a) Install apache web server, allow user homepages, make a homepage as a user b) install and test mod-php c) write a php program that reads user inputs d) Write a program that counts body mass index (BMI). BMI = mass(kg) / height(m) / height(m), should be between about 20 and 24.

h-5 optionals: e) optional extra: install mysql-server and phpmyadmin e) optional extra, challenging: write a php program to access mysql database

h-6: a) Get a friend login to your computer securely. b) Send messages to a user on same host c) Run a graphical user interface program remotely trough ssh d) Optional extra: automate login with ssh client public key authentication e) Optional extra: Use an http tunnel to HH www cache f**) Difficult optional extra: mount sshfs

h-6 Just read: Have a look at “Snake Oil Faq”. Read about public key authentication.

h-7: a) write a shell script b) compile “hello world” in Java

Do either c1 or c2: c1) Compile Hello World with C++. Use the g++ compiler. c2) Compile a program using ‘make’ and ‘configure’. For example wget (in Finnish) is easy to compile with make.

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

Good luck for preparing for the exam!


Links


Old course pages


Future Stuff

There will be a pre-exam for Linux Basics in Spring 2008.


Posted in Old Site | Tagged , , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Recent Posts

  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects