Thoughts and tutorials on programming

Monday, May 18, 2009

e text editor on virtualbox howto

howto compile e text editor on ubuntu, virtualbox:

install ubuntu on a virtualbox guest.

Now we need to create some extra swap file (more RAM, basically).

create a new disk (say 2G) -- you'll probably want it fixed size.
add it as secondary master to the image (shutdown guest-> settings -> hard drives).

add it as swap now
[in ubuntu]

sudo mkswap /dev/sdc
edit /etc/fstab
add in this line:

/dev/sdc none swap sw 0 0

check top to see the old swap size
check top -- your swap size should have increased considerly, now it should compile with default settings.

No comments: