ifconfig ifconfig brctl addbr mujbr brctl show brctl delbr mujbr brctl addbr xenbr0 brctl show which brctl dpkg -S `which brctl` dpkg -S $(which brctl) echo $PATH dpkg -S /sbin/brctl echo dpkg -S $(which brctl) su - uziv ls -al dpkg -S `which brctl` brctl show ifconfig #ifdown / ifconfig eth0 down #ifdown eth0 / ifconfig eth0 down vi /etc/passwd ldd /bin/bash fg fg jobs ifconfig ifdown eth0 fg ifup eth0 ifconfig brctl addif xenbr0 eth0 brctl show vi /etc/network/interfaces ifup eth0 ifup xenbr0 ping seznam.cz ping 212.20.102.103 fg vi /etc/network/interfaces ifdown xenbr0 ifup xenbr0 ifconfig eth0 ifconfig xenbr0 ifconfig route -n vi /etc/network/interfaces ifdown xenbr0 ifup eth0 route -n ifdown eth0 vi /etc/network/interfaces fg ifup xenbr0 ping 8.8.8.8 vi /etc/network/interfaces ifdown xenbr0 brctl show ifconfig eth0 up ifup xenbr0 aptitude search qemu apt-get apt-file apt-get install apt-file apt-file update apt-file search qemu-dm apt-get install xen-utils ls -al /usr/lib64/xen/bin/qemu-dm mkdir /usr/lib64/ cd /usr/lib64/ ln -s /usr/lib/xen-4.1/ xen /usr/lib/ cd /usr/lib ln -s xen-4.1/ xen-default dpkg -L virt-manager virt-manager-tui dpkg -L virt-manager dpkg -L virt-manager|less vi ls -al /usr/lib64/ xm list vi /etc/xen/xl.conf cd xm list xm console web brctl show apt-file xen-create-image apt-file search xen-create-image apt-get install xen-tools apt-get install xen-tools xen-create-image xen-create-image --hostname xen-mail xen-create-image --hostname xen-mail --dhcp xm top vi /etc/xen/xend-config.sxp virsh xen-create-image --hostname xen-mail --dhcp xen-create-image --hostname xen-mail --dhcp --lvm xen-create-image --hostname xen-mail --dhcp --lvm virt vi /etc/xen/xend-config.sxp man xm ls -al /etc/xen-tools/ cd /etc/xen-tools/ vi xen-tools.conf #vi /etc/xen-tools/xen-tools.conf fg ssh uziv@ineptus.panelnet.cz fg xen-create-image --hostname xen-mail --dhcp --lvm virt #xen-create-image --hostname xen-mail --dhcp --lvm virt jobs ls -al /etc/xen/ ls -al /var/lib/xen/save/ ls -al /var/cache/ ls -al /var/cache/libvirt/ ls -al /var/cache/libvirt/qemu/ apt-get locate apt-get install locate #apt-get install locate updatedb locate xen-mail rm /var/log/xen-tools/xen-mail.* xen-create-image --hostname xen-mail --dhcp --lvm virt xen-create-image --hostname xen-mail --dhcp --lvm virt --force ls -al /tmp/2jz2709Tjo/ rmdir /tmp/2jz2709Tjo/ lsof /tmp/2jz2709Tjo/ apt-get install lsof lsof /tmp/2jz2709Tjo/ lsof /tmp/2jz2709Tjo ps -ef xm list rmdir /tmp/2jz2709Tjo/ less /var/log/xen-tools/xen-mail.log wget http://ftp.cz.debian.org/debian/dists/wheezy/main/binary-amd64/Packages.gz rm http://ftp.cz.debian.org/debian/dists/wheezy/main/binary-amd64/Packages.gz rm Packages.gz vi /etc/xen/xend-config.sxp fg fg fg less /var/log/xen-tools/xen-mail.log vi xen-tools.conf xen-create-image --hostname xen-mail --dhcp --lvm virt --force lvs lvremove xen-mail-disk lvremove /dev/virt/xen-mail-disk mount df -h umount /tmp/ umount /tmp/2jz2709Tjo/ xen-create-image --hostname xen-mail --dhcp --lvm virt --force less /var/log/xen-tools/xen-mail.log vi /etc/xen/xend-config.sxp fg #vi /etc/xen-tools/xen-tools.conf vi /etc/xen-tools/xen-tools.conf df -h umount /tmp/B0lm5wrbLp/ xen-create-image --hostname xen-mail --dhcp --lvm virt --force poweroff arp -n netstat -nlpt netstat -nal|less netstat -nal|grep virt netstat -nal|grep xen dpkg -l|grep virt dpkg -l|grep xen|wc -l dpkg -l dpkg -l >/tmp/a scp /tmp/a 192.168.5.66:/tmp dpkg -l dpkg -l|grep xen-tool virt-manager netstat -nla|less virt-manager ssh 192.168.5.66 -X apt-get install vim vi /etc/vim/vimrc vi /etc/vim/vimrc dpkg-reconfigure tzdata date df -h ls -al /tmp/B0lm5wrbLp/ iptraf apt-get install iptraf iptraf iptraf xm list startx xen-create-image --hostname xen-mail lvremove /dev/virt/xen-mail-disk xen-create-image --hostname xen-mail bg top ls -al /tmp/yg8CKcIwAU/ ls -al /tmp/yg8CKcIwAU/var/ ls -al /tmp/yg8CKcIwAU/var/ ls -al /tmp/yg8CKcIwAU/ ls -al /tmp/yg8CKcIwAU/ umount /tmp/yg8CKcIwAU/ lvremove /dev/virt/xen-mail-disk less /var/log/xen-tools/xen-mail.0.log less /var/log/xen-tools/xen-mail.log cd /etc/xen-tools/ ls -al vi xen-tools.conf brctl show ip a vi /etc/network/it vi /etc/network/interfaces brctl addbr xenbr0 brctl addif xenbr0 eth0 ifconfig eth0 up ping seznam.cz ifup xenbr0 ping seznam.cz xen-create-image --hostname xen-mail which xen-create-image vi /usr/bin/xen-create-image jobs fg 1 less /var/log/xen-tools/xen-mail.log fg less /var/log/xen-tools/xen-mail.log fg less /var/log/xen-tools/xen-mail.log fg fg fg bg apt-get install squid export http_proxy='http://127.0.0.1:3128/' wget seznam.cz tail -f /var/log/squid/access.log tail -f /var/log/squid/access.log tail -f /var/log/squid/cache.log fg fg df -h umount /tmp/wCqxnmKPp8/ lsof /tmp/wCqxnmKPp8/ lsof /tmp/wCqxnmKPp8/* xen-create-image --hostname xen-mail --dhcp --lvm virt --force umount /tmp/wCqxnmKPp8/proc/ lsof /tmp/wCqxnmKPp8/* umount /tmp/wCqxnmKPp8/ lsof /tmp/wCqxnmKPp8/* lsof /tmp/wCqxnmKPp8/ lsof |grep wCq lsof -a|grep wCq lsof -i|grep wCq lsof lsof -i|grep wCq df -h umount /tmp/ umount /tmp/wCqxnmKPp8/ fuser fuser -a fuser -a fuser /tmp/wCqxnmKPp8/ fuser /tmp/wCqxnmKPp8/-a fuser /tmp/wCqxnmKPp8 -a fuser /tmp/wCqxnmKPp8/* man lsof ls -al /etc/xen-tools/ ls -al /etc/xen/ vi xen-tools.conf xen-create-image --hostname xen-mail --dhcp --lvm virt --force ls -al /tmp/wCqxnmKPp8/ cd /tmp/wCqxnmKPp8/ mount umount sys/ cd .. umount /tmp/wCqxnmKPp8/ lvremove /dev/virt/xen-mail-disk xen-create-image --hostname xen-mail xen-create-image --hostname xen-jahoda man grep tail -f /var/log/xen-tools/xen-mail.log y tail -f /var/log/xen-tools/xen-mail.log vi /etc/xen-tools/xen-tools.conf fg tail -f /var/log/xen-tools/xen-mail.log tail -f /var/log/xen-tools/xen-mail.log tail -f /var/log/xen-tools/xen-mail.log vi /etc/squid/squid.conf grep -v ^# /etc/squid/squid.conf ls -al /var/spool/squid/ du -hs /var/spool/squid/ tail -f /var/log/xen-tools/xen-jahoda.log tail -f /var/log/squid/access.log tail -f /var/log/squid/cache.log tail -f /var/log/squid/access.log tail -f /var/log/squid/access.log ls -al /var/spool/squid/ -lR ls -al /var/spool/squid/ -lR|less tail -f /var/log/squid/access.log ls -al /var/spool/squid/ -lR|grep deb tail -f /var/log/squid/access.log du -hs /var/spool/squid/ service xen restart netstat -nlpt netstat -na|grep squid service squid start netstat -nlpt xm list man su startx grep web * -Ri ls -al top exit exit exit cat /tmp/vnc >> xen-jahoda.cfg ifconfig brctl addbr xenbr0 brctl addif xenbr0 eth0 ifup xenbr0 ifconfig eth0 up ifup xenbr0 ifdown xenbr0 ifup xenbr0 ssh uziv@ineptus.panelnet.cz df -h apt-get install iceweasel aptitude search firefox apt-cache show firefox-sage apt-get install firefox-sage xm list vi /etc/default/ vi /etc/default/ update-grub reboot startx lvcreate -L 100M --snapshot /dev/virt/xen-mail-disk lvs xm list virsh lvs cat /dev/virt/lvol1 >/xen/mail.zaloha lvs cat /dev/virt/xen-mail-disk >/xen/mail.zaloha df -h ssh 192.168.5.6 -X ssh 192.168.5.63 -X xm list xm shutdown web xm list virsh virt-manager xm list ssh 192.168.5.63 -X xm destroy xen-mail xm list vi /etc/xen/xen-mail.cfg ls -al xen-jahoda.cfg ls -al /xen/ fg man lvcreate ls -al /xen/ ls -al /xen/ ls -al /xen/ md5sum /dev/virt/xen-mail-disk md5sum /xen/mail.zaloha lvs lvremove lvol0 lvremove /dev/virt/lvol0 lvremove /dev/virt/lvol1 #cat /xen/mail.zaloha >/dev/virt/xen-mail-disk xm list vim /etc/xen/xen-mail.cfg virt-manager vi /etc/fstab poweroff startx cp /etc/iet/ietd.conf /root/ exit history xm migrate xen-cbr 192.168.5.64 ls -al /dev/disk/by-path/ iscsiadm -m discovery -t st -p 192.168.5.63 iscsiadm -m node -p 192.168.5.63 --login xen-create-image --hostname xen-bomba --image-dev /dev/disk/by-path/ip-192.168.5.63\:3260-iscsi-iqn.2009-05.cz.matrix\:storage.pole2.root6-lun-0 ping 192.168.5.63 -s 6000 ping 192.168.5.63 -s 20000 ping 192.168.5.63 -s 6000 ping 192.168.5.63 -s 6000 ping 192.168.5.67 -s 6000 ping 192.168.5.67 -s 6000 ip route get 192.168.5.100 ip route get 192.168.5.63 ip route get 192.168.5.62 xm list xm create -c xen-bomba.cfg xm migrate --live xen-bomba 192.168.5.67 xm migrate xen-bomba 192.168.5.67 xm list vi /etc/hosts xm migrate xen-bomba node1 /etc/init.d/xen restart xm list xm migrate 1 node1 man xm xm migrate xen\-bomba node1 xm migrate xen-bomba node1 nmap 192.168.5.67 apt-get install nmap xm migrate xen-bomba node1 cat /etc/hosts vi /etc/hosts xm migrate xen-bomba node1 /usr/lib/xen-4.1/bin/xc_save less /var/log/syslog less /var/log/xen/xend.log xm migrate xen-bomba node1 xm list xm list vi /etc/xen/xen-bomba.cfg cd /etc/xen ls -al mv xen-bomba.cfg xen-dalibor.cfg xm list xm migrate xen-superbomba node1 watch xm list w ssh uziv@ineptus.panelnet.cz ssh 192.168.5.63 -X ssh 192.168.5.67 -X vi /etc/xen/xend-config.sxp /etc/init.d/xen restart ssh 192.168.5.67 -X netstat -nlpt ssh 192.168.5.67 -X ssh 192.168.5.67 -X virt-manager ifconfig ping 192.168.5.111 ping 192.168.5.111 df -j df -h rm /xen/* df -h apt-get clean df -h squid --help find /var/spool/squid/ -type f service squid stop find /var/spool/squid/ -type f -print0 | xargs rm find /var/spool/squid/ -type f -print0 | xargs -0 rm df -h man dd mount cat /etc/fstab ls -al /dev/disk/by-uuid/ #dd if=/dev/sda2 |gzip > /media/A..../image.img.gz df -h mkfs.ext3 -m0 /dev/virt/root1 #dd if=/dev/sda2 |gzip > /medi/image.img.gz mount /dev/virt/root1 /mnt/ ls -al /mnt/ dd if=/dev/sda2 |gzip > /mnt/image.img.gz bg ls -al /mnt/ watch ls -al /mnt/ fg