Categories

How to create Ubuntu 11.04 Natty Narwhal LXC template

window.fbAsyncInit = function() { FB.init({appId: “131975100147274″, status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement(“script”); e.async = true; e.src = document.location.protocol + “//connect.facebook.net/en_US/all.js”; document.getElementById(“fb-root”).appendChild(e); }());

First create a network configuration file:

lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0

…and run lxc-create:

root@servukas:~# lxc-create -n natty-lxc-template -t natty . . . → Read More: How to create Ubuntu 11.04 Natty Narwhal LXC template

How to run Z\EVES on Ubuntu 10.04

Z\EVES is a Z notation theorem proving program. It is an old and I think abandoned software, but used in some universities. Old Python 2.3 is needed for running it. . . . → Read More: How to run Z\EVES on Ubuntu 10.04

How to install Windows 3.11 to VirtualBox on Ubuntu

Why? Because it is funny :) . . . → Read More: How to install Windows 3.11 to VirtualBox on Ubuntu

How to make MS-DOS 6.22 to stop consuming 100% CPU in VirtualBox on Ubuntu

So you have a MS-DOS installed to a virtual machine on your super new multicore computer and it consumes 100% of your CPU (well… 100% of one core actually…)? . . . → Read More: How to make MS-DOS 6.22 to stop consuming 100% CPU in VirtualBox on Ubuntu

How to install MS-DOS 6.22 to VirtualBox on Ubuntu

Why? Because it is funny :) . . . → Read More: How to install MS-DOS 6.22 to VirtualBox on Ubuntu

Cooled terrarium for Venus Flytrap with a Peltier TEC (part 1)

So I got a Venus Flytrap (Dionaea Muscipula). After some googling I found that it likes semi-cold winters. Thats a problem. Inside I have up to +25°C and outside down to -25°C in winter. So I need a fridge inside or a heater outside. Inside is better :) . . . → Read More: Cooled terrarium for Venus Flytrap with a Peltier TEC (part 1)

“mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

Today I wanted to update my virtual LXC Ubuntu and I got an error: mknod: `/lib/udev/devices/ppp’: Operation not permitted . . . → Read More: “mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

How to solve Redmine error “Permission denied – /etc/redmine/default/session.yml” on Ubuntu 10.04

After installing Redmine on Ubuntu 10.04 Lucid Lynx from repositories (apt-get install redmine redmine-mysql) I got an error: Permission denied – /etc/redmine/default/session.yml . . . → Read More: How to solve Redmine error “Permission denied – /etc/redmine/default/session.yml” on Ubuntu 10.04

MySQL Script to Convert Collation latin1_swedish_ci to utf8_general_ci

After installing Redmine on my Ubuntu 10.04 server from repositories I have noticed that international characters are shown as “?”. . . . → Read More: MySQL Script to Convert Collation latin1_swedish_ci to utf8_general_ci

Workaround “/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)” on diskless Ubuntu

window.fbAsyncInit = function() { FB.init({appId: “131975100147274″, status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement(“script”); e.async = true; e.src = document.location.protocol + “//connect.facebook.net/en_US/all.js”; document.getElementById(“fb-root”).appendChild(e); }());

When trying to “aptitude upgrade” a diskless Ubuntu 10.04 machine I gen an arror:

update-initramfs: Generating /boot/initrd.img-2.6.32-23-generic Running postinst hook script /usr/sbin/update-grub. /usr/sbin/grub-probe: error: . . . → Read More: Workaround “/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)” on diskless Ubuntu