Erinevus lehekülje "CDMonSol" redaktsioonide vahel

Allikas: Kursused
Mine navigeerimisribale Mine otsikasti
 
(ei näidata sama kasutaja 17 vahepealset redaktsiooni)
1. rida: 1. rida:
= Cyber Defense Monitoring Solutions -- fall semester 2014 =
+
1) Changing keyboard layout for the console window
  
== Basic Information ==
+
Edit /etc/sysconfig/keyboard and set KEYTABLE and LAYOUT variables accordingly.
 +
For example, the following settings enable US keyboard:
  
All lectures and lab sessions will be held in room ICT-401 (Akadeemia tee 15A building), on every Friday from 17:45 to 21:00.
+
KEYTABLE=us
  
The lecture of October 10 will be moved to another timeframe (to be announced by the end of September).
+
LAYOUT=us
  
During the semester, two homework assignments are given to each student. Both assignments can yield up to 20 points, thus the maximum score from homework is 40 points. During the exam, three tasks are given to each student, with each task yielding up to 20 points and the whole exam up to 60 points. The final grade for a student is derived from his/her personal score:
+
As another example, the following settings enable Estonian keyboard:
  
* score > 90 -- grade 5 (excellent)
+
KEYTABLE=et
* 80 < score ≤ 90 -- grade 4 (very good)
+
 
* 70 < score ≤ 80 -- grade 3 (good)
+
LAYOUT=ee
* 60 < score ≤ 70 -- grade 2 (satisfactory)
+
 
* 50 < score ≤ 60 -- grade 1 (pass)
+
The possible values for KEYTABLE variable are keymaps located in
* score ≤ 50 -- a student has failed to pass
+
/lib/kbd/keymaps/i386
 +
 
 +
As an alternative, change the layout with the loadkeys command, for example:
 +
 
 +
loadkeys et
 +
 
 +
The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386
 +
 
 +
The 'loadkeys' command sets the keymap until the next reboot
 +
 
 +
 
 +
2) if you want to run the virtual machine in bridged mode, change the MAC address of
 +
the network card (if you haven't done this already) -- otherwise there will be MAC
 +
conflicts if several virtual machines are running simultaneously
 +
 
 +
a) set network adapter mode from NAT to Bridged Adapter
 +
 
 +
b) under Advanced -> MAC Address section, regenerate the MAC
 +
 
 +
c) in /etc/udev/rules.d/70-persistent-net.rules,
 +
delete the entry for the previous MAC address and replace 'eth1' with 'eth0'
 +
in the entry for the current MAC address
 +
 
 +
d) in /etc/sysconfig/network-scripts/ifcfg-eth0,
 +
change the HWADDR for eth0 to the new MAC address, or comment out HWADDR

Viimane redaktsioon: 4. september 2014, kell 11:06

1) Changing keyboard layout for the console window

Edit /etc/sysconfig/keyboard and set KEYTABLE and LAYOUT variables accordingly. For example, the following settings enable US keyboard:

KEYTABLE=us

LAYOUT=us

As another example, the following settings enable Estonian keyboard:

KEYTABLE=et

LAYOUT=ee

The possible values for KEYTABLE variable are keymaps located in /lib/kbd/keymaps/i386

As an alternative, change the layout with the loadkeys command, for example:

loadkeys et

The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386

The 'loadkeys' command sets the keymap until the next reboot


2) if you want to run the virtual machine in bridged mode, change the MAC address of the network card (if you haven't done this already) -- otherwise there will be MAC conflicts if several virtual machines are running simultaneously

a) set network adapter mode from NAT to Bridged Adapter

b) under Advanced -> MAC Address section, regenerate the MAC

c) in /etc/udev/rules.d/70-persistent-net.rules, delete the entry for the previous MAC address and replace 'eth1' with 'eth0' in the entry for the current MAC address

d) in /etc/sysconfig/network-scripts/ifcfg-eth0, change the HWADDR for eth0 to the new MAC address, or comment out HWADDR