Lab 01 - GnuPG, Scripting (revision 150916-r01)¶
- Have you joined SCELE Operating Systems?
- Have you joined SCELE Arsip?
- Report through SCELE Technical Problem should you find any problems!
- Remember, Uncle G is your friend!
- Boot your PC through ltsp (don't press any key during boot)
- Login using your account
- Open terminal and ssh with your username on os1xx machine (Change xx with your assigned VM number).
$ ssh firstname.lastname@example.org
- 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/
- 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
- Write a simple "Hello, World!" program in C/C++ using vim. The source name is Hello.c and the executable is Hello.
- Create your GnuPG key using these details:
- RSA & RSA encryption method, 4096 bit long
- 6 months key validity
- Name: your complete name
- Email: your UI email
- Comment: any comment (example: "studying OS super dooper easy!")
- List your key so that you can be sure that it's been generated.
- Submit your GnuPG key to opendata server.
- Do the Scripting Tutorial.
- Now do the Scripting Problem.
- Create a text document named Lab01.txt that explains:
- Steps to create and compile Hello.c to be executable Hello.
- 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.
- Execute genbio script
- Do md5sum Tutorial.
- Do Examination Tutorial.
- 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/
- 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 email@example.com:TESTING-1202000818-Lab01.tar.bz2
- Submit your document to Scele. Each person should submit:
- That's it, folks. Have fun for the rest of the week.