Uncategorized

Setting up CentOS with no X Window Manager

For a nice VM I needed a Linux server, but no need for a GUI, so went for CentOS.

Installed fine, but no networking. How do I install that? Turns out, it is installed, just disabled by default:

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Find the line ONBOOT and change to yes:

DEVICE=eth0
HWADDR=00:00:00:00:00:00:00 TYPE=ETHERNET
UUID=some guid string
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp

Then just restart networking at you should be up and running:

service network restart

Test by entering ifconfig and you should see the loopback address.

If you need to install Guest Additions on VirtualBox:

yum update
yum install gcc make kernel-devel
mkdir /media/cdrom
mount /dev/scd0 /media/cdrom
sh /media/cdrom/VBoxLinuxAdditions.run

Discovery Enchilada Recipe

I need these all the time as I seem to have a problem remembering the amount of water to use…

Ingredients

1tbsp oil.
500g minced beef.
1 Discovery Enchilada Kit.
200ml water.
50g Cheddar cheese, grated.

Instructions

Pre-heat oven to 200°C. Heat oil in a pan and fry mince until browned.

Add sachet of spice mix, cook for a few seconds, then add 200ml of water.

Bring to the boil and simmer for 30 minutes, or until the mince is tender and dry.

Fill the corn tortillas with mince, roll up pancake style and lay side by side in an ovenproof dish.

Pour over Enchilada sauce, sprinkle with cheese and cook in a pre-heated oven at 200°C/400°F/Gas Mark 6 for 20 minutes, or until browned.