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
Centos5
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
this will put CentOS5 on it, and fix the partitioning:
wget -q -O - http://www.atomicorp.com/installers/aooi.sh |sh
wget -q -O - http://www.atomicorp.com/installers/aooi.sh |sh
Error with Centos 5 install on 1and1 FC6
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.
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...
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.
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
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.

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.