Setting the hostname in Fedora 13
Posted by Uncategorized on September 11, 2010
inShould be simple, the number of times I’ve done it, but I’ve ended up searching google for how to do so. Again. vim /etc/sysconfig/network, add “HOSTNAME=newhost” or change it. Also, vi /etc/sysconfig/network-scripts/ifcfg-eth0, add “DHCP_HOSTNAME=newhost” for the hostname to be sent with DHCP requests. Have to find out if setting up the hostname with the kickstart […]
'Hardware' clocks in Fedora 13/14 VMs
Posted by Uncategorized on September 11, 2010
inDisable the hardware clock The Xen domU will use the host’s clock, so we replace hwclock with an empty shell script echo exit 0 > /sbin/hwclock (from blog.jphoude.qc.ca/2007/10/26/centos-5-xen-images-part-1/)
opensolaris domU on a Fedora 13 dom0
Posted by Uncategorized on September 9, 2010
inHas been nothing but a pain. Seriously. Tried justindthomas.wordpress.com/2009/04/03/installing-nexentacp-2-rc1-on-xenserver-5/ . Close, but no cigar. Installing goes fine, but switching from HVM to PV kills it. bderzhavets.wordpress.com/2009/03/20/pygrub-install-opensolaris-200811-at-xen-unstable-dom0-with-2629-rc7-pvops-enabled-kernel/ looks good, but I have no idea where he’s getting the kernel and ramdisk from. I’ll be trying wiki.tardis.ed.ac.uk/index.php/OpenSolaris_Xen_domU, blogs.sun.com/levon/entry/opensolaris_2008_11_guest_domain and blogs.sun.com/levon/entry/opensolaris_2009_06_guest_domain over the weekend from a clean slate, […]
Gotchas when installing a HVM
Posted by Uncategorized on September 8, 2010
inUsing the Nexenta 3 release to get a better userland system than opensolaris. It’s based off OpenSolaris build 134, and still comes with ZFS, so it fits my needs perfectly. Since some customization has to be done first, it has to be installed in HVM mode. Which… has a few gotchas. 1. Only 4 devices […]
Xen 4 on Fedora 13
Posted by Uncategorized on September 8, 2010
inHave decided to go with Fedora 13 for my Xen install. Reaons being: VMWare and XenServer don’t support USB Passthrough, which I want to run one of the VMs as a home server, and will pass 2 printers through to it. CentOS is running off an old kernel and Xen version. If I want the […]
Setting the timezone from the shell
Posted by Uncategorized on September 8, 2010
inIn Fedora 13 (and likely others), use cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime && ntpd -q, where $timezone is your timezone. (The ntpd -q is likely unnecessary, but, eh. It’ll force an update to the system time.)
CentOS 5.5 on an ASUS Motherboard
Posted by Uncategorized on September 7, 2010
inTrying a new VM host that uses an ASUS motherboard. Unfortunately, old version of kernel in CentOS 5.5 means that no networking ever comes up. Specifically, the Atheros L1 Gigabit Ethernet driver isn’t in such an old version of the kernel. (Only came in in 2.6.21, centOS 5.5 is 2.6.18) Fix: Going by the page […]
Oddities in OpenSolaris b130
Posted by Uncategorized on March 21, 2010
inProblem: Apache’s default SSL configuration doesn’t work. “\x16\x03\x01” 501 shows up in /var/apache2/2.2/logs/access_log Situation: The default config doesn’t have Apache responding to an SSL query – instead, it sends an unencrypted response back, leading to the web browser showing an error page. Fix: Change the line in /etc/apache2/2.2/sample-conf.d/ssl.conf that has to Problem: Some php programs […]
CentOS 5.4 domU on centOS 5.4 dom0 install using qemu
Posted by Uncategorized on February 12, 2010
inAssuming cd image is in the working directory, qemu -hda /dev/domUs/centos5 -hdb /dev/domUs/centos5swap -cdrom ./CentOS-5.4-i386-bin-DVD.iso -boot d -vnc 0.0.0.0:0 Use a VNC client (ie. RealVNC) and connect to the display – [Hostname or IP Address of the Xen server]:0 Seems to be bloody slow, but working. For some reason, restarting it after the install causes […]
Debian domU on CentOS 5.4 Dom0 using debootstrap
Posted by Uncategorized on December 31, 2009
inI’m hoping to essentially follow this: bderzhavets.wordpress.com/2009/05/02/debootstrap-ubuntu-jaunty-pv-domu-at-xen-331-f10-dom0-kernel-2630-rc3-tip/ Essentially, create LVs and format them (look at the previous posts for the how to), and have debootstrap installed on the CentOS host. Mount the LV in which you’re going to install Debian on by running mount <LV location> <mount location>. I did mount /dev/mapper/debian /mnt/debian. The command […]