Lab 02 - Geany, GnuPG, Scripting (revision 150916-r01)

Back to Wiki Page

Resource

  1. Have you joined SCELE Operating Systems?
  2. Have you joined SCELE Arsip?
  3. Report through SCELE Technical Problem should you find any problems!
  4. Remember, Uncle G is your friend!

Prerequisites

  1. You may use your own laptop or Lab's computer to do the tasks.
  2. Boot up Ubuntu from your flashdisk and login into your account.
  3. Create KELAS/NPM/Lab02 directory. For example my KELAS is TESTING and my NPM is 1202000818, replace it with your class (REG, INT, MTX) and student ID.
    $ mkdir -p TESTING/1202000818/Lab02
    $ cd TESTING/1202000818/Lab02/
  4. Do the following to prepare the examination:
    $ wget http://opendata.ui.ac.id/os/UPDATE.x
    $ chmod +x UPDATE.x
    $ ./UPDATE.x
    $ rm -f UPDATE.x
    

Task

  1. Open Geany and find out how to:
    1. set gcc compiler and executor to be usable using buttons directly in Geany.
    2. set Java compiler and executor to be usable using buttons directly in Geany.
    3. Write a simple "Hello, World!" program in C/C++ using Geany. The source name is Hello.c and the executable is Hello.
  2. Create your GnuPG key using these details:
    1. RSA & RSA encryption method, 4096 bit long
    2. 6 months key validity
    3. Name: your complete name
    4. Email: your UI email
    5. Comment: any comment (example: "studying OS super dooper easy!")
  3. List your key so that you can be sure that it's been generated.
  4. Submit your GnuPG key to opendata server.
  5. Do the Scripting Tutorial.
  6. Now do the Scripting Problem.

Submission

  1. Create a pdf document named Lab02.pdf that explains:
    1. Steps to set Geany button shortcut for gcc and Java compiler and executor.
    2. Steps to create and list GnuPG key.
      Remember that each group should create one pdf document that will be submitted by each team members. Make sure that you put the Group Name and details of the team members into the document.
  2. Execute genbio script
    $ genbio
  3. Do md5sum Tutorial.
  4. Do Examination Tutorial.
  5. Put all your files and documents in KELAS-NPM-Lab02.tar.bz2 archive. Replace KELAS with your class (REG, INT, MTX), NPM with your student ID.
  6. Submit your document to Scele. Each person should submit:
    1. myself.txt
    2. Hello.c
    3. Hello
    4. tanyatutor.txt
    5. kodetutor
    6. jawabtutor.txt
    7. tanya.txt
    8. kodesoal
    9. jawab.txt
    10. Lab02.pdf
    11. MD5SUM
    12. MD5SUM.asc
  7. That's it, folks. Have fun for the rest of the week.

Back to Wiki Page