Final Lab Exercise of Linux Basics dat8tf063-29 Early spring 2017 p1

Build and test systems for the imaginary company. You have just the empty computer in front of you (no operating system yet) and a Linux Live USB. Feel free to browse the public Internet.
No luck needed, just show us your skills. This is the final lab exercise of Linux Basics 29.

Task

Welcome to MultiProject Ltd. You are our new CTO (chief technological officer) and also our whole one-man IT department. Welcome!
Our employees want to create PHP homepages remotely, from abroad.
Our employees are Jorma Mähkylä, Pekka Hurme, Ronaldo Smith, Håkan Petersson, Jim Jones, Einari Vähäkäähkä, Eija Väntäri. Create a sample PHP homepage for each one.
Protect the machine with a firewall.
Services.txt: write a list of what works and what not in services.txt in your home directory. Include a list of all users and passwords. Protect the file with ‘chmod og-rwx foo’.
Your work will be continued by our new administrator Maija Valkonen. Create her a sudo-enabled account.
This task keeps updating during the exam, remember to refresh.

Rules briefly

Forbidden: Two-way communication, any items not specifically allowed, speaking without permission, looking others monitors.
Forbidden: Paper notes, mobile phones, logging in to anything else but the local computer.
Allowed: Browsing public web, using search engines.
Test everything you set up: not tested is not done.

Return 1/3: Services.txt

  1. Put your name and student number to the document
  2. Write a list of what works and what does not work into services.txt. (Be real, your list is compared to other sources. Include URLs/addresses of services. )
  3. Include a list of all users and their passwords.
  4. Add a link to a page that contains all of your homeworks

Return 2/3: Screenshot of Tests

  1. Put all required documents and tests open on your screen. Put the file with all passwords (including the one with sudo) on screen.
  2. Take a screenshot (PrintScrn) and save it to default location in your home directory “/home/*/Pictures/Screenshort*.png” (where globbing stars means any characters in the default name)

Return 3/3: Tarball lab.tar.gz

Create this tarball for uploading to Moodle

$ cd
$ sudo ls -lR /home/ /var/ /etc/ > lslr.txt
$ sudo ls -lR /home/*/public_html/ /home/*/services.txt > lss.txt
$ sudo head /home/*/public_html/*.php > phphead.txt
$ sudo tar -zcvf lab.tar.gz /var/log/ /etc/ /home/*/.bash* /home/*/*.txt /home/*/public_html/ /home/*/Pictures/Screenshot*.png
$ sudo chown $(whoami) lab.tar.gz

Return services.txt, lab.tar.gz, Screenshot*.txt to Moodle

  1. Create the tarball (as explained above)
  2. Upload tarball lab.tar.gz, screenshot and services.txt to Moodle.

Give Feedback

Thank you for the feedback, it is very valuable to me.
1) Numeric feedback to e-lomake
2) Free text feedback as a comment.

  • Did you learn something?
  • Was it usefull?
  • How are you going to use skills after course?
  • Which class was the most interesting?
  • How could I improve the course?
  • Would you recommend this course to a friend or a collegue?
  • Anything else on your mind?

Thank you! Remember to play with Linux at home.

Posted in Uncategorized | Tagged , , , | 4 Comments

4 Responses to Final Lab Exercise of Linux Basics dat8tf063-29 Early spring 2017 p1

  1. Zeus says:

    Did you learn something?
    Yes, Specially basic Terminal Log lines.
    Was it usefull?
    Yes, I’m positive that this will be useful in the future.
    How are you going to use skills after course?
    To strengthen my future as IT professional.
    Which class was the most interesting?
    SSH and LAMP installation and configuration.
    Would you recommend this course to a friend or a collegue?
    Yes,definitely!

  2. Did you learn something?
    Mostly I refreshed and put together previous knowledge, got some more confidence.
    Was it useful?
    Definitely. Made me exercise and refresh memory.
    How are you going to use skills after course?
    I’ve got several useful links to continue learning, that I’m going to do. And continue using and working with Linux.
    Which class was the most interesting?
    LAMP – putting everything together 🙂
    How could I improve the course?
    First of all make sure that no meetings are planned for teaching hours.
    Would you recommend this course to a friend or a collegue?
    Yes, to someone who has either good base in Computer Science or some knowledge about Linux, not a completely newbie.
    Anything else on your mind?
    Pace of teaching is great, no long pauses, teacher is holding everybody’s attention. Content and way of teaching can be adjusted depending on the group.
    Depending on background of student this course may demand a lot of independant (out of class) work.

  3. Usman Ali says:

    I learned and improved the content what I learned in class. It was quite interesting and usefull. I will work on my desktop computer totally on linux and apply for workplace in linux area. the last class was the most interesting to get the idea of web server on public internet. there can be more detail added in web server part but it was sufficient at basic level. ofcourse, I would recommend. the teacher should give sufficient time in lab class, so depressing.