Backup/Restore/Clone a partition LIVE using LVM Snapshots and rsync Formulated this hack to fix the disk errors on my /var partition normally you could do this with any partition and could be preformed live too. However considering i have to do fsck on /var the machine must be shutdown -h now first then you have… Continue reading Backup Restore or Clone LIVE
Category: Technical
Adding an OpenVZ container
Create a new CT or template Create CT Add a users do not forget backup user adduser username Change user UID and GID to match those on the hypervisor vi /etc/group change the GID to the correct value i know this is not ideal but it works usermod -u 3000 -g 3000 username Put privliged… Continue reading Adding an OpenVZ container
Setting up your android phone with PAID mail
NEEDS EDITING Introduction Android-based smartphones sync email, contacts, and calendars to Computer King Email accounts. The pre-requisites for configuring your mobile device include: The Computer King email system used by your organization or service provider is a paid Network Edition license (ask your administrator if you are not sure) Your administrator has enabled mobility on your… Continue reading Setting up your android phone with PAID mail
Handy hacks
Reinstall video card drivers after botched ubuntu kernel upgrade This one is for my brother as each time he does a kernel upgrade ubuntu forgets to upgrade his video card it has caused both of us alot of grief, nice thing is he can boot to an older kernel version and everything is fine. sudo… Continue reading Handy hacks
Raid1 on existing system
WORK IN PROGRESS Introduction Backup first and as you will see below i have a Western Digital Green 2T (SLOW) disk called /dev/sdc with partiton /dev/sdc1 mounted at /mnt/2T. This is probaly the last i will mention of this so take heed my warning and backup first! In this tutorial I’m using a Debian Squeeze… Continue reading Raid1 on existing system
Zimbra KVM
I have a love hate relationship with Zimbra, mostly love to hate it, have a Network Edition KVM which i am not that thrilled with, for alot of reasons comment me if you are interested in them For this document I have setup a KVM using the OSS version, and wow Zimbra 8 is shiny and… Continue reading Zimbra KVM
Postfix as a transport
This is/was tricky business to setup, and i am still working on it more to come in this post once i get the server tuned
Recreating or Migrating Space and Saturn
Space and Saturn are special cases because they are KVM and need a separate virtual hard disk drives that we do not want to backup for some partitions. Therefore you must create the new harddisk before starting the machine using the GUI, create a new hard drive. Type: Virtio Storage: local-lvm Size: … Continue reading Recreating or Migrating Space and Saturn
Changing networking Setup in Solar System
Introduction This usually takes a day should only take an hour, but always miss something and have to troubleshoot for at least 5 hours. Made these instructions just in case, god forbid when have to do it again i might not screw it up. Using the setting below they are pretty obscure and leaves room… Continue reading Changing networking Setup in Solar System
Apache rewrite
Here is how to make a redirct work, first add this A record to your database file on the DNS server that manages the the ServerAlias below. Don’t forget to update the serial # if you are old school and still manually edit your database files like me. cool.computerking.ca IN A XXX.XXX.XXX.XXX Next add the… Continue reading Apache rewrite