Agenda for Linux Basics dat8tf063-27 Spring 2016

Learn the basics of Linux in just 8 weeks! Linux course is teached in English in Pasila, Helsinki.
1  Installation w03
2 Desktop Linux, Licenses w04
3 Command Line Interface w05
4 Package Management and Administration w06
5 Apache Web Server w07
w08 is winter holiday
6 OpenSSH Server and Client w09
7 Hello World. Programming environments and shell scripting. w10
8 Final Lab Exercise (50% grade) w11
Tero teaches all the classes in h5004, Tuesdays 08:15 – 11:45.
Moodle (login required).


Course grade consists of homework (50%) and final lab exercise (50%). Course requires active participation in the classes.
Homework reports are returned weekly, for example by publishing on the web and returning the link. We’ll talk about homeworks at the beginning of each class, and you can get oral feedback on your work. All homework is evaluated at the end of the course with one grade, based on a package of combined homework. Still, each individual homework must be completed before next class. If there are quizzes on the class, there points are included in the homework (50%) grade.

Previous Courses and Links

Feel free to check comments on Linux Basics 26, Linux Basics 23, Linux Basics 22 and older feedback, too.
Course description.
Course uses Xubuntu Linux.
Moodle page of Linux Basics (user account required)

Posted in Uncategorized | Tagged , , , , , , , , , | 63 Comments

63 Responses to Agenda for Linux Basics dat8tf063-27 Spring 2016

  1. h1: Create a Linux a live USB. Try it on a computer outside the lab. Report. (This task is about live cd, no installation required)

  2. ps.
    – Get a free (add funded) blog from
    – Use Xubuntu 14.04 LTS 64bit
    – Do not use obsolete 12.04 from 2012. Thank you for pointing that out, Chandni! Obsolete: Xubuntu 12.04 LTS 64bit, use “Burn image” or “Burn ISO”

    – Take backups, for example to an external USB drive. After that, installing Linux is a good idea
    – For this assignment, you don’t have to install, trying live USB is enough
    – It’s a good idea to publish your work. If for some reason you don’t dare or want to publish, you can put your work to a web page behind a password, using password feature or myy private directory. Homeworks must be returned as web pages (not as odt, doc, pdf nor rtf), as links to Moodle (not by email).
    – You can return just a link to Moodle
    – Write your report so that another person could repeat what you did. Write the report at same time when you work. Describe environment, hardware; steps you took; what happened; conclusions.
    Voluntary bonus tasks: include a detailed list of your hardware, try ‘sudo lshw -short -sanitize’.
    Voluntary difficult bonus task: create very detailed hardware report with ‘sudo bash machinotero’
    – Good luck!
    Edit: Use a modern, supported version Xubuntu 14.04 LTS amd64.

  3. none yet, still working on this pendrive in Debian..

  4. Tero, I cant seem to find the homework, or the other two extra problems that you gave us..I cant find it in Moodle
    Thanks in advance..

  5. The task is below, you can return it on your homepage. I’ll put a form in Moodle, but it’s just for the link. (Updated: Linkify)
    “h1: Create a Linux a live USB. Try it on a computer outside the lab. Report. (This task is about live cd, no installation required)”

  6. Hello all,
    Check how you can create a linux live USB and test it.

  7. Artem Astashenkov says:

    Oops, I thought we’re posting this to moodle, forgot to put it here

  8. Phuoc Le says:

    This is how I create a live usb:
    Feel free to give any comments. 😀

  9. Hello!
    Here you can find my blog with my linux course progress:
    Have fun!

  10. h2. a) List software you use (currently, on your old system). For each piece of software, list it’s purpose. Finally, find a Linux alternative (preferably Free). For example: Current software: Microsoft Word -> Purpose: Word Processor -> Linux alternative: LibreOffice Writer.
    b) Pick three Linux applications from your list. Test them by doing a typical task with them. For example, draw a diagram with Inkscape.
    Voluntary reading task: The Rise of Open Source Licensing: chapter 5.1 :”Bargaining in the Shadow of Intellectual Property Law”.

  11. here is my link for the usb pendrive
    thanks I had to edit some of it after the second class

  12. Finished the firstpart of the homework (Iknow its late but im getting, what seems like your infomation!?

  13. Hello here is the first assignment on creating live usb drive for installing linux.

  14. Hello,
    This is assignment 2. In this blog I have written about some software which are similar to window OS and Xubuntu OS.
    Hope it is useful!

  15. Hello,
    This is assignment 2. In this blog I have written about some software which are similar to window OS and Xubuntu OS.
    Hope it is useful to reader!

  16. Hello,
    This is assignment 2. In this blog I have written about some software which are similar to window OS and Xubuntu OS. Please follow the link below to see the post.
    Hope it is useful!

  17. Artem Astashenkov says:

    Here’s my test drive of Linux apps. Hope 3 total detailed failures and one success are ok

  18. Marie Monkam says:

    here is my blog with the newly updated task..

  19. h3. Try three new command line commands or flags. (New to you, they don’t need to be new to the world). You can use ‘man -k keyword’, ‘man command’ and the web to find new commands.
    Learn the most important commands and directories by heart

  20. Optional extra for h3: My day on the command line. Describe how you solve some tasks by using command line.

  21. # Principles
    Minimum priviledge – use the smallest priviledges that get the job done.
    # Things to do with sudo, root
    Affect the whole system
    Installing packages (programs) $ sudo apt-get update && sudo apt-get -y install vlc
    Upgrading packages (programs) $ sudo apt-get update && sudo apt-get upgrade
    Uninstall packages (programs) $ sudo apt-get purge abiword
    Editing system wide configuration $ sudoedit /etc/apt/sources.list
    User priviledges $ sudo adduser tero && sudo adduser tero dialout
    Modifying passwords for other users $ sudo passwd tero
    Viewing some logs $ sudo tail /var/log/auth.log
    # DON’T use sudo or root – use normal user
    Don’t view random text files, don’t view word processor documents
    Don’t run games, word processors, drawing software
    Don’t run web browser as root
    Normal users can change their own password $ passwd

  22. h4. Install a new command line program. Use command line apt-get to install it. If you want to make it more challenging, decide the purpose first, then search for suitable packages with apt-get.
    Analyze two log lines. One of an error or something denied, one about success. Carefully explain each component of the loglines. If you are not sure of the meaning of some part of a log line, also write that down.
    Learn “Commands for Admin” (sudo, apt-get) by heart.

  23. this was too easy, using the apt-get install (program) worked like a charm plus i even checked out if i had a certain program, the command prompt assisted me in saying to install, apt-get install…..
    wow.. windows has nothing on this.

  24. h5. Install Apache2 web server. Let users create homepages (using their normal user rights). Create a sample homepage.
    Create an HTML5 sample page.

  25. Voluntary bonus tasks for h5:
    – Create a Bootstrap page. Tips:
    – Use PHP. Tips: ‘sudo apt-get -y install libapache2-mod-php5’,
    – Get user input to PHP.

  26. Artem Astashenkov says:

    Done! (Despite having broken my xubuntu installation with a stuck kernel update)

  27. h6. Install ssh server. Create two new users. Automate login with public key.
    One of these:
    – try git over ssh (
    – transfer files with scp
    – tranfer rsync (be careful)
    – use graphical remote control with ssh (-X)
    – (hard) secure tunnel to a remote web site

  28. h7. Compile Hello world in two languages.

  29. Hans Kärtner says:
    This assignment and the previous ones as well.

  30. Chandni Sharma says:

    I have uploaded to moodle already earlier. But here also the link:

  31. Elar Saks says:

    Hei that is the link to my blog:

  32. Usman Ali says:

    Hi, this is my link of H2 assignment: