Exercise No. 1:Orientation in LABPopis pracovist laboratore N211, vyucujici studentum objasni zapojeni kabelaze v labu, patchpanelu na pracovistich, osazeni racku a adresy siti, ktere v labu pouzivame. Studenti budou schopni propojovat zasuvky patchpanelu pracovist s aktivnimi prvky v racku. Vyucujici seznami studenty s bezpecnostnimi predpisy v laboratori. Vyucujici vysvetli zalohovani partition pomoci G4L. Kazdy HDD na pracovisti je rozdelen do oblasti:
IP power Netio-230 /* Statical IP, in /etc/network/interfaces auto eth0 /* iface eth0 inet dhcp iface eth0 inet static address 158.196.244.220 netmask 255.255.255.128 gateway 158.196.244.129 /* Restart the network... /etc/init.d/networking restart /* virtualization in KVM /* step 1 - installation KVM and virtinst (a tool to create virtual machines) aptitude install kvm libvirt-bin virtinst /* Afterwards we must add the user to the group libvirt: adduser `id -un` libvirt /* You need to log out and log back in for the new group membership to take effect and to check if KVM has successfully been installed virsh -c qemu:///system list /* you should display server1:~# virsh -c qemu:///system list Id Name State qemu:///system list /* we need to set up a network bridge on our server so that our virtual machines can be accessed from other hosts as if they were physical systems in the network. aptitude install bridge-utils /* and configure a bridge. Open /etc/network/interfaces: vi /etc/network/interfaces auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address 158.196.244.191 network 158.196.244.128 netmask 255.255.255.128 broadcast 158.196.244.255 gateway 158.196.244.129 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off cd /home wget http://cdimage.debian.org/debian-cd/5.0.6/i386/iso-cd/debian-506-i386-netinst.iso debian:~# virt-install --connect qemu:///system -n vm10 -r 512 --vcpus=2 -f ~/vm10.qcow2 -s 12 -c /home/debian-506-i386-netinst.iso --vnc --noautoconsole --os-type linux --os-variant debianLenny --accelerate --network=bridge:br0 --hvm virsh --connect qemu:///system // start vm10 help list --all define /etc/libvirt/qemu/vm10.xml start vm10 shutdown vm10 destroy vm10 /* switch off suspend vm10, resume vm10 quitVMWARE server on DEBIAN http://www.howtoforge.com/how-to-install-vmware-server-2-on-debian-lenny APPLIANCE pro VMWARE http://www.thoughtpolice.co.uk/vmware/ |