{"id":318,"date":"2010-01-25T15:55:59","date_gmt":"2010-01-25T13:55:59","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=318"},"modified":"2010-01-25T15:55:59","modified_gmt":"2010-01-25T13:55:59","slug":"calisan-centosu-uzaktan-yeniden-kurmaca","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2010\/01\/25\/calisan-centosu-uzaktan-yeniden-kurmaca\/","title":{"rendered":"Calisan centosu uzaktan yeniden kurmaca."},"content":{"rendered":"<p>Denemedim<\/p>\n<p>ama cok mantikli.<\/p>\n<p>bir gun denemek icin not ediyorum. Asagidaki howto da arkadas ovh deki sunucusna vanilla centos kuruyor.<\/p>\n<p>Guzel ipuclari var. Ileride lazim olabilir.<\/p>\n<p>&#8212;-<\/p>\n<p>2. Once the OVH install has finished log into the box via SSH using the login details they will have emailed to you.<\/p>\n<p>3.  Issue these commands in SSH:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> mkdir\u00a0\/newsystem<br \/>\ncd\u00a0\/newsystem<br \/>\nwget\u00a0http:\/\/ftp.hosteurope.de\/mirror\/centos.org\/5\/os\/i386\/images\/pxeboot\/initrd.img<br \/>\nwget\u00a0http:\/\/ftp.hosteurope.de\/mirror\/centos.org\/5\/os\/i386\/images\/pxeboot\/vmlinuz<br \/>\ncp\u00a0vmlinuz\u00a0\/boot\/vmlinuz.cent.pxe<br \/>\ncp\u00a0initrd.img\u00a0\/boot\/initrd.img.cent.pxe<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>4.  If you are NOT running grub (All OVH bixes use LILO, not grub), you will need to install it:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> yum\u00a0install\u00a0grub<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>5.  You will now need to edit the grub &#8216;menu.lst&#8217; file.  As you were not already using grub the file will be empty.<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> nano\u00a0-w\u00a0\/boot\/grub\/menu.lst<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>In that file paste the following:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> default\u00a00<br \/>\ntimeout\u00a030<br \/>\ntitle\u00a0Centos\u00a0Install\u00a0(PXE)<br \/>\nroot\u00a0(hd0,0)<br \/>\nkernel\u00a0\/boot\/vmlinuz.cent.pxe\u00a0vnc\u00a0vncpassword=[B]YOURPSW[\/B]\u00a0headless\u00a0ip=[B]YOURIP[\/B]\u00a0netmask=255.255.255.0\u00a0gateway=[B]GATEWAYIP[\/B]\u00a0dns=208.67.222.222\u00a0ksdevice=eth0\u00a0method=http:\/\/ftp.hosteurope.de\/mirror\/centos.org\/5\/os\/i386\/\u00a0lang=en_US\u00a0keymap=us<br \/>\ninitrd\u00a0\/boot\/initrd.img.cent.pxe<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>* YOURPSW = a password you want to use for VNC access<br \/>\n* YOURIP = The ip address of the server<br \/>\n* GATEWAYIP = The gateway address for your server. This is normally the same as your server IP but replace the last .xxx with .254<\/p>\n<p>Hint: you can also type the following to get the gateway IP:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> route\u00a0-n\u00a0|\u00a0grep\u00a0UG<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>Once you are finished editing the menu.lst file, press CTRL+X to quit (follow the prompts to save your work!)<\/p>\n<p>6.  If you were not previously using grub, do the following:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> grub-install\u00a0\/dev\/sda<br \/>\ngrub-install\u00a0--recheck\u00a0\/dev\/sda<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>Note, it seems that all Kimsufi servers use &#8216;sda&#8217;.<\/p>\n<p>7.  Reboot your server:<\/p>\n<div>\n<div>PHP Code:<\/div>\n<div><code><code> shutdown\u00a0-r\u00a0now<br \/>\n<\/code><\/code><\/div>\n<\/div>\n<p>8.  As soon as your box is responding to pings, fire up your favourite VNC viewer (i like UltraVNC) and connect to:<\/p>\n<p>YOURIP:1<\/p>\n<p>Use the password you set as YOURPSW<\/p>\n<p>You will now be presented with the CentOS install screen &#8211; go ahead and install a base CentOS but make sure you use the standard disk layout.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. &#8212;- 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":2,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":320,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/318\/revisions\/320"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}