Posted in linux, xen by: meh
No Comments
22 Oct
when first booting xen most people like me (who like to ignore most ot the manual reading until later) will find a xen warning about the thread local storage libraries and how they access memory in a way that xen makes slow. The warning offers the following advice on how to disable it: mv /lib/tls [...]
Posted in boot, linux by: meh
1 Comment
13 Oct
Everytime I need to change something on a co-located server (ours are only about 2 miles from the main office, but it is still a pain if one has to go to the site because a server is not booting up) that requires restarting in a new configuration, I’m always worried that something might not [...]
Posted in loopfs by: meh
No Comments
10 Oct
Mounting a loop file that is a filesystem is no problem losetup /dev/loop0 my_loop_image mount /dev/loop my_mount_point or mount -o loop my_loop_image my_mount_point BUT, what if my loop image has partitions?
Posted in apache by: meh
1 Comment
09 Oct
Creating SSL certificates fo use in https with apache is a two stage process First one makes a private key openssl genrsa -des3 -out <name of your certificate>.key 1024 You will be asked for a passphrase (password) for this key NOTE: Make sure you keep this key safe, and don’t forget the password
Posted in boot, linux, xen by: meh
No Comments
08 Oct
A file, key to the successful boot of many a linux system is the initrd image. It used to be a simple gzipped loop filesystem, unpacked and mounted by commands similar to gzip -dc initrd.img > initrd_unzipped.img mount -o loop initrd_unzipped.img temp_dir Then files can be tweaked inside ‘temp_dir’, the image is then updated by [...]
Posted in apache by: meh
No Comments
08 Oct
People often get confused as to how Virtual hosts in apache work, here’s an explanation from my understanding… Firstly each <VirtualHost XXX> entry requires (unless there is only one virtual host) a corresponding NameVirtualHost XXX entry. The XXX is effectively what IP address and port apache should be listening on for this set of virtual [...]
Posted in ext2, linux, loopfs, xen by: meh
3 Comments
08 Oct
Having started to play with xen on linux, I have begun to use loop filesystems (a filesystem embedded in a file) rather a lot. Xen virtual servers are, fairly often, run from within a loop filesystem and generally start with a fairly small file (1GB is big for a normal file, but not when it [...]