Fix database errors in OpenPBX
mysqlcheck -u root --check asteriskcdrdb
mysql -b -u root -D asteriskcdrdb -e "REPAIR TABLE cdr" -u root
service mysqld restart
Sunday, August 3, 2014
Monday, July 14, 2014
Was watching 'Halt and Catch Fire' and caught a reference to the 80s hacking circle:
http://en.wikipedia.org/wiki/The_414s
Which lead to this:
http://www.amazon.com/Interface-Effect-Alexander-R-Galloway/dp/0745662536/ref=la_B001H9W646_1_1?s=books&ie=UTF8&qid=1405392604&sr=1-1
As a group this reminds me we are and always will be the most innovative society.
http://en.wikipedia.org/wiki/The_414s
Which lead to this:
http://www.amazon.com/Interface-Effect-Alexander-R-Galloway/dp/0745662536/ref=la_B001H9W646_1_1?s=books&ie=UTF8&qid=1405392604&sr=1-1
As a group this reminds me we are and always will be the most innovative society.
Sunday, April 27, 2014
KVM, virsh and virtual machine manager r0ck!



1. Convert the image to a qemu compatible one qemu-img convert -p "CentOS 64-bit.vmdk" pbx.qcow2
2. Move the image to /var/lib/libvirt/images
3. Install an entry for the new machine using the disk image you made sudo virt-install --import -n fee-pbx1 -r 2048 --disk path=/var/lib/libvirt/images/pbx.qcow2,bus=virtio --network network=default,model=virtio --graphics vnc,listen=0.0.0.0 --noautoconsole -v
4. Make sure it autostarts when the host reboots virsh -c qemu:///system autostart fee-pbx1
After this I found a cool tool called Virtual Machine Manager which lets you ssh into the host machine and manager all your runnning images. This is on par with Vmware ESXi but it's free and really easy to install. You should ideally install virt-manager on your regular development workstation and remote into the vm host. I run centos on my dev box and virt-manager can be installed with yum. Screenshots attached to highlight how sweet these tools are for a light user who wants persistent vms.
Subscribe to:
Posts (Atom)