summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/custom_rdate/howtos/en/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/custom_rdate/howtos/en/index.html')
-rw-r--r--kpov_judge/tasks/custom_rdate/howtos/en/index.html10
1 files changed, 5 insertions, 5 deletions
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) <br>
2. Use VirtualBox (or another program that suits your preferences) create two virtual machines with virtual hard drive files from previous step.<br>
3. Run both virtual machines. <br>
- 4. Use username <strong>root</strong> and password <strong> kaboom </strong> to log into client. For loging into server use username <strong>tester</strong> and password <strong>SedemKrogovPekla</strong></p>
+ 4. Use username <strong>root</strong> and password <strong> kaboom </strong> to log into client. For loging into server use username <strong>tester</strong> and password <strong>tester</strong></p>
<img src="slike/bu15.png"> <img src="slike/bu1.png">
<p><h3><u><strong><em>First part: update time with help of rdate.</em></strong></u></h3><br>
1. Lookup and write down IP address of server. (ifconfig)<br><img src="slike/bu2.png"><br><img src="slike/bu3.png"><br>
@@ -25,19 +25,19 @@
Program can be written in Java language or Pythonu. You can use text editor of your choice.</p>
<p><br>
JAVA------<br>
- 1. Command nano bintodec3.java creates and opens empty text editor.<br>
+ 1. Command nano guliver.java creates and opens empty text editor.<br>
2. Write a program that converts 32bit numbers in two's complement to decimal.<br>
<img src="slike/bu6.png"><br><img src="slike/bu7.png"><br>
3. Press Ctrl+X, then Y and Enter to save our program<br>
4. In case you don't have java installed write <strong>sudo apt-get install openjdk-6-jdk</strong> to install it<br><img src="slike/predvaja_clip_image003.gif"><br>
5. Compile program with command <strong>javac bintodec3.java</strong><br>
- 6. We can test our new program with <strong>java bintodec3</strong>. Now we input some 32bit numbers in hexadecimal format <br><img src="slike/bu9.png"><br></p>
+ 6. We can test our new program with <strong>java guliver</strong>. Now we input some 32bit numbers in hexadecimal format <br><img src="slike/bu9.png"><br></p>
<p>PYTHON------<br>
- 1. Command nano bintodec3.py creates and opens empty text editor.<br>
+ 1. Command nano guliver.py creates and opens empty text editor.<br>
2. Write a program that converts 32bit numbers in two's complement to decimal.<br>
<img src="slike/bu5.png"><br>
3. Press Ctrl+X, then Y and Enter to save our program<br>
- 4. We can test our new program with <strong>python bintodec3.py</strong><br><img src="slike/bu8.png"><br></p><br><br>
+ 4. We can test our new program with <strong>python guliver.py</strong><br><img src="slike/bu8.png"><br></p><br><br>
<p>