<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>my.cnf</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,9 +5,9 @@
 #
 ###################################################################
 
-What follows is the steps I went through when installing Ruby on Rails on Ubuntu 8.04 Hardy Heron on a Gold VPS at the swedish hosting company GleSYS.se. The VPS has 1 GB of memory and 100 GB of disk space (see http://glesys.se/serverhotell/vps). I would like to thanks the kind folks at GleSYS for awesome support and for providing excellent hosting.
+What follows is the steps I went through when installing Ruby on Rails on Ubuntu 8.04 Hardy Heron on a Gold VPS at the swedish hosting company GleSYS.se. The VPS has 1 GB of memory and 100 GB of disk space (see http://glesys.se/serverhotell/vps). I would like to this opportunity to thank the kind folks at GleSYS for their awesome support and excellent hosting.
 
-Those instructions assume familiarity with tools such as Linux, ssh, Ruby on Rails, Capistrano, Mongrel, and MySQL. They draw heavily on the excellent book &quot;Deploying Rails Applications&quot; by Ezra Zygmuntowicz. I strongly encourage you to check out the book if you haven't already. Like with all Pragmatic Bookshelf books, it can be conveniently downloaded as a PDF.
+The instructions assume familiarity with tools such as Linux, ssh, Ruby on Rails, Capistrano, Mongrel, and MySQL. They draw heavily on the excellent book &quot;Deploying Rails Applications&quot; by Ezra Zygmuntowicz. I strongly encourage you to check out the book if you haven't already. Like with all Pragmatic Bookshelf books, it can be conveniently downloaded as a PDF.
 
 TODO: say something about what the resulting technology stack looks like:
 
@@ -17,6 +17,12 @@ monit --version
 ruby --version
 gem --version
 
+# TODO: image
+# change deploy password
+# change mysql password
+# change hostname
+# change monit scripts
+
 ###################################################################
 #
 # BASIC SERVER SETUP
@@ -24,7 +30,7 @@ gem --version
 ###################################################################
 
 ############################
-# Change Root Password
+# Set Root Password (if you haven't already)
 ############################
 
 ssh root@&lt;server-ip-number&gt;
@@ -123,8 +129,8 @@ sudo apt-get install ntp
 ############################
 
 sudo hostname your-hostname
-sudo emacs /etc/hostname
 sudo emacs /etc/hosts
+sudo emacs /etc/hostname
 # Check hostname is correct
 hostname
 
@@ -203,7 +209,7 @@ sudo apt-get install make
 sudo gem install mysql
 
 # Install a few gems used in Rails deployment
-sudo gem install rake rails capistrano mongrel_cluster
+sudo gem install --no-rdoc --no-ri rake rails capistrano mongrel_cluster
 
 # Install Subversion (not everyone uses Git, yet)
 sudo apt-get install subversion subversion-tools
@@ -255,4 +261,12 @@ cd &lt;path-to-your-local-rails-app&gt;
 # http://svn.marklunds.com/my_app/config/deploy.rb
 cap deploy:setup
 
+# Configure MySQL and create databases
+ssh &lt;name-of-your-server&gt;
+sudo /etc/init.d/mysql stop
+sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.orig
+sudo cp ~/rails-on-ubuntu/my.cnf /etc/mysql/my.cnf
+sudo /etc/init.d/mysql start
+mysqladmin -u root -pilwwsh2008 create my_app_production
+
 ... TO BE CONTINUED ...</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3d49283b95007720588353e443aeb0d35104361a</id>
    </parent>
  </parents>
  <author>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </author>
  <url>http://github.com/peter/rails-on-ubuntu/commit/c883c64bf073f6c65e61f0534f1061ce48ed5420</url>
  <id>c883c64bf073f6c65e61f0534f1061ce48ed5420</id>
  <committed-date>2008-08-08T08:56:10-07:00</committed-date>
  <authored-date>2008-08-08T08:56:10-07:00</authored-date>
  <message>Added my.cnf</message>
  <tree>a11485226f0c25d654f34d340838fa9fdf671a10</tree>
  <committer>
    <name>Peter Marklund</name>
    <email>peter_marklund@fastmail.fm</email>
  </committer>
</commit>
