Calisan centosu uzaktan yeniden kurmaca.

Denemedim

ama cok mantikli.

bir gun denemek icin not ediyorum. Asagidaki howto da arkadas ovh deki sunucusna vanilla centos kuruyor.

Guzel ipuclari var. Ileride lazim olabilir.

—-

2. Once the OVH install has finished log into the box via SSH using the login details they will have emailed to you.

3. Issue these commands in SSH:

PHP Code:
mkdir /newsystem
cd /newsystem
wget http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/images/pxeboot/initrd.img
wget http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/images/pxeboot/vmlinuz
cp vmlinuz /boot/vmlinuz.cent.pxe
cp initrd.img /boot/initrd.img.cent.pxe

4. If you are NOT running grub (All OVH bixes use LILO, not grub), you will need to install it:

PHP Code:
yum install grub

5. You will now need to edit the grub ‘menu.lst’ file. As you were not already using grub the file will be empty.

PHP Code:
nano -w /boot/grub/menu.lst

In that file paste the following:

PHP Code:
default 0
timeout 30
title Centos Install (PXE)
root (hd0,0)
kernel /boot/vmlinuz.cent.pxe vnc vncpassword=[B]YOURPSW[/B] headless ip=[B]YOURIP[/B] netmask=255.255.255.0 gateway=[B]GATEWAYIP[/B] dns=208.67.222.222 ksdevice=eth0 method=http://ftp.hosteurope.de/mirror/centos.org/5/os/i386/ lang=en_US keymap=us
initrd /boot/initrd.img.cent.pxe

* YOURPSW = a password you want to use for VNC access
* YOURIP = The ip address of the server
* GATEWAYIP = The gateway address for your server. This is normally the same as your server IP but replace the last .xxx with .254

Hint: you can also type the following to get the gateway IP:

PHP Code:
route -n | grep UG

Once you are finished editing the menu.lst file, press CTRL+X to quit (follow the prompts to save your work!)

6. If you were not previously using grub, do the following:

PHP Code:
grub-install /dev/sda
grub-install --recheck /dev/sda

Note, it seems that all Kimsufi servers use ‘sda’.

7. Reboot your server:

PHP Code:
shutdown -r now

8. As soon as your box is responding to pings, fire up your favourite VNC viewer (i like UltraVNC) and connect to:

YOURIP:1

Use the password you set as YOURPSW

You will now be presented with the CentOS install screen – go ahead and install a base CentOS but make sure you use the standard disk layout.