<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UH.LEE.KA &#187; Ruby on Rails</title>
	<atom:link href="http://www.uhleeka.com/blog/tag/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uhleeka.com/blog</link>
	<description>If you think nobody cares about you, try missing a few car payments.</description>
	<lastBuildDate>Wed, 25 Aug 2010 01:35:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ruby on Rails Ubuntu 8.10: Creating a Rails Application</title>
		<link>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-creating-a-rails-application/</link>
		<comments>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-creating-a-rails-application/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 02:55:16 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=227</guid>
		<description><![CDATA[After deploying Ubuntu 8.10 server, installing Ruby on Rails and all its prerequisites, and installing Phusion Passenger, there are just a few Passenger specific steps necessary to get your Rails application up and running. Create a directory to house all of your Rails applications (you can put this wherever you like): cd mkdir railsapps cd [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #600;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/rubyonrails.png');"></div>
<p>After deploying Ubuntu 8.10 server, installing Ruby on Rails and all its prerequisites, and installing Phusion Passenger, there are just a few Passenger specific steps necessary to get your Rails application up and running.  <span id="more-227"></span></p>
<div style="clear:both;"></div>
<p>Create a directory to house all of your Rails applications (you can put this wherever you like):</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>cd
mkdir railsapps
cd railsapps</pre></div></div>

<p>Create your Rails application (&#8220;first&#8221;) with a mysql database:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>rails -d mysql first</pre></div></div>

<p>Create a SymLink for Passenger to follow from your application/public directory to the Apache DocumentRoot/SubUri:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo ln -s ~/railsapps/first/public /var/www/first</pre></div></div>

<p>Update the Apache config to let Passenger know about the application:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo vi /etc/apache2/sites-enabled/000-default</pre></div></div>

<p>Append the following at the end of the config:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>RailsBaseURI /first</pre></div></div>

<p>Restart Apache to apply your changes:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo /etc/init.d/apache2 restart</pre></div></div>

<p>Now that we have Apache and Passenger looking in the right places, we can get back to editing some of the Rails settings.</p>
<p>Change into our rails application root directory:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>cd ~/railsapps/first</pre></div></div>

<p>Edit the /railsapps/first/config/environment.rb file to notify rails that you are operating out of a SubURI</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>vi config/environment.rb</pre></div></div>

<p>Just inside the end of the function &#8220;Rails::Initializer.run do |config|&#8221; add the following:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>config.action_controller.relative_url_root = "/first"</pre></div></div>

<p>So the last few lines of your environment.rb file should look like:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>  # Activate observers that should always be running
  # Please note that observers generated using script/generate observer need to have an _observer suffix
  # config.active_record.observers = :cacher, :garbage_collector, :forum_observer

  config.action_controller.relative_url_root = "/first"
end</pre></div></div>

<p>Edit the /railsapps/first/config/database.yml file to make sure you have correctly specified your database login information</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>vi config/database.yml</pre></div></div>

<p>Call rake to create your application database</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>rake db:create</pre></div></div>

<p>Your first rails app is now up and running!  You should be able to browse to it at http://YourServerURI/first</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-creating-a-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Ubuntu 8.10: Installing Phusion Passenger</title>
		<link>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-phusion-passenger/</link>
		<comments>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-phusion-passenger/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 01:32:55 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Phusion Passenger]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=209</guid>
		<description><![CDATA[Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”. After setting up Ubuntu 8.10 and installing Rails, I executed the following steps to get Passenger [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #600;background-color:#000;background-repeat:no-repeat;background-position: 0 center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/passenger.png');"></div>
<p><a href="http://www.modrails.com" target="_blank">Phusion Passenger™</a> — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”.</p>
<p>After setting up Ubuntu 8.10 and installing Rails, I executed the following steps to get Passenger installed.  <span id="more-209"></span></p>
<p>Install <a href="http://www.modrails.com" target="_blank">Phusion Passenger</a>:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo gem install passenger
sudo passenger-install-apache2-module</pre></div></div>

<p>Upon success, passenger should return you the following response:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>The Apache 2 module was successfully installed.

Please edit your Apache configuration file, and add these lines:
    LoadModule passenger_module 
        /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
    PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6
    PassengerRuby /usr/bin/ruby1.8</pre></div></div>

<p>To do as passenger instructs:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo vi /etc/apache2/sites-enabled/000-default</pre></div></div>

<p>Opening that file, I added the &#8220;ServerName&#8221; at the beginning and Rails/Passenger items at the end of the file.  I also cleaned up some of the spacing (for cleanliness sake).</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>&lt;VirtualHost *:80&gt;
    ServerName glenfiddich-u.parallel21.com
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www

    &lt;Directory /&gt;
        Options FollowSymLinks
        AllowOverride None
    &lt;/Directory&gt;
    &lt;Directory /var/www/&gt;
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    &lt;/Directory&gt;

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    &lt;Directory &quot;/usr/lib/cgi-bin&quot;&gt;
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

    Alias /doc/ &quot;/usr/share/doc/&quot;

    &lt;Directory &quot;/usr/share/doc/&quot;&gt;
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    &lt;/Directory&gt;

    RailsEnv development
		
    LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
    PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6
    PassengerRuby /usr/bin/ruby1.8
&lt;/VirtualHost&gt;</pre></div></div>

<p>The last thing to do is restart Apache:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo /etc/init.d/apache2 restart</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-phusion-passenger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Ubuntu 8.10: Installing Rails</title>
		<link>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-rails/</link>
		<comments>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-rails/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 04:42:54 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=146</guid>
		<description><![CDATA[After creating and launching a VirtualMachine on a Vista Host and installing Ubuntu 8.10 Intrepid Ibex, I executed the following steps to configure my Ubuntu server for Ruby on Rails. After trying (and failing at the implementation of) several other sets of Ubuntu/Rails howto guides, most of my inspiration came from a Ubuntu/Ruby on Rails [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #600;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/rubyonrails.png');"></div>
<p>After <a href="http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-virtualbox-vista-host/">creating and launching a VirtualMachine on a Vista Host</a> and <a href="http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-ubuntu/">installing Ubuntu 8.10 Intrepid Ibex</a>, I executed the following steps to configure my Ubuntu server for Ruby on Rails.</p>
<p>After trying (and failing at the implementation of) several other sets of Ubuntu/Rails howto guides, most of my inspiration came from a <a href="http://www.hackido.com/2008/12/install-ruby-rails-on-ubuntu-intrepid.html" target="_blank">Ubuntu/Ruby on Rails install guide that actually works</a>.  <span id="more-146"></span></p>
<h4 style="clear:left;">The Steps</h4>
<p>Update aptitude:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo aptitude update</pre></div></div>

<p>Run any distribution upgrades: this step downloaded approximately 100MB and took a few minutes to install;</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo aptitude --assume-yes dist-upgrade</pre></div></div>

<p>Now that we are up to date, get a few Rails prerequisites:<br />
 &#8211; build-essential = &#8220;Informational list of build-essential packages&#8221;<br />
 &#8211; ruby = An interpreter of object-oriented scripting language Ruby<br />
 &#8211; ri = Ruby Interactive reference<br />
 &#8211; rdoc = Generate documentation from ruby source files<br />
 &#8211; irb = Interactive Ruby (irb)</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo aptitude --assume-yes install build-essential
sudo aptitude --assume-yes install \
  irb \
  irb1.8 \
  libmysql-ruby \
  libmysql-ruby1.8 \
  libopenssl-ruby \
  libopenssl-ruby1.8 \
  libreadline-ruby1.8 \
  libruby1.8 \
  rdoc \
  rdoc1.8 \
  ri \
  ri1.8 \
  ruby \
  ruby1.8 \
  ruby1.8-dev</pre></div></div>

<p>Download the latest gems, manually, because aptitude doesn&#8217;t appear to be able to get the latest version, etc.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar xzvf rubygems-1.3.1.tgz
cd rubygems-1.3.1
sudo ruby setup.rb
cd ..
rm -f rubygems-1.3.1.tgz 
rm -rf rubygems-1.3.1</pre></div></div>

<p>Create symlinks: the installer didn&#8217;t do it for me, so i had to create them manually;</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem
sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby
sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc
sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri
sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb</pre></div></div>

<p>Install rails (takes a while&#8230;no status):</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo gem install rails</pre></div></div>

<p>Install other gems of interest:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo gem install rake
sudo gem install capistrano
sudo gem install capistrano-ext
sudo gem install ruby-debug
sudo gem install term-ansicolor
sudo gem install mongrel
sudo gem install annotate-models</pre></div></div>

<p>Install apache: I&#8217;m not totally confident in the necessity of this step since we installed Apache during the Ubuntu install process&#8230; but what do i know?</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo aptitude --assume-yes install \
  apache2-mpm-worker \
  apache2-prefork-dev \
  comerr-dev \
  libapr1-dev \
  libaprutil1-dev \
  libdb4.6-dev \
  libexpat1-dev \
  libkadm55 \
  libkrb5-dev \
  libldap2-dev \
  libmysqlclient15-dev \
  libpcre3-dev \
  libpcrecpp0 \
  libpq-dev \
  libsqlite3-dev \
  libssl-dev \
  uuid-dev \
  zlib1g-dev</pre></div></div>

<p>My Apache install was not without incident.  Although everything appears to be working, I did get the following reponse during the install:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>The following packages have unmet dependencies:
  libapache2-mod-php5: 
    Depends: apache2-mpm-prefork (> 2.0.52) but it is not installable or
             apache2-mpm-itk but it is not installable
The following actions will resolve these dependencies:
Remove the following packages:
  libapache2-mod-php5
  php5-mysql</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-rails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Ubuntu 8.10: Installing Ubuntu Intrepid Ibex</title>
		<link>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-ubuntu/</link>
		<comments>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-ubuntu/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 03:15:26 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=134</guid>
		<description><![CDATA[After creating and launching a VirtualMachine on a Vista host, I captured the following screenshots to document the process of installing Ubuntu 8.10. Post install, I updated the Network Interface config and enabled the Firewall. Ubuntu Install Screenshots Network Interface DHCP was enabled during install, so after logging on, I edited the network interface config [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 10px 0px;border:solid 1px #600;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/ubuntu.png');"></div>
<p>After <a href="http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-virtualbox-vista-host">creating and launching a VirtualMachine on a Vista host</a>, I captured the following screenshots to document the process of installing Ubuntu 8.10.  </p>
<p>Post install, I updated the Network Interface config and enabled the Firewall.  <span id="more-134"></span></p>
<h4 style="clear:left;">Ubuntu Install Screenshots</h4>
<p>
<div class="pie-gallery alignGalleryLeft">
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZJmdNfUI/AAAAAAAABzg/JE5pbuwAKzw/ubuntu-01.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZJmdNfUI/AAAAAAAABzg/JE5pbuwAKzw/s72-c/ubuntu-01.jpg" alt="ubuntu-01.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZKD1VpRI/AAAAAAAABzo/dDLmneLyFlM/ubuntu-02.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZKD1VpRI/AAAAAAAABzo/dDLmneLyFlM/s72-c/ubuntu-02.jpg" alt="ubuntu-02.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZKl7H-3I/AAAAAAAABzw/aR2v-ZQckSA/ubuntu-03.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZKl7H-3I/AAAAAAAABzw/aR2v-ZQckSA/s72-c/ubuntu-03.jpg" alt="ubuntu-03.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZLHRdZ7I/AAAAAAAABz4/LUlooXtP3-4/ubuntu-04.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZLHRdZ7I/AAAAAAAABz4/LUlooXtP3-4/s72-c/ubuntu-04.jpg" alt="ubuntu-04.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZLYAU30I/AAAAAAAAB0A/tAq8GqJr-YA/ubuntu-05.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZLYAU30I/AAAAAAAAB0A/tAq8GqJr-YA/s72-c/ubuntu-05.jpg" alt="ubuntu-05.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZL4vq0yI/AAAAAAAAB0I/ebNBzN5KEKY/ubuntu-06.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZL4vq0yI/AAAAAAAAB0I/ebNBzN5KEKY/s72-c/ubuntu-06.jpg" alt="ubuntu-06.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZMQ6Kb5I/AAAAAAAAB0Q/aV4hNdsma9A/ubuntu-07.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZMQ6Kb5I/AAAAAAAAB0Q/aV4hNdsma9A/s72-c/ubuntu-07.jpg" alt="ubuntu-07.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZM3AWXJI/AAAAAAAAB0Y/JsmzoVgI9kU/ubuntu-08.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuZM3AWXJI/AAAAAAAAB0Y/JsmzoVgI9kU/s72-c/ubuntu-08.jpg" alt="ubuntu-08.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZNJdoQUI/AAAAAAAAB0g/rE0pPQc_tGs/ubuntu-09.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZNJdoQUI/AAAAAAAAB0g/rE0pPQc_tGs/s72-c/ubuntu-09.jpg" alt="ubuntu-09.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZNmbi8DI/AAAAAAAAB0o/2mfXoCkAevU/ubuntu-10.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZNmbi8DI/AAAAAAAAB0o/2mfXoCkAevU/s72-c/ubuntu-10.jpg" alt="ubuntu-10.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZOVat-II/AAAAAAAAB0w/V2iW0cXiX-8/ubuntu-11.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZOVat-II/AAAAAAAAB0w/V2iW0cXiX-8/s72-c/ubuntu-11.jpg" alt="ubuntu-11.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZPg0JJrI/AAAAAAAAB04/51pfA3Jv-6E/ubuntu-12.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZPg0JJrI/AAAAAAAAB04/51pfA3Jv-6E/s72-c/ubuntu-12.jpg" alt="ubuntu-12.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZP2RNQ3I/AAAAAAAAB1A/GgR1fHxQBhA/ubuntu-13.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZP2RNQ3I/AAAAAAAAB1A/GgR1fHxQBhA/s72-c/ubuntu-13.jpg" alt="ubuntu-13.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZQF8K-gI/AAAAAAAAB1I/aB1jIuGkkQA/ubuntu-14.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZQF8K-gI/AAAAAAAAB1I/aB1jIuGkkQA/s72-c/ubuntu-14.jpg" alt="ubuntu-14.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZQhP64II/AAAAAAAAB1Q/_b4qKR0R9_w/ubuntu-15.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZQhP64II/AAAAAAAAB1Q/_b4qKR0R9_w/s72-c/ubuntu-15.jpg" alt="ubuntu-15.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZROuQlqI/AAAAAAAAB1Y/AiA1uM6VYKM/ubuntu-16.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZROuQlqI/AAAAAAAAB1Y/AiA1uM6VYKM/s72-c/ubuntu-16.jpg" alt="ubuntu-16.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZRexPJMI/AAAAAAAAB1g/o_shBhwZh74/ubuntu-17.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZRexPJMI/AAAAAAAAB1g/o_shBhwZh74/s72-c/ubuntu-17.jpg" alt="ubuntu-17.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZR274ORI/AAAAAAAAB1o/eA1D4sGSlrM/ubuntu-18.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuZR274ORI/AAAAAAAAB1o/eA1D4sGSlrM/s72-c/ubuntu-18.jpg" alt="ubuntu-18.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZSfoHOkI/AAAAAAAAB1w/tXG4fo2mdAU/ubuntu-19.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZSfoHOkI/AAAAAAAAB1w/tXG4fo2mdAU/s72-c/ubuntu-19.jpg" alt="ubuntu-19.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZS2HrpLI/AAAAAAAAB14/0IK60E1R65U/ubuntu-20.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZS2HrpLI/AAAAAAAAB14/0IK60E1R65U/s72-c/ubuntu-20.jpg" alt="ubuntu-20.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZTRnbCuI/AAAAAAAAB2A/dKzRdmiRLf8/ubuntu-21.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYuZTRnbCuI/AAAAAAAAB2A/dKzRdmiRLf8/s72-c/ubuntu-21.jpg" alt="ubuntu-21.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZT6jbyGI/AAAAAAAAB2I/dgo8NzoAPKQ/ubuntu-22.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZT6jbyGI/AAAAAAAAB2I/dgo8NzoAPKQ/s72-c/ubuntu-22.jpg" alt="ubuntu-22.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZUIbiEsI/AAAAAAAAB2Q/P2TyHrlhSVE/ubuntu-23.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZUIbiEsI/AAAAAAAAB2Q/P2TyHrlhSVE/s72-c/ubuntu-23.jpg" alt="ubuntu-23.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZUruUcmI/AAAAAAAAB2Y/JGTNyDJp5To/ubuntu-24.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZUruUcmI/AAAAAAAAB2Y/JGTNyDJp5To/s72-c/ubuntu-24.jpg" alt="ubuntu-24.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZVAdWaAI/AAAAAAAAB2g/ziDRSAeJZqE/ubuntu-25.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZVAdWaAI/AAAAAAAAB2g/ziDRSAeJZqE/s72-c/ubuntu-25.jpg" alt="ubuntu-25.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZVqfA7HI/AAAAAAAAB2o/GSfXGnELAiQ/ubuntu-26.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZVqfA7HI/AAAAAAAAB2o/GSfXGnELAiQ/s72-c/ubuntu-26.jpg" alt="ubuntu-26.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZWsqYygI/AAAAAAAAB2w/YA0Fq9pCIfU/ubuntu-27.jpg?imgmax=800" rel="lightbox[2009-1-4-17-7-54]"><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYuZWsqYygI/AAAAAAAAB2w/YA0Fq9pCIfU/s72-c/ubuntu-27.jpg" alt="ubuntu-27.jpg" width="72" height="72" class="pie-img"/></a></p>
</div>
</div>
<h4>Network Interface</h4>
<p>DHCP was enabled during install, so after logging on, I edited the network interface config to set a static IP address.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo vi /etc/network/interfaces</pre></div></div>

<p>Remove the DHCP line:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>#iface eth0 inet dhcp</pre></div></div>

<p>replacing it with:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1</pre></div></div>

<p>restart the networking service to apply the changes</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo /etc/init.d/networking restart</pre></div></div>

<p>If you need to edit your DNS, you can do so via:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo vi /etc/resolv.conf</pre></div></div>

<h4>Firewall</h4>
<p>I enabled the firewall software (UFW) that came with Ubuntu, opening it up to allow OpenSSH, Apache and Samba</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo ufw allow OpenSSH
sudo ufw allow "Apache Full"
sudo ufw allow Samba
sudo ufw enable</pre></div></div>

<p>To verify the firewall is working properly,</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>sudo ufw status verbose</pre></div></div>

<p>which should produce the following results:</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>Status: loaded
Logging: on
Default: deny
New profiles: skip

To&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Action&nbsp; From
--&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ------&nbsp; ----
22/tcp (OpenSSH)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ALLOW&nbsp;  Anywhere
80,443/tcp (Apache Full)&nbsp;  ALLOW&nbsp;  Anywhere
137,138/udp (Samba)&nbsp; &nbsp; &nbsp; &nbsp; ALLOW&nbsp;  Anywhere
139,445/tcp (Samba)&nbsp; &nbsp; &nbsp; &nbsp; ALLOW&nbsp;  Anywhere</pre></div></div>

<h4>Logout</h4>
<p>Given that the console is constantly grabbing control of my mouse and frustratingly small, I logged out, logging back in via SSH to do the remainder of the configuration.</p>

<div class="uhleeka_codebox"><div class="uhleeka_codebox_in"><pre>logout</pre></div></div>

<p>If you haven&#8217;t already done so, now would probably be a great time to make a backup/copy of your VM.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-installing-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Ubuntu 8.10: VirtualBox &#8211; Vista Host</title>
		<link>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-virtualbox-vista-host/</link>
		<comments>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-virtualbox-vista-host/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 03:13:28 +0000</pubDate>
		<dc:creator>uhleeka</dc:creator>
				<category><![CDATA[Installs and Configs]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Box]]></category>

		<guid isPermaLink="false">http://www.uhleeka.com/blog/?p=117</guid>
		<description><![CDATA[I was recently coerced into checking out what all the Ruby on Rails hype is about. In reading about Rails, it sounds like trying to get it to run with IIS is probably not the best idea. So I&#8217;ve taken the leap to setting up a virtual machine running Ubuntu 8.10 Server. Being strictly a [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left;width:93px;height:93px;margin:8px 8px 0px 0px;border:solid 1px #036;background-repeat:no-repeat;background-position:center center;background-image:url('http://www.uhleeka.com/blog/wp-content/uploads/2009/02/virtualbox.png');"></div>
<p>I was recently coerced into checking out what all the <a href="http://rubyonrails.org" target="_blank">Ruby on Rails</a> hype is about.  In reading about Rails, it sounds like trying to get it to run with IIS is probably not the best idea.  So I&#8217;ve taken the leap to setting up a virtual machine running <a href="http://www.ubuntu.com/getubuntu/download" target="_blank">Ubuntu 8.10 Server</a>.</p>
<p>Being strictly a .NET developer for the last 8 years, I know practically nothing of the *NIX environment, LAMP stack or anything else that doesn&#8217;t come with Windows Update.  So, everything here must be taken with a grain of salt, as I am well out of my comfort zone.  <span id="more-117"></span></p>
<h4>Sun xVM Virtual Box</h4>
<p>Lacking a spare computer, I immediately stumbled across Sun&#8217;s FREE VirtualBox software at <a href="http://www.virtualbox.org/" target="_blank">http://www.virtualbox.org/</a>.   Version 2.1.2 was released as of this post.  I am running Vista Business as my host OS.  The following screenshots are the steps I took to get my VirtualBox configured for Ubuntu.</p>
<h4>Change the default directories</h4>
<p>The default data directories in Vista are in C:\Users\YourProfile\.VirtualBox\&#8230;  I generally don&#8217;t allocate a lot of extra room to my system partition, so I set the defaults to D:\VirtualBox\&#8230;</p>
<p>
<div class="pie-gallery alignGalleryLeft">
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtibj0BDcI/AAAAAAAABxA/nTA0OA-oeRU/virtualbox-01.png?imgmax=640" rel="lightbox[2009-1-4-16-51-41]" title="Click &quot;File&quot; then &quot;Preferences&quot; to change the default data directories."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtibj0BDcI/AAAAAAAABxA/nTA0OA-oeRU/s72-c/virtualbox-01.png" alt="Click &quot;File&quot; then &quot;Preferences&quot; to change the default data directories." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYtibyANQJI/AAAAAAAABxI/G1wd8sn80Vo/virtualbox-02-settings.png?imgmax=640" rel="lightbox[2009-1-4-16-51-41]" title="Change the default folders."><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYtibyANQJI/AAAAAAAABxI/G1wd8sn80Vo/s72-c/virtualbox-02-settings.png" alt="Change the default folders." width="72" height="72" class="pie-img"/></a></p>
</div>
</div>
<h4>Create a &#8220;New&#8221; Virtual Machine</h4>
<p>
<div class="pie-gallery alignGalleryLeft">
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtib5Y8D6I/AAAAAAAABxQ/1CAbLoR2aHc/virtualbox-03-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Next."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtib5Y8D6I/AAAAAAAABxQ/1CAbLoR2aHc/s72-c/virtualbox-03-create-new.png" alt="Next." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYticMCaBZI/AAAAAAAABxY/nr0UAFxyZlQ/virtualbox-04-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Specify the Name, OS and Version."><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYticMCaBZI/AAAAAAAABxY/nr0UAFxyZlQ/s72-c/virtualbox-04-create-new.png" alt="Specify the Name, OS and Version." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYticivsjpI/AAAAAAAABxg/mVhUl9O-HwU/virtualbox-05-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Specify the Base Memory Size."><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYticivsjpI/AAAAAAAABxg/mVhUl9O-HwU/s72-c/virtualbox-05-create-new.png" alt="Specify the Base Memory Size." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtioDS78wI/AAAAAAAABxo/3DWuuwu8Ocs/virtualbox-06-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Click &quot;New&quot; to create a new Virtual Hard Disk."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtioDS78wI/AAAAAAAABxo/3DWuuwu8Ocs/s72-c/virtualbox-06-create-new.png" alt="Click &quot;New&quot; to create a new Virtual Hard Disk." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtioeaSCfI/AAAAAAAABxw/eAp9UH5_snU/virtualbox-07-create-new-disk.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Next."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtioeaSCfI/AAAAAAAABxw/eAp9UH5_snU/s72-c/virtualbox-07-create-new-disk.png" alt="Next." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYtiojOX4aI/AAAAAAAABx4/vBy005_YRAc/virtualbox-08-create-new-disk.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Next."><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYtiojOX4aI/AAAAAAAABx4/vBy005_YRAc/s72-c/virtualbox-08-create-new-disk.png" alt="Next." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYtiop5s7WI/AAAAAAAAByA/gR21Oj-umuA/virtualbox-09-create-new-disk.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Specify the file Location and Size."><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYtiop5s7WI/AAAAAAAAByA/gR21Oj-umuA/s72-c/virtualbox-09-create-new-disk.png" alt="Specify the file Location and Size." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtiogQ1Z_I/AAAAAAAAByI/BBDGm1ELkHQ/virtualbox-10-create-new-disk.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Finish."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYtiogQ1Z_I/AAAAAAAAByI/BBDGm1ELkHQ/s72-c/virtualbox-10-create-new-disk.png" alt="Finish." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti5I_DvjI/AAAAAAAAByQ/1PVaRUOz16I/virtualbox-11-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Select the virtual Hard Disk you just created."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti5I_DvjI/AAAAAAAAByQ/1PVaRUOz16I/s72-c/virtualbox-11-create-new.png" alt="Select the virtual Hard Disk you just created." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh4.ggpht.com/_UUdJuHH7kr0/SYti54zJGMI/AAAAAAAAByY/TT13eJVNYK4/virtualbox-12-create-new.png?imgmax=800" rel="lightbox[2009-1-4-16-54-47]" title="Finish."><img src="http://lh4.ggpht.com/_UUdJuHH7kr0/SYti54zJGMI/AAAAAAAAByY/TT13eJVNYK4/s72-c/virtualbox-12-create-new.png" alt="Finish." width="72" height="72" class="pie-img"/></a></p>
</div>
</div>
<h4>Update Virtual Machine Settings</h4>
<p>There are a few settings that need to be changed on the Virtual Machine that you have just created.  The following screenshots show PAE/NX being enabled, the Ubuntu ISO being mounted and changes to the type of network adapter.</p>
<p>
<div class="pie-gallery alignGalleryLeft">
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuiBDTrJZI/AAAAAAAAB3c/zGGuMfyHWJ0/virtualbox-13.png?imgmax=640" rel="lightbox[2009-1-4-16-58-33]"><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYuiBDTrJZI/AAAAAAAAB3c/zGGuMfyHWJ0/s72-c/virtualbox-13.png" alt="virtualbox-13.png" width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti6XESpcI/AAAAAAAAByo/2C9X9iFDddU/virtualbox-14-host-settings-general-advanced.png?imgmax=640" rel="lightbox[2009-1-4-16-58-33]" title="Disable the &quot;Floppy&quot; and enable &quot;PAE/NX&quot;."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti6XESpcI/AAAAAAAAByo/2C9X9iFDddU/s72-c/virtualbox-14-host-settings-general-advanced.png" alt="Disable the &quot;Floppy&quot; and enable &quot;PAE/NX&quot;." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh6.ggpht.com/_UUdJuHH7kr0/SYti6kaMDMI/AAAAAAAAByw/6XWPLwT44WM/virtualbox-15-host-settings-cddvdrom.png?imgmax=640" rel="lightbox[2009-1-4-16-58-33]" title="Download and mount the latest Ubuntu ISO."><img src="http://lh6.ggpht.com/_UUdJuHH7kr0/SYti6kaMDMI/AAAAAAAAByw/6XWPLwT44WM/s72-c/virtualbox-15-host-settings-cddvdrom.png" alt="Download and mount the latest Ubuntu ISO." width="72" height="72" class="pie-img"/></a></p>
</div>
<div class="pie-item" style="margin:10px 10px 10px 0px;">
<p class="pie-img-wrapper"><a href="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti9bNuLCI/AAAAAAAABy4/bBar2jRkfM4/virtualbox-16-host-settings-network-adapter1.png?imgmax=640" rel="lightbox[2009-1-4-16-58-33]" title="Change &quot;Attached To&quot; to &quot;Host Interface&quot;."><img src="http://lh3.ggpht.com/_UUdJuHH7kr0/SYti9bNuLCI/AAAAAAAABy4/bBar2jRkfM4/s72-c/virtualbox-16-host-settings-network-adapter1.png" alt="Change &quot;Attached To&quot; to &quot;Host Interface&quot;." width="72" height="72" class="pie-img"/></a></p>
</div>
</div>
<h4>Start your engines!</h4>
<p>Last but not least, click &#8220;Start&#8221; to launch the Ubuntu install process on your new Virtual Machine.<br />
<a href="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuiBPbFzBI/AAAAAAAAB3k/rcUaDGnLIqY/virtualbox-17-start.png?imgmax=640" rel="lightbox[2009-1-4-16-59-46]" title="Click &quot;Start&quot; to launch your virtual Ubuntu install."><img src="http://lh5.ggpht.com/_UUdJuHH7kr0/SYuiBPbFzBI/AAAAAAAAB3k/rcUaDGnLIqY/s72-c/virtualbox-17-start.png" alt="Click &quot;Start&quot; to launch your virtual Ubuntu install." width="72" height="72" class="pie-img" style="margin:10px 10px 10px 0px;"/></a>
<div style="clear:both"><!-- --></div>
]]></content:encoded>
			<wfw:commentRss>http://www.uhleeka.com/blog/2009/02/ruby-on-rails-ubuntu-810-virtualbox-vista-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
