Installing Ubuntu Server on MSI Wind Notebook

Prerequisites

 * Windows box with internet connection
 * USB key (1+ GB)

Create Bootable Ubuntu USB Key
We'll use the Windows version of unetbootin, because it works without any additional installs.


 * Download unetbootin for Windows.
 * Manually download Ubuntu Server ISO.
 * Run unetbootin and select ISO file.

Install Ubuntu
Set root password: sudo passwd
 * Boot Wind from USB (press F11)
 * Follow on-screen instructions, install Ubuntu base server, LAMP (Apache, MySQL, etc.), OpenSSH
 * Restart and log in

Note that some servers may run in apparmor, which limits their permissions, so if you have permission problems, check /etc/apparmor.d/

SSL
a2enmod ssl a2ensite default-ssl

mod_ruby
apt-get install libapache2-mod-ruby eruby

a2enmod ruby

edit /etc/apache2/mods-enabled/dir.conf: DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm index.rhtml

edit /etc/apache2/mods-enabled/ruby.conf: AddType text/html .rhtml RubyRequire apache/ruby-run RubyRequire rubygems
 * 1) for Apache::RubyRun
 * 1) RubyAddPath /var/www/vhost.domain/rubylib/

RubyRequire apache/eruby-run
 * 1) for Apache::ERubyRun

 SetHandler ruby-object RubyHandler Apache::ERubyRun.instance 
 * 1) handle *.rhtml as eruby files.

Comments
At the first attempt at this, I had a working sshd, mysql, and apache server with mod_ruby and SSL running in 1.5 hours. The second attempt took 50 minutes. Seems a bit different from Gentoo...