Page 1 of 1
Centos5
Posted: Tue Sep 25, 2007 10:27 am
by WesB
I just ordered a new 1and1 business root server and looking at installing centos on it. Noticed today that plesk 8.2 supports centos5 and wondering if there is a tutorial or something somewhere that will help me get centos on new 1and1 box. Once i get this setup and running right ill be migrating all my stuff from an older 1and1 root 2 server. Only have about 16 days to get everything sorted and running right.
Thanks
Wes
Posted: Wed Sep 26, 2007 9:39 am
by scott
this will put CentOS5 on it, and fix the partitioning:
wget -q -O -
http://www.atomicorp.com/installers/aooi.sh |sh
Posted: Wed Sep 26, 2007 2:01 pm
by WesB
Thanks Scott,
Question though, i just ran that command, rebooted my system when it told me now its hanging at
Loading atomicEBDA too big
EDIT: I see why now its running out of room, downloading the images.
Error with Centos 5 install on 1and1 FC6
Posted: Sat Sep 29, 2007 2:36 pm
by mendez
I've just tried using the script linked above to reinstall a new 1and1 server.
There appears to be an error in that no /mnt directory exists so the mounting of the swap file fails. I'm going to try to progress past that as if the other person in the thread still managed to complete the install hopefully it isn't critical
The ISO URL included in the script is also 404'ing.
Edit: The script also has the iso filenames as "of7" but all the mirrors I've found are "of6". Again hopefully this won't cause a problem...
Edit Edit: 1and1 have also helpfully made 2.6.16 the default kernel on the build, apparently replacing a 2.6.17 kernel of their own making and the default 2.6.20 fc6 kernel. This kernel has no modules installed so no vfat. Editing /boot/grub/menu.lst to use /boot/vmlinuz.old (the shortcut to the 2.6.17 kernel) and rebooting seems to fix things. Strangely the third option in menu.lst is a non-existant Red Hat 2.4.20 kernel. Quality setup job from 1and1
Edit Edit Edit:
Ah. No Grub support. Anyone have any ideas what I should reimage the server to in order to be able to then use AOOI successfully?
Edit Edit Edit Eidt:
Ahhh there's a separate script for grub to download. Ahh what a fun weekend project this is
Incidentally the other script mentioned fails on Debian 3.1 because "uname -i" is an invalid command. Oh and also because 1and1 haven't included a vfat module or the sources with which to build one.
Ahh...
Posted: Sun Sep 30, 2007 8:41 am
by mendez
I've noticed now that the "1of6" and "1of7" differences in the AOOI installer relate to i386 vs 64bit.
But anyway... moving on to the grub-installer.sh
The Kickstart KFG file referenced in it links to Centos 4.4 on a server where the files no longer exist. I shall try hosting the KFC files elsewhere and edit it to point at 5.0
Edit: Another error with the grub-installer.sh - it downloads the atomic.vmlinuz and initrd to /boot but in the grub menu entry it has them as being in the root.
Edit Edit: Hmm... I think I'm getting closer now - it's booting to the installer image but it's not getting to the stage of downloading the cfg file from my web server.
Hurrah
Posted: Sun Sep 30, 2007 3:11 pm
by mendez
Success! Finally
I imaged the server to Ubuntu 6.06 then used the AOOI.sh script.
I had to make some changes though, /etc/issue is scanned for "Debian" when in this case it should obviously be "Ubuntu".
The installer also couldn't find the kickstart cfg file. I haven't investigated why this is although I suspect that it might have been something to do with the $arch in the filename. This has probably been no bad thing - I got to setup the server exactly as I wanted.
Posted: Sun Sep 30, 2007 3:57 pm
by ryanz
We're running centOS 5 64bit and Plesk 8.2 on a new server and have had some problems with partitioning and seems like usrquotas.
What are your suggestions for the partition layout and /etc/fstab?
Do these seem ok?
/boot - 200MB
/tmp - 500MB
/usr - 15GB
/ - remainder
swap - ?GB depending on RAM
Posted: Mon Oct 01, 2007 7:53 am
by scott
Yeah thats a bad layout, heres what I recommend:
/boot - 256M, this needs to be the first partition
swap, x2 of ram, second partition
/, all the rest of the space
Send me your AOOI updates when you get a chance.