Lab 01 - GnuPG, Scripting (revision 150916-r01)

Back to Wiki Page


  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!


  1. Boot your PC through ltsp (don't press any key during boot)
  2. Login using your account
  3. Open terminal and ssh with your username on os1xx machine (Change xx with your assigned VM number).
    $ ssh
  4. Create KELAS/NPM/Lab01 directory. For example my KELAS is TESTING and my NPM is 1202000818, replace it with your class (A160, B160, C160, D160, E160, EXT160) and student ID.
    $ mkdir -p TESTING/1202000818/Lab01
    $ cd TESTING/1202000818/Lab01/
  5. Do the following to prepare the examination:
    $ wget
    $ chmod +x UPDATE.x
    $ ./UPDATE.x
    $ rm -f UPDATE.x


  1. Write a simple "Hello, World!" program in C/C++ using vim. The source name is Hello.c and the executable is Hello.
  1. 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!")
  2. List your key so that you can be sure that it's been generated.
  3. Submit your GnuPG key to opendata server.
  4. Do the Scripting Tutorial.
  5. Now do the Scripting Problem.


  1. Create a text document named Lab01.txt that explains:
    1. Steps to create and compile Hello.c to be executable Hello.
    2. Steps to create and list GnuPG key.
      Students in the same group can cooperate to create this document. Make sure you type the name of the group members in 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-Lab01.tar.bz2 archive. Replace KELAS with your class (A160, B160, C160, D160, E160, EXT160), NPM with your student ID.
    $ cd ..
    $ tar cvjf TESTING-1202000818-Lab01.tar.bz2 Lab01/
  6. Copy the tar.bz2 file to your ltsp. For example using filename before and change username to your username used to login into ltsp. Enter password when prompted.
    $ scp TESTING-1202000818-Lab01.tar.bz2
  7. 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. Lab01.txt
    11. MD5SUM
    12. MD5SUM.asc
  8. That's it, folks. Have fun for the rest of the week.

Back to Wiki Page