people
People's blogs
Gentoo Linux Installation
Friday, November 19, 2004
how could something like apache2 not work out of a base install

Base system:

P-200
64MB RAM
6 + 4 GB HDD

Steps:

fdisk the disks

choose fs (I choose ReiserFS 'cuz mainly of hype. This is a dev machine afterall)

mke2fs/reiserfs /dev/hda?
mkswap /dev/hda?
swapon /dev/hda?

go to /mnt/gentoo and untar the /mnt/cdrom/stages/ (use stage 3 as it is mostly compiled)

untar the portage system

nano -w /mnt/gentoo/etc/make.conf (edits it)

mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf (Actually, skip this step 'cuz it tends to spew gibberish)

DO NOT use genkernel. I used it 'cuz I didn't quite know what was in that old box, but, being an old box, it's over 3 hrs and the modules are not done compiling.


I then used "make menuconfig", but the kernel compile died 1/2 way due to an error. I then reverted back to "genkernel all", but there was a power surge and so my plan to leave it overnight was toast, so was the /dev/BOOT device.

So, I decided to use Mandrake 10.0 instead. Everything worked well, except apache2 doesn't work properly out of the box. I looked around and it said you needed to compile System V IPC into the kernel. Why wasn't it done in the first place? And how could something like apache2 not work out of a base install?

Anyway, I went back to apache 1.3.x and it works well. Now I have to resolve an ip/hostname rewriting issue in the URL.


Done and Done! Apparently I could've just recompiled the kernel or apache2 but I decided to keep it strictly packages for management issues. In the future, if I have to set this up commercially, I should stick with strictly packages or upgrading could get tough. One machine is ok, but 200 machines? Forget it.

In any case, there were so many linux things I just automatically did that I didn't even think I'd remember! That's 7 years of previous hard core Linux experience coming through!

Need a Linux setup? Feel free to ask me!

Due to excessive spam, I have now moved my blog to http://dho.ca/wp. Please feel free to visit me there to comment!