Intrati in /boot si downloadati urmatoarele:

 

cd /boot

wget http://ftp.ines.lug..../images/pxeboot-O pxe-initrd.img

wget http://ftp.ines.lug....images/pxeboot/ -O pxe-vmlinuz

 

Apoi, daca aveti deja instalat un sistem CentOS, editati /boot/grub/menu.lst si adaugati:

 

title Centox-vnc-install

        *root (hd0,0)*

        kernel /boot/pxe-vmlinuz vnc vncpassword=rstforums headless ip=10.0.0.2 netmask=255.255.255.0 gateway=10.0.0.1 dns=8.8.8.8 hostname=serverulmeu.rstforums.com ksdevice=eth0 method=http://ftp.lug.ro/centos/6/os/x86_64/ keymap=uk lang=en_GB

        initrd /boot/pxe-initrd.img

 

Pentru debian/ubuntu, editati /boot/grub/grub.cfg si adaugati :

 

menuentry 'CentOS Installer' {

       *set root='(hd0,gpt2)'*

echo 'Loading'

        linux   /pxe-vmlinuz vnc vncpassword=rstforums headless ip=10.0.0.2 netmask=255.255.255.0 gateway=10.0.0.1 dns=8.8.8.8 hostname=serverulmeu.rstforums.com ksdevice=eth0 method=http://ftp.lug.ro/centos/6/os/x86_64/ keymap=us lang=en_US

echo 'Loading Installdrom'

        initrd  /pxe-initrd.img

}

 

Dati un reboot la server si un ping . Cand incepe sa raspunda, va puteti conecta cu VNC-Viewer scriind IP-ul pe care l-ati declarat in config.