Erinevus lehekülje "CDMonSol" redaktsioonide vahel

Allikas: Kursused
Mine navigeerimisribale Mine otsikasti
 
22. rida: 22. rida:
  
 
The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386
 
The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386
 +
 
The 'loadkeys' command sets the keymap until the next reboot
 
The 'loadkeys' command sets the keymap until the next reboot
  

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