Changes

Jump to navigation Jump to search
1,662 bytes added ,  15:03, 31 August 2011
m
nemo is a pywikipediabot
== Data ==
{| class="wikitable"
| Name || [http://qwebirc.treehouse.su qwebirc.treehouse.su]
|-
| Description || Development VM for [http://code.google.com/p/qwebirc/ OpenQwaq]
|-
| OS || Debian [[Machine/template-squeeze|Squeeze]]
|-
| Typ || Virtual Machine
|-
| Location || [[Machine/housetree|housetree]]
|-
| Service || [[Service/zzz_template|qwebirc_SERVICE]]
|-
| Admins || [[User:dogi|Stefan Unterhauser]]
|-
| Monitoring || [http://monitoring.treehouse.su/gar/VMs/qwebirc.treehouse.su/ munin]
|}
== Recipe ==
ssh root@housetree 'qemu-img create -f qcow2 /srv/vm/qwebirc.qcow2 20G'
ssh root@squeeze 'rm /etc/udev/rules.d/70-persistent-net.rules'
ssh root@squeeze 'sed -i "s/squeeze/qwebirc/" /etc/dhcp/dhclient.conf; sync'
ssh root@housetree 'virsh suspend template-squeeze'
ssh root@housetree 'virt-clone --force -o template-squeeze -f /srv/vm/qwebirc.qcow2 -n qwebirc'
ssh root@housetree 'virsh resume template-squeeze'
ssh root@squeeze 'sed -i "s/qwebirc/squeeze/" /etc/dhcp/dhclient.conf'
ssh root@housetree 'virsh start qwebirc'
add "qwebirc" to .ssh/config and to treehouse-DNS
ssh root@qwebirc 'sed -i "s/squeeze/qwebirc/g" /etc/hostname /etc/hosts /etc/postfix/main.cf'
ssh root@qwebirc 'ssh-keygen -N "" -f /etc/ssh/ssh_host_rsa_key -t rsa'
ssh-keygen -f ".ssh/known_hosts" -R qwebirc.treehouse.su
ssh root@qwebirc 'ssh-keygen -N "" -f /etc/ssh/ssh_host_dsa_key -t dsa'
ssh root@qwebirc 'ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa'
ssh root@munin 'sed "s/squeeze/qwebirc/" </etc/munin/munin-conf.d/squeeze >/etc/munin/munin-conf.d/qwebirc'
helsene's username and public sshkey is missing
ssh root@qwebirc 'reboot'
42

edits

Navigation menu