Looking for help with installation on 1&1 Root Server

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

Hello Everyone,

:oops: I am totally green hand about linux system, but my partner need a root server with CentOS 4.7 32bit(yes, because of compatibility). Now I need to install the CentOS 4.7 on my 1&1 servers but I don't know how to do it.

I have googled, and from 1and1faq.com links to here. The HowTo in 1and1faq is already invalid, the installer.sh can't be found anymore.

I have found the http://www.atomicorp.com/installers/aooi in the downloads, is it the installer script?

So sorry, I have almost no idea about linux server. Thus, I would like to pay a fee 100€ for the help and knowhow.

:cry: Waiting for help.

regards
uecraft
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: Looking for help with installation on 1&1 Root Server

Unread post by Highland »

1. CentOS 4 isn't going to be around too much longer. C6 is just around the corner (maybe Q1 2011) and I expect that RedHat will drop RHEL 4 at that time (which will do the same for C4 by proxy).
2. 1and1 does offer CentOS 5 images in their imager (and I think they come loaded with it by default). AOOI just installs a cleaner version of C5.
3. What exactly do you need for compatibility? Older Apache?
"Its not a mac. I run linux... I'm actually cool." - scott
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Looking for help with installation on 1&1 Root Server

Unread post by BruceLee »

yes, this is the script, but it's made for Centos 5.5.
Some basic infos:
- you will have to change it to use centos 4 (change the version and iso parameters)
- when running it you will have to use the local installation mode since centos installer called anaconda don't get along with the special 1and1 network config)
- backup the Plesk key from /etc/sw before erasing the disk
- use the serial console function from 1and1 to do all this and monitor the process
- it could happen that the centos 4 iso files don't have all the necessary or latest drivers to run on new 1and1 server

What reason do you have to take CentOS 4.7 32bit? Maybe eliminating those could avoid running Centos 4.7 ?! Centos 4.X branch will be supported until Feb 29th 2012.

If the installation fails you can always re-setup your system with the 1and1 tools and start from scratch.
Give it a try and post here if you have questions.
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

Thanks for your replies at first.

The partner needs CentOS 4.7 32bit (and for 16G RAM :?: ), I am also wondering, what the reason could be...but request is request, and the only thing I could do is to find the software and install it for my partner. :?

I will try the installation today, fortunately there is Rescue System.

Thanks again! :mrgreen:
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Looking for help with installation on 1&1 Root Server

Unread post by scott »

Youd be better off with 64-bit centos 4 if you use more than 4G of ram. You'd still be able to use i386 packages in that environment
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

scott wrote:Youd be better off with 64-bit centos 4 if you use more than 4G of ram. You'd still be able to use i386 packages in that environment
Thanks for your suggestion.

But I have asked my partner, but the support confirms, he needs the 32 bit... :x

OK, I will ask him again.

regards
uecraft
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

Hello Everyone,

I tried today and found linux is interesting, but I learned just to use vi or some commen commands...have not touched the installation yet...

Should I delete the lines of network install and remain the functions of the local install?

By the way, is there any method to download the aooi as a sh file? I tried the wget, but failed, 0 bytes.

:? sorry for my silly questions.

regards
uecraft
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Looking for help with installation on 1&1 Root Server

Unread post by BruceLee »

no, you dont have to delete the lines for network installation.
The installer will ask you which method you want to use.
Donwlaod via:
wget http://www.atomicorp.com/installers/aooi.sh should do it,
or just create a file called aooi.sh and copy&paste the content.

Don't forget to set correct permissions to execute it
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

BruceLee wrote:no, you dont have to delete the lines for network installation.
The installer will ask you which method you want to use.
Donwlaod via:
wget http://www.atomicorp.com/installers/aooi.sh should do it,
or just create a file called aooi.sh and copy&paste the content.

Don't forget to set correct permissions to execute it
:P Thanks for your reply,

I will try it tonight.

are you living in Germany, too?

regards
uecraft
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Looking for help with installation on 1&1 Root Server

Unread post by BruceLee »

Yes, I'm living in Germany.
Give it a try, play with the server using serial console and rescue mode from 1and1.
Even if you break it totally, just re-setup and go to bed.
Next morning you can start again :)
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

BruceLee wrote:Yes, I'm living in Germany.
Give it a try, play with the server using serial console and rescue mode from 1and1.
Even if you break it totally, just re-setup and go to bed.
Next morning you can start again :)
Hallo Everyone,

I got the problem with this logic

Code: Select all

  # Download ISO's
  if [ $DETECTED -eq 1 ]; then
    echo "CentOS-$DISTVERSION-$ARCH all ISOS detected"
  else
    echo -n "Getting CentOS ISO: "
    if [ "$LOCALSERVER" == "" ]; then
      for l in $DOWNLOAD; do
        wget $MIRRORSITE/$DISTVERSION/isos/$ARCH/$l
      done
    else
      # this is probably never going to work again
      wget http://localhost/CentOS-$DISTVERSION.ServerCD-$ARCH.iso
    fi
    echo "Done."
  fi 
I have chosen the local install but it still got the iso file from the mirror website of Uni. Chemnitz

I have downloaded single server CD of 4.7 and saved at the root folder, I think it must be wrong.
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Looking for help with installation on 1&1 Root Server

Unread post by BruceLee »

The script downloads the file to do a local installation afterwards.
It needs it to install from something. The script does not know if you have downloaded a file manually before.
Let the script do the job is the easiest way. Otherwise you can rewrite the script.
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

BruceLee wrote:The script downloads the file to do a local installation afterwards.
It needs it to install from something. The script does not know if you have downloaded a file manually before.
Let the script do the job is the easiest way. Otherwise you can rewrite the script.
But the 4.7 ISO is no more available on the mirror website.

I would changed the mirror website's links and try again.
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

Hello Everyone,

because of the mirror website, some files are missing

following are the content in SSH after running the sh file.

Code: Select all

Atomic Offline OS Installer (AOOI)
by Scott R. Shinn <scott@atomicrocketturtle.com>
Version 1.0.20

Credits:
www.gnuker.com
www.nefw.net
www.orionhost.net
www.protechone.com
Robinet at 1and1.fr

This installer does not back up your data, if for
any reason it fails you will need to reimage the system.

Hit enter if you accept this risk and wish to continue,
otherwise hit Ctrl-C to quit



Turtle power.


Error: /sbin/grubby not detected, This is probably debian. Trying an alternate m                                                                                            ethod

Do you want to perform an installation over the network, or from a locally
cached ISO. Local installations may be required if for some reason the
installation kernel cannot work correctly with your network card. For most
installations, choose network.

Network or Local installation (network/local) [Default: network] ? local
grep: /etc/yum.conf: No such file or directory
Tranferring CentOS image to swap: mke2fs 1.40.8 (13-Mar-2008)
Warning: 256-byte inodes not usable on older systems
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
122640 inodes, 489982 blocks
24499 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=503316480
15 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done



Getting CentOS ISO: --2010-08-21 00:21:05--  http://s327861699.online.de/centos/                                                                                            /CentOS-4.7.ServerCD-i386.iso
Resolving s327861699.online.de... 82.165.105.243
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://s327861699.online.de/CentOS//CentOS-4.7.ServerCD-i386.iso [foll                                                                                            owing]
--2010-08-21 00:21:05--  http://s327861699.online.de/CentOS//CentOS-4.7.ServerCD                                                                                            -i386.iso
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 637614080 (608M) [application/x-iso9660-image]
Saving to: `CentOS-4.7.ServerCD-i386.iso'

100%[======================================>] 637,614,080 10.6M/s   in 59s

2010-08-21 00:22:04 (10.3 MB/s) - `CentOS-4.7.ServerCD-i386.iso' saved [637614080/637614080]

Done.
Setting up installer kernel: --2010-08-21 00:22:04--  http://s327861699.online.de/centos//4.7/os/i386/isolinux/vmlinuz
Resolving s327861699.online.de... 82.165.105.243
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://s327861699.online.de/CentOS//4.7/os/i386/isolinux/vmlinuz [following]
--2010-08-21 00:22:04--  http://s327861699.online.de/CentOS//4.7/os/i386/isolinux/vmlinuz
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-08-21 00:22:04 ERROR 404: Not Found.

--2010-08-21 00:22:04--  http://s327861699.online.de/centos//4.7/os/i386/isolinux/initrd.img
Resolving s327861699.online.de... 82.165.105.243
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://s327861699.online.de/CentOS//4.7/os/i386/isolinux/initrd.img [following]
--2010-08-21 00:22:04--  http://s327861699.online.de/CentOS//4.7/os/i386/isolinux/initrd.img
Connecting to s327861699.online.de|82.165.105.243|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-08-21 00:22:04 ERROR 404: Not Found.

Done
Detected Grub, adding atomic entry
aooi.sh: line 389: /sbin/grubby: No such file or directory
Setting grub to boot the atomic entry *once*
aooi.sh: line 395: /sbin/grub: No such file or directory


Done


The installer has been configured, back up your data including your /etc/psa/psa.key, and reboot the system.
Root password has been temporarily set to: atomic555
Installation failed... :cry:
uecraft
Forum User
Forum User
Posts: 20
Joined: Thu Aug 19, 2010 7:32 am

Re: Looking for help with installation on 1&1 Root Server

Unread post by uecraft »

forgot to explain

I have uploaded the single Server CD of 4.7 32bit under the links "http://s327861699.online.de/centos/" and named "CentOS-4.7.ServerCD-i386.iso"

My actual OS is OpenSUSE 11.
Post Reply