Centos5

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
WesB
Forum User
Forum User
Posts: 6
Joined: Tue Sep 25, 2007 10:18 am

Centos5

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

this will put CentOS5 on it, and fix the partitioning:

wget -q -O - http://www.atomicorp.com/installers/aooi.sh |sh
WesB
Forum User
Forum User
Posts: 6
Joined: Tue Sep 25, 2007 10:18 am

Unread post 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.
mendez
New Forum User
New Forum User
Posts: 3
Joined: Sat Sep 29, 2007 2:32 pm

Error with Centos 5 install on 1and1 FC6

Unread post 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.
mendez
New Forum User
New Forum User
Posts: 3
Joined: Sat Sep 29, 2007 2:32 pm

Ahh...

Unread post 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.
mendez
New Forum User
New Forum User
Posts: 3
Joined: Sat Sep 29, 2007 2:32 pm

Hurrah

Unread post 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.
ryanz
Forum User
Forum User
Posts: 68
Joined: Mon Dec 20, 2004 2:43 am

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
Post Reply