From dca7ba5af36ab2358b55c19f12be1c174134239f Mon Sep 17 00:00:00 2001 From: "ap9176@student.uni-lj.si" Date: Wed, 28 Jan 2015 08:58:31 +0000 Subject: Custom Rdate kratki popravki howto si/en verzija git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@244 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/custom_rdate/howtos/en/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kpov_judge/tasks/custom_rdate/howtos/en/index.html') diff --git a/kpov_judge/tasks/custom_rdate/howtos/en/index.html b/kpov_judge/tasks/custom_rdate/howtos/en/index.html index 412a853..0ba231a 100644 --- a/kpov_judge/tasks/custom_rdate/howtos/en/index.html +++ b/kpov_judge/tasks/custom_rdate/howtos/en/index.html @@ -12,7 +12,7 @@ 1. From directory with virtual machine images download Student.vdi (client) and SimpleArbiter.vdi(server)
2. Use VirtualBox (or another program that suits your preferences) create two virtual machines with virtual hard drive files from previous step.
3. Run both virtual machines.
- 4. Use username root and password kaboom to log into client. For loging into server use username tester and password SedemKrogovPekla

+ 4. Use username root and password kaboom to log into client. For loging into server use username tester and password tester

First part: update time with help of rdate.


1. Lookup and write down IP address of server. (ifconfig)


@@ -25,19 +25,19 @@ Program can be written in Java language or Pythonu. You can use text editor of your choice.


JAVA------
- 1. Command nano bintodec3.java creates and opens empty text editor.
+ 1. Command nano guliver.java creates and opens empty text editor.
2. Write a program that converts 32bit numbers in two's complement to decimal.


3. Press Ctrl+X, then Y and Enter to save our program
4. In case you don't have java installed write sudo apt-get install openjdk-6-jdk to install it

5. Compile program with command javac bintodec3.java
- 6. We can test our new program with java bintodec3. Now we input some 32bit numbers in hexadecimal format

+ 6. We can test our new program with java guliver. Now we input some 32bit numbers in hexadecimal format

PYTHON------
- 1. Command nano bintodec3.py creates and opens empty text editor.
+ 1. Command nano guliver.py creates and opens empty text editor.
2. Write a program that converts 32bit numbers in two's complement to decimal.

3. Press Ctrl+X, then Y and Enter to save our program
- 4. We can test our new program with python bintodec3.py



+ 4. We can test our new program with python guliver.py



-- cgit v1.2.1