さくらのVPSにUbuntu10.04をインストール
月980円のやつ。契約してサーバー起動してCentOS消してUbuntu入れ直すまでで30分ぐらいでできた。
Ubuntuインストール中、Chromeだとリモートコンソールがしょっちゅうタイムアウトするのが面倒だった
参考:さくらのVPSにUbuntu 10.04 LTSをインストールしてみた - 讃容日記
まずsshで、ユーザ名rootでログインする。パスワードは送られてきたメールに書いてあった。
ネットワーク設定をメモしておく
ifconfig eth0 route cat /etc/resolv.conf
ubuntuのイメージを取得して展開
cd /tmp curl -O http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/netboot.tar.gz mkdir /boot/ubuntu-netboot tar xfzv netboot.tar.gz -C /boot/ubuntu-netboot
yum install emacs
title Ubuntu 10.04 LTS install root (hd0,0) kernel /ubuntu-netboot/ubuntu-installer/amd64/linux ro root=LABEL=/ console=tty0 console=ttyS0,115200n8r initrd /ubuntu-netboot/ubuntu-installer/amd64/initrd.gz
保存してログアウトする。
リモートコンソール https://secure.sakura.ad.jp/vpscontrol/main/console からrootでログインして、
reboot
press any keyで何か押せばCentOSとUbuntuインストーラどちらをbootするか選べる
Ubuntuインストールする。先にメモしておいたネットワーク設定をインストール中に指定する。sshdだけインストールしておけばいい。
途中タイムアウトしまくるけどリロードを駆使して完了させる
あとは普通にubuntuになる