<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Laurent's Weblog</title>
	<atom:link href="http://laurentbois.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentbois.com</link>
	<description>Just another blog about Rails, Java, Mac, Web 2</description>
	<pubDate>Tue, 13 May 2008 20:17:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Start with git SCM</title>
		<link>http://laurentbois.com/2008/05/13/start-with-git-scm/</link>
		<comments>http://laurentbois.com/2008/05/13/start-with-git-scm/#comments</comments>
		<pubDate>Tue, 13 May 2008 08:32:12 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[git]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[capistrano]]></category>

		<category><![CDATA[github]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=298</guid>
		<description><![CDATA[If you already used SVN or SVK , give a try to Git, another source code management (scm) system.
I saw for weeks that many Rails/Ruby related projects, including Ruby on Rails framework itself, are hosted on Github, a git repository hosting.
You can begin with a free Github account (you have a repository with 100mo quota).

First [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you already used <a href="http://subversion.tigris.org/" target="_blank">SVN</a> or <a href="http://svk.bestpractical.com/" target="_blank">SVK</a> , give a try to <a href="http://git.or.cz/" target="_blank">Git</a>, another source code management (scm) system.</p>
<p>I saw for weeks that many Rails/Ruby related projects, including Ruby on Rails framework itself, are hosted on <a href="http://github.com" target="_blank">Github</a>, a git repository hosting.</p>
<p>You can begin with a free Github account (you have a repository with 100mo quota).</p>
<p><span id="more-298"></span></p>
<p><strong>First install git on your desktop/laptop</strong> :</p>
<p>1) On a Mac Intel, you can install Git by Mac ports : First assure you have the latest release of <a href="http://developer.apple.com/tools/download/" target="_blank">XCode</a>, then reinstall <a href="http://darwinports.com/download/" target="_blank">Darwin Ports</a>. To install git launch the following command :</p>
<pre>sudo port install git-core</pre>
<p>2) You can also install Git manually :</p>
<pre>cd /usr/local/src
curl http://kernel.org/pub/software/scm/git/git-1.5.5.tar.gz &gt; git-1.5.5.tar.gz
tar -xvzf git-1.5.5.tar.gz
cd git-1.5.5
make configure
./configure --prefix=/usr
sudo make install
</pre>
<p>3) On a Fedora just launch the command :</p>
<pre># yum install git
</pre>
<p>4) On a Debian just launch the command :</p>
<pre># apt-get install git-core
</pre>
<p>Signup (choose username / password / email and add a public key) on <a href="http://github.com" target="_blank">Github.com</a>&#8230; then create your repository (specify at least the project name).</p>
<p>Github gives you the following instructions to push your project.</p>
<p>On your desktop, create your project, then push it to the remote repository by launching the following commands :</p>
<pre>mkdir &lt;project name&gt;
cd &lt;project name&gt;
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:&lt;github username&gt;/&lt;project name&gt;.git
git push origin master
</pre>
<p>Once this has been done , i copied the content of a Ruby on Rails application into my local repository, i committed the updates, then pushed everything to the remote repository:</p>
<pre>cp -r ../&lt;rails_app&gt;/* .
git add Rakefile
git add app/
git add config/
git add db/
git add doc/
git add lib/
git add log/
git add public/
git add script/
git add test/
git add vendor/
git commit 'My project first import'
git push origin master
</pre>
<p>Now the skeleton of my RoR application has been pushed to the Github repository.</p>
<p>Explanations : Git is quite different from Subversion , it&#8217;s a distributed SCM, which means you can work disconnected from the main repository (remote) by committing your changes locally.</p>
<p>The basic flow for the previous steps is the following :</p>
<p>The first time, you should create your git (local) repo (this create a .git in the root folder of your project):</p>
<pre># git init</pre>
<p>Create a file for testing</p>
<pre># touch README</pre>
<p>Then add it to your local repo :</p>
<pre># git add README</pre>
<p>Commit to your local repo :</p>
<pre># git commit -m 'First commit'</pre>
<p>Then we add the Github remote repository to our local repository as a remote server called “origin” (we say remote repo is &#8220;tracked&#8221;)</p>
<pre># git add remote origin git@github.com:&lt;username&gt;/&lt;project name&gt;.git</pre>
<p>Push our changes to the remote repository, in the main branch &#8220;master&#8221; (being the equivalent of &#8216;trunk&#8217; in Subversion) :</p>
<pre># git push origin master</pre>
<p>Show the branches (-r : only remote branches; -a : all branches) :</p>
<pre># git branch -a

* master</pre>
<p>Suppose now another person (B) want to get a copy of (remote) repository :</p>
<pre># cd /path/to/my/workspace

# git clone git@github.com:&lt;username&gt;/&lt;project name&gt;.git

remote: Generating pack...
remote: Done counting 359 objects.
remote: Deltifying 359 objects...
Indexing 359 objects...te:
100% (359/359) doneemote: e done
remote: Total 359 (delta 94), reused 359 (delta 94)
100% (359/359) done
Resolving 94 deltas...
100% (94/94) done

# cd &lt;project name&gt;
</pre>
<p>Now this person (B) could update a file , then commit and push to the repository.</p>
<p>First do an update in a file from your project.</p>
<p>Show status :</p>
<pre># git status

# On branch master
# Changed but not updated:
#   (use "git add &lt;file&gt;..." to update what will be committed)
#
#       modified:   README
#
no changes added to commit (use "git add" and/or "git commit -a")
</pre>
<p>Add the changes in your local repo :</p>
<pre># git add README

# git status

# On branch master
# Changes to be committed:
#   (use "git reset HEAD &lt;file&gt;..." to unstage)
#
#       modified:   README
#
</pre>
<p>Commit this change to the local repo :</p>
<pre># git commit -a -m "Test update file"
Created commit 23f0d7f: Test update file
1 files changed, 1 insertions(+), 0 deletions(-)
</pre>
<p>Then push these changes to the remote repo :</p>
<pre># git push origin master

updating 'refs/heads/master'
from 80749cfe5dde07cedc7e50be420a266d8b698232
to   23f0d7fa999d2f4d0cbaed550677c9d07f70b8ca
Also local refs/remotes/origin/master
Generating pack...
Done counting 3 objects.
Deltifying 3 objects...
100% (3/3) done
Writing 3 objects...
100% (3/3) done
Total 3 (delta 0), reused 0 (delta 0)
refs/heads/master: 80749cfe5dde07cedc7e50be420a266d8b698232 -&gt; 23f0d7fa999d2f4d0cbaed550677c9d07f70b8ca
</pre>
<p>Now the first person (A) should get its local mirror in sync with the remote repo : to do this, just launch the command :</p>
<pre># git pull

Updating 80749cf..23f0d7f
Fast forward
README |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)
</pre>
<p>We saw the mechanism of Push/Pull, working in the main &#8220;master&#8221; branch of the repository.</p>
<p>Further readings show you how to manage conflicts, work with other repository branches than &#8220;master&#8221;.</p>
<p>For Rails projects, you can use Capistrano for deployments combined with a Git SCM like Github.</p>
<p><strong>Further readings :</strong></p>
<p><a href="http://toolmantim.com/article/2007/12/5/setting_up_a_new_remote_git_repository" target="_blank">Setting up a new remote git repository</a></p>
<p><a href="http://wiki.sourcemage.org/Git_Guide" target="_blank">Sourcemage&#8217;s Git guide</a></p>
<p><a href="http://github.com/guides/" target="_blank">Github guides</a></p>
<p><a href="http://github.com/guides/deploying-with-capistrano" target="_blank">Deploying with Capistrano</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/298/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/298/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=298&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/05/13/start-with-git-scm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install and configure NGINX  and Mongrel for Rails</title>
		<link>http://laurentbois.com/2008/05/06/install-and-configure-nginx-and-mongrel-for-rails/</link>
		<comments>http://laurentbois.com/2008/05/06/install-and-configure-nginx-and-mongrel-for-rails/#comments</comments>
		<pubDate>Tue, 06 May 2008 10:10:59 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mongrel]]></category>

		<category><![CDATA[nginx]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[mongrel_cluster]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=294</guid>
		<description><![CDATA[Some times ago i wrote an article about installing a Rails stack on Debian Etch (our production server), then how to configure Apache 2 + fcgid to run our Rails app.
After several tests with this deployment configuration , we encountered some problems of performance (i will detail what our application does in a future article) [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some times ago i wrote an article about installing a Rails stack on Debian Etch (our production server), then how to configure Apache 2 + fcgid to run our Rails app.</p>
<p>After several tests with this deployment configuration , we encountered some problems of performance (i will detail what our application does in a future article) :</p>
<p>- First with Apache server, after an idle time, then accessing a page of our application, we should wait for a long time before our page loads. Seems fcgid processes take a long time to (re)start.</p>
<p>- In our application, we deliver some files with a download controller : for bigger files, the download was very long.</p>
<p>We decided recently to switch the Apache2 / fcgid  configuration to Mongrel (Ruby HTTP server) + nginx (as proxy in front of Mongrel).</p>
<p><span id="more-294"></span></p>
<p>I will explain you how to proceed.</p>
<p>We suppose here you have already installed Ruby , Rails, mySQL.</p>
<p>Connect as root and follow these steps :</p>
<p><strong>First stop Apache2 :</strong></p>
<p>#/etc/init.d/apache2 stop</p>
<p><strong>Install Mongrel</strong></p>
<p># gem install mongrel</p>
<p># gem install mongrel_cluster</p>
<p><strong>Install nginx:</strong></p>
<p># aptitude install nginx</p>
<p><strong>Configure what we have installed</strong></p>
<p>We have to setup our server apps to boot when the server starts, and shutdown gracefully when the server reboots.</p>
<p>Concerning nginx, it already did automatically this setup at install:</p>
<p># ls -l /etc/rc?.d/*nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc0.d/K20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc1.d/K20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc2.d/S20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc3.d/S20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc4.d/S20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc5.d/S20nginx -&gt; ../init.d/nginx<br />
lrwxrwxrwx 1 root root 15 2008-05-05 11:00 /etc/rc6.d/K20nginx -&gt; ../init.d/nginx</p>
<p>As you can see, for runlevels 0, 1 and 6 there is a <strong>K</strong> at the beginning of the link, for runlevels 2, 3, 4 and 5, there is a <strong>S</strong>. Those two letters stands for <strong>K</strong><em>ill</em> and <strong>S</strong><em>tart</em>.<br />
On Debian (and Ubuntu), runlevels 2, 3, 4 and 5 are multi-users runlevels.<br />
Runlevel 0 is <em>Halt</em>.<br />
Runlevel 1 is <em>single user mode</em><br />
Runlevel 6 is <em>reboot</em></p>
<p><strong>Remove Apache 2 service</strong></p>
<p>By hand you should remove every link /etc/rc.X/*apache2.</p>
<p>Using update-rc.d is as simple as :</p>
<p># update-rc.d -f apache2 remove</p>
<p>Removing any system startup links for /etc/init.d/apache2 &#8230;<br />
/etc/rc0.d/K09apache2<br />
/etc/rc1.d/K09apache2<br />
/etc/rc2.d/S91apache2<br />
/etc/rc3.d/S91apache2<br />
/etc/rc4.d/S91apache2<br />
/etc/rc5.d/S91apache2<br />
/etc/rc6.d/K09apache2</p>
<p><strong>Add Mongrel service for automatic startup/stop</strong></p>
<p># cp /usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/resources/mongrel_cluster /etc/init.d/mongrel_cluster</p>
<p>Edit /etc/init.d/mongrel_cluster and add the following environment setup:</p>
<pre>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local:/usr/local/sbin:/usr/local/bin</pre>
<p># chmod +x /etc/init.d/mongrel_cluster</p>
<p># update-rc.d mongrel_cluster defaults<br />
Adding system startup for /etc/init.d/mongrel_cluster &#8230;<br />
/etc/rc0.d/K20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc1.d/K20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc6.d/K20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc2.d/S20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc3.d/S20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc4.d/S20mongrel_cluster -&gt; ../init.d/mongrel_cluster<br />
/etc/rc5.d/S20mongrel_cluster -&gt; ../init.d/mongrel_cluster</p>
<p>But as you can see, the default value is 20 which is pretty different than 91 &#8230; a S20 link is started before a S91 and and K91 is kill before K20.</p>
<p>I decided to startup nginx after mongrel, and stop nginx before mongrel. I&#8217;ll use 23 for nginx.</p>
<p>First remove nginx symlinks:</p>
<p># update-rc.d -f nginx remove</p>
<p>Then create symlinks for nginx with custom priorities :</p>
<p># update-rc.d nginx defaults 23 23<br />
Adding system startup for /etc/init.d/nginx &#8230;<br />
/etc/rc0.d/K23nginx -&gt; ../init.d/nginx<br />
/etc/rc1.d/K23nginx -&gt; ../init.d/nginx<br />
/etc/rc6.d/K23nginx -&gt; ../init.d/nginx<br />
/etc/rc2.d/S23nginx -&gt; ../init.d/nginx<br />
/etc/rc3.d/S23nginx -&gt; ../init.d/nginx<br />
/etc/rc4.d/S23nginx -&gt; ../init.d/nginx<br />
/etc/rc5.d/S23nginx -&gt; ../init.d/nginx<br />
Create the folder /etc/mongrel_cluster that our Rails app Mongrel config will live in.</p>
<p># mkdir /etc/mongrel_cluster</p>
<p>Generate the Rails app Mongrel config file:</p>
<p># mongrel_rails cluster::configure -e production -p 8001 -N 3 -c /path/to/rails/app -C /path/to/rails/app/config/mongrel_cluster.yml -P /path/to/rails/app/log/mongrel.pid -l /path/to/rails/app/log/mongrel.log &#8211;user &lt;user&gt; &#8211;group &lt;group&gt;  -a 127.0.0.1</p>
<p>Verify the config file (/path/to/rails/app/config/mongrel_cluster.yml)</p>
<p>user: &lt;user&gt;<br />
cwd: /path/to/rails/app<br />
log_file: /path/to/rails/app/log/mongrel.log<br />
port: &#8220;8001&#8243;<br />
environment: production<br />
group: &lt;group&gt;<br />
address: 127.0.0.1<br />
pid_file: /path/to/rails/app/mongrel.pid<br />
servers: 3</p>
<p>Create a symlink to this file into /etc/mongrel_cluster :</p>
<pre>ln -s /path/to/your/rails/app/mongrel_cluster.yml /etc/mongrel_cluster/YOURAPPNAME.yml</pre>
<p><strong>Configure nginx</strong></p>
<p>We now need to edit our nginx.conf file found in <strong>/etc/nginx/nginx.conf</strong> to set it up. Edit the values found in my <a href="http://laurentbois.files.wordpress.com/2008/05/nginx.pdf" target="_blank">nginx.conf</a> file and modify it to suit your needs.</p>
<p>Nginx is a powerful UNIX tool.</p>
<p>You have noticed we used here <a href="http://nginx.net/" target="_blank">nginx</a> as Reverse-Proxy in front of a Mongrel cluster; if the web-server (Mongrel in our case) cannot handle more load , you can even put nginx before the web-server to use it as web-server to handle requests to static files.</p>
<p>Thanks to nginx flexibility, you can pass any types of requests to web-server server by using <tt>location</tt> sections (all files, only dynamic content requests or some specific locations in your web-server tree):</p>
<div class="codecolorer-container nginx">
<div class="codecolorer" style="font-family:monospace;"><span class="kw1">location</span> / <span class="br0">{</span><br />
<span class="kw2">proxy_pass</span> <span class="re2">http://mongrel:<span class="nu0">8000</span>/</span>;<br />
<span class="kw2">proxy_set_header</span> <span class="kw4">X-Real-IP</span> <span class="re0">$remote_addr</span>;<br />
<span class="br0">}</span></div>
</div>
<p>It should be fine now! Reboot your server and test everything is up after startup :</p>
<p># shutdown -r now<br />
Nota : Another tool to test: <a href="nginx google analytics top 5" target="_blank">Varnish</a>, an high-performance HTTP-accelerator.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/294/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/294/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=294&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/05/06/install-and-configure-nginx-and-mongrel-for-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install Oracle Database Express 10g on Fedora (7,8)</title>
		<link>http://laurentbois.com/2008/05/05/install-oracle-database-express-10g-on-fedora-78/</link>
		<comments>http://laurentbois.com/2008/05/05/install-oracle-database-express-10g-on-fedora-78/#comments</comments>
		<pubDate>Mon, 05 May 2008 13:04:09 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[oracle]]></category>

		<category><![CDATA[fedora]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[parallels]]></category>

		<category><![CDATA[xe]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=295</guid>
		<description><![CDATA[If you find Oracle 10g fairly complex to install - if you find Oracle 10g memory hungry, especially when you&#8217;re trying to run several JVMs, and a VMWare instance in parallel with a heavy running Oracle 10g system. Think of Oracle Database 10g Express.

The installation of Oracle XE is straightforward and no necessary modifications of [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you find Oracle 10g fairly complex to install - if you find Oracle 10g memory hungry, especially when you&#8217;re trying to run several JVMs, and a VMWare instance in parallel with a heavy running Oracle 10g system. Think of Oracle Database 10g Express.</p>
<p><span id="more-295"></span></p>
<p>The installation of Oracle XE is straightforward and no necessary modifications of the Kernel params as Oracle 10g.</p>
<p>First install libaio :</p>
<pre># yum install libaio</pre>
<p>Then download the <a href="http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html" target="_blank">Oracle XE rpm</a> from Oracle.</p>
<p>Launch rpm install :</p>
<pre># rpm -ihv oracle-xe-10.2.0.1-1.0.i386.rpm</pre>
<p>After install launch the following command as root, to configure HTTP Listener, SQL*Net Listener, SYSTEM &amp; SYS passwords.</p>
<pre># /etc/init.d/oracle-xe configure</pre>
<pre>Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press &lt;Enter&gt; to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:8888

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener&#8230;Done
Configuring Database&#8230;Done
Starting Oracle Database 10g Express Edition Instance&#8230;Done
Installation Completed Successfully.
To access the Database Home Page go to &#8220;http://127.0.0.1:8888/apex&#8221;</pre>
<p>The RPM/configure script does not configure environment. Add the following lines in your .profile file :</p>
<pre>export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
export ORACLE_SID=XE
export PATH=$PATH:$ORACLE_HOME/bin
</pre>
<p>Try now a connection as system with SQL*Plus :</p>
<pre># sqlplus system/&lt;password&gt;</pre>
<p>If you do heavy use of connection poolings, you could have problems with sessions/processes. Increase this params by connecting as SYSTEM , then launch SQL commands:</p>
<pre>alter system set processes=200 scope=spfile;
alter system set sessions=225 scope=spfile;</pre>
<p><strong>More about Oracle XE:</strong></p>
<p>Oracle XE is not only a database for novices, students, hobbyists, or small businesses; it can be used in many other situations.</p>
<p>It can bring value to DBAs, developers, analysts in their everyday job, regardless of the size of their businesses.</p>
<p>If you&#8217;re developer and you want to try DBA tasks, or you need a R&amp;D database to try out new things it can be for you.</p>
<p><strong>Oracle has built some limitations in the system:</strong></p>
<p>First of all the memory : Oracle XE can not address more than 1GB memory.</p>
<p>Oracle XE can use only one CPU. This does not mean Oracle XE isn&#8217;t multi-tasks, but it cannot scale on multi processors machines, by using more than one CPU at a time.</p>
<p>One instance of Oracle XE per computer. It&#8217;s not really a limitation if you consider that we do not use one Oracle database per application : Oracle uses the concept of schemas to separate applications.</p>
<p>4GB limit on disk space. Even if it seems small, compared to multi terabytes of data warehouses, 4GB is already a huge amount for many applications.</p>
<p><strong>Examples of uses :</strong></p>
<p>The aggregation angle : you could consider to install Oracle XE instances on your users&#8217;s desktops, then schedule purges and refreshes of aggregated data (by push or pull). Advantages are :  users can have control of their data, you reduce the load on your enterprise hardware, and you reduce the licenses costs for your Oracle database Enterprise Edition.</p>
<p><strong>For the developer :</strong></p>
<p>The configuration of Oracle XE is minimalist, so you can concentrate on the developments. Nevertheless, if you want to try DBA Tasks, you are in complete control.</p>
<p>The Admin control is a web GUI developed with Oracle Application Express(APEX, ex HTML Db) : you can create users with this admin tool, or if you prefer use Oracle SQL*Plus.</p>
<p>Oracle Express doesn&#8217;t support Java in the database (no internal JVM) : you can nevertheless connect an external JVM using JDBC.</p>
<p>The .NET CLR external process listener is included, so registered .NET programs can be called from database PL/SQL stored procedures. .NET support only exists on Windows version of Oracle XE.</p>
<p>Other development tools like Toad, SQL Developer, JDeveloper, Forms, PHP, Ruby are supported.</p>
<p>Oracle Database XE includes the Application Express Web-based development and deployment tool as well as XML DB. With the latter, you can immediately start using XML, WebDAV, and the built-in HTTP and FTP servers.</p>
<p>Finally, for people on Mac who are virtualizing guest OSes using Parallels, you have the opportunity to get an ASPLinux (based on Fedora Core) appliance, instrumented with Oracle Express 10g <a href="http://ptn.parallels.com/en/ptn/dir/?va_id=169" target="_blank">here.</a></p>
<p>More informations <a href="http://www.oracle.com/technology/pub/articles/cunningham-database-xe.html" target="_blank">here</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/295/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/295/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=295&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/05/05/install-oracle-database-express-10g-on-fedora-78/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install Ubuntu 8.04 using VMware Fusion on Mac OS X</title>
		<link>http://laurentbois.com/2008/04/26/install-ubuntu-804-using-vmware-fusion-on-mac-os-x/</link>
		<comments>http://laurentbois.com/2008/04/26/install-ubuntu-804-using-vmware-fusion-on-mac-os-x/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 13:18:44 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[virtualization]]></category>

		<category><![CDATA[hardy heron]]></category>

		<category><![CDATA[open-vm-tools]]></category>

		<category><![CDATA[open-vmware-tools]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=267</guid>
		<description><![CDATA[I recently installed Leopard on my Mac and lost a VMWare appliance of Linux (Oracle Enterprise Linux), instrumented with an Oracle database , that i ran before on Mac OS X Tiger using VMWare Fusion beta.
So i decided to install the last release of Ubuntu , Hardy Heron 8.04 :
- Firstly to have a simple [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently installed Leopard on my Mac and lost a VMWare appliance of Linux (Oracle Enterprise Linux), instrumented with an Oracle database , that i ran before on Mac OS X Tiger using VMWare Fusion beta.</p>
<p>So i decided to install the last release of Ubuntu , Hardy Heron 8.04 :</p>
<p>- Firstly to have a simple platform with a <a href="http://www.rubyonrails.com/" target="_blank">Ruby on Rails</a> stack for testing my current project <a href="http://www.sudorace.com/" target="_blank">Sudorace</a> on Linux.</p>
<p>- Secondly i chose Ubuntu and not RedHat EL again (neither CentOS) because i currently do not need an instance of Oracle database for my personal purposes (i follow the YAGNI &#8220;You Ain&#8217;t Gonna Need It&#8221;). Working all business days in a full Oracle environment, i do not need now this kind of environment for my personal purposes; if tomorrow i should have an Oracle database instance, or an App Server, so i will install again the &#8220;<a href="http://edelivery.oracle.com/linux" target="_blank">Enterprise Linux</a>&#8221; from Oracle.</p>
<p>I use VMWare Fusion , because i encountered problems while installing Linux with Parallels at a time. It seems Parallels team first focused on running Windows well.</p>
<p><strong>About VMWare:</strong></p>
<p>VMWare is the leader in virtual infrastructures for years. I remember a time near 2003, when we used VMWare to run Linux on a Windows host, for testing an Oracle database &amp; Oracle RAC. VMWare declined the Mac version (VMWare fusion) once Apple switched to x86, but after Parallels.</p>
<p><span id="more-267"></span></p>
<p>Register for an evaluation or purchase a license then download <a href="http://www.vmware.com/download/fusion/" target="_blank">VMWare Fusion</a></p>
<p><a href="http://www.ubuntu.com/getubuntu/download" target="_blank">Download</a> Ubuntu 8.04</p>
<p>Burn the ISO on a CD-R or keep it on your Hard Drive (you can install Ubuntu with VMWare Fusion from the ISO file)</p>
<p><strong>Create a virtual machine with VMWare Fusion</strong></p>
<p>Launch VMWare Fusion</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-1.png"><img class="alignnone size-medium wp-image-268" src="http://laurentbois.files.wordpress.com/2008/04/image-1.png?w=300&h=192" alt="" width="300" height="192" /></a></p>
<p>Click the New button</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-2.png"><img class="alignnone size-medium wp-image-269" src="http://laurentbois.files.wordpress.com/2008/04/image-2.png?w=300&h=222" alt="" width="300" height="222" /></a></p>
<p>Click Continue</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-3.png"><img class="alignnone size-medium wp-image-270" src="http://laurentbois.files.wordpress.com/2008/04/image-3.png?w=300&h=223" alt="" width="300" height="223" /></a></p>
<p>Choose Linux then Ubuntu, and click Continue</p>
<p><img src="http://laurentbois.files.wordpress.com/2008/04/image-18.png?w=300" alt="" /></p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-4.png"></a></p>
<p>Select name (Ubuntu Hardy Heron) and Location (mine is ~/Library/VMWare)</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-5.png"><img class="alignnone size-medium wp-image-272" src="http://laurentbois.files.wordpress.com/2008/04/image-5.png?w=300" alt="" width="300" height="224" /></a></p>
<p>Specify HDD size</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-6.png"><img class="alignnone size-medium wp-image-273" src="http://laurentbois.files.wordpress.com/2008/04/image-6.png?w=300" alt="" width="300" height="223" /></a></p>
<p>Check &#8220;Start virtual machine and install OS now&#8221; then choose the ISO file for Ubuntu, or the CD.</p>
<p>Click Finish, then Ubuntu installation starts.</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-7.png"><img class="alignnone size-medium wp-image-274" src="http://laurentbois.files.wordpress.com/2008/04/image-7.png?w=300" alt="" width="300" height="271" /></a></p>
<p>As every Linux install you&#8217;ll have a few questions to answer before the installation starts.</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-19.png"><img class="alignnone size-medium wp-image-285" src="http://laurentbois.files.wordpress.com/2008/04/image-19.png?w=300" alt="" width="300" height="261" /></a></p>
<p>Choose the language</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-20.png"><img class="alignnone size-medium wp-image-286" src="http://laurentbois.files.wordpress.com/2008/04/image-20.png?w=300" alt="" width="300" height="262" /></a></p>
<p>Choose the timezone</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-21.png"><img class="alignnone size-medium wp-image-287" src="http://laurentbois.files.wordpress.com/2008/04/image-21.png?w=300" alt="" width="300" height="261" /></a></p>
<p>Choose the keyboard : in my case US English - Mac (i have a qwerty keyboard)</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-11.png"><img src="http://laurentbois.files.wordpress.com/2008/04/image-22.png?w=300" alt="" /></a></p>
<p>And the installation starts&#8230; you can relax  ~20 minutes.</p>
<p>Once Ubuntu installed shut down the system, and before next reboot, verify all the devices are well connected</p>
<p>Now the systems starts up.</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-23.png"><img class="alignnone size-medium wp-image-289" src="http://laurentbois.files.wordpress.com/2008/04/image-23.png?w=300" alt="" width="300" height="261" /></a></p>
<p>Enter your login/password you setup during installation</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-24.png"><img class="alignnone size-medium wp-image-290" src="http://laurentbois.files.wordpress.com/2008/04/image-24.png?w=300" alt="" width="300" height="262" /></a></p>
<p><strong>VMWare Tools</strong></p>
<p>Verify you have gcc installed. To install it, launch the command in a Terminal : <em>sudo apt-get install build-essential</em></p>
<p><strong>Install VMWare Tools :</strong></p>
<p>Choose from the menu <em>Virtual Machine -&gt; Install VMWare Tools</em></p>
<p>The following packages will be downloaded</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-25.png"><img class="alignnone size-medium wp-image-291" src="http://laurentbois.files.wordpress.com/2008/04/image-25.png?w=300" alt="" width="300" height="262" /></a></p>
<p>Copy VMWareTools-e.x.p-*.tar.gz to /tmp then in a Terminal window untar the tarball (<em>tar xzvf VMWareTools-e.x.p*.tar.gz</em>).</p>
<p>[UPDATE] Thanks for comments.</p>
<p>&#8220;It turns out that some changes to the Linux kernel — Ubuntu 8.04 uses Linux 2.6.24 — have introduced some issues that make running Ubuntu in a VMWare virtual machine difficult. Ubuntu will install just fine, but you won’t have access to VMWare Tools, which provides some nice features like shared folders and clipboard syncing.</p>
<p>While VMWare hasn’t released a solution yet, the company did recently <a href="http://open-vm-tools.sourceforge.net/">open source its VM Tools</a> and there’s already a very nice post in the VMWare forums on <a href="http://communities.vmware.com/message/887802#887802">how to integrate the needed packages from open-vm-tools into into vmtools</a>.&#8221; [<a href="http://blog.wired.com/monkeybites/2008/05/virtualization.html" target="_blank">Wired</a>]</p>
<p><strong>Install open-vmware-tools</strong></p>
<p>Pre-requisities :</p>
<p><code>sudo apt-get install build-essential libgtk2.0-dev<br />
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev<br />
cd Desktop/</code></p>
<p>Download from SourceForge <a href="http://sourceforge.net/project/showfiles.php?group_id=204462" target="_blank">Open VM Tools</a></p>
<p>Untar <a href="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-2008.05.02-90473.tar.gz?modtime=1209746785&amp;big_mirror=0">open-vm-tools-2008.05.02-90473.tar.gz</a></p>
<p><code>cd open-vm-tools-2008.05.02-90473/<br />
./configure &amp;&amp; make<br />
cd modules/linux/</code></p>
<p>In the modules/linux folder we have the vmblock, vmhgfs, vmmemctl, vmsync and vmxnet modules that we need to tar up and place into the official VMware tools tarball:</p>
<blockquote><p><code>for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done<br />
cd ../../..</code></p>
<p>mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/</p></blockquote>
<p>Now we can run the regular VMware tools installer:</p>
<p><em>cd vmware-tools-distrib</em></p>
<p>Launch the installation : <em>sudo ./vmware-install.pl</em></p>
<p>I&#8217;ve not compared all the features between a Linux installed on Parallels and Linux installed on VMWare Fusion, but what we can do with VMWare Fusion is the following :</p>
<p>DragDrop Files between Mac OS X &amp; the virtual machine, Copy &amp; Paste text between Mac OS X &amp; the virtual machine, Moving the cursor between Mac OS X &amp; the virtual machine, support for Airport Wireless network, Mounting USB drives, Resizing the Virtual Machine window.</p>
<p><strong>Share Folder:</strong></p>
<p>You can setup a Shared Folder on Mac OS X from VMWare Fusion (Virtual Machine settings)</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/image-51.png"><img class="alignnone size-medium wp-image-293" src="http://laurentbois.files.wordpress.com/2008/04/image-51.png?w=300" alt="" width="300" height="164" /></a></p>
<p>From Ubuntu, the Public folder will be shown into /mnt/hgfs folder.</p>
<p>Now , if you want to install a complete RoR stack, you should follow <a href="http://laurentbois.com/2008/04/22/install-ruby-on-rails-on-linux-debian-etch/" target="_blank">the steps</a> i described for the Debian Etch.</p>
<p>[UPDATE] Source for VMWare Tools fixing : Peter Cooper&#8217;s <a href="http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html" target="_blank">blog</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/267/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/267/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=267&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/26/install-ubuntu-804-using-vmware-fusion-on-mac-os-x/feed/</wfw:commentRss>
	
		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-1.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-2.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-3.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-18.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-5.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-6.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-7.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-19.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-20.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-21.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-22.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-23.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-24.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-25.png?w=300" medium="image" />

		<media:content url="http://laurentbois.files.wordpress.com/2008/04/image-51.png?w=300" medium="image" />
	</item>
		<item>
		<title>Ubuntu 8.04 Hardy Heron</title>
		<link>http://laurentbois.com/2008/04/24/280/</link>
		<comments>http://laurentbois.com/2008/04/24/280/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 12:28:21 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[news]]></category>

		<category><![CDATA[hardy heron]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=280</guid>
		<description><![CDATA[Today should be released the last Linux Ubuntu Hardy Heron, v. 8.04. Check this afternoon or in the evening.

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today should be released the last Linux <a href="http://www.ubuntu-fr.org/" target="_blank">Ubuntu</a> Hardy Heron, v. 8.04. Check this afternoon or in the evening.</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/ubuntu804.png"><img class="alignnone size-full wp-image-281" src="http://laurentbois.files.wordpress.com/2008/04/ubuntu804.png?w=450&h=371" alt="" width="450" height="371" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/280/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/280/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/280/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/280/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=280&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/24/280/feed/</wfw:commentRss>
	
		<media:content url="http://laurentbois.files.wordpress.com/2008/04/ubuntu804.png" medium="image" />
	</item>
		<item>
		<title>Install Ruby on Rails on Linux Debian Etch</title>
		<link>http://laurentbois.com/2008/04/22/install-ruby-on-rails-on-linux-debian-etch/</link>
		<comments>http://laurentbois.com/2008/04/22/install-ruby-on-rails-on-linux-debian-etch/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 14:10:51 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[capistrano]]></category>

		<category><![CDATA[mongrel]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[apache2]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[fastcgi]]></category>

		<category><![CDATA[gmail]]></category>

		<category><![CDATA[msmtp]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=266</guid>
		<description><![CDATA[Here is a second article about installing Ruby on Rails stack on a Linux Debian Etch. In our case, the host is our production server.
This article does not include Apache 2 , mySQL installation. Our server had been prepared with the LAMP stack.
This article includes Ruby, RoR, additional gems (Capistrano 2, openwferu-scheduler), Apache 2 / [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a second article about installing Ruby on Rails stack on a Linux Debian Etch. In our case, the host is our production server.</p>
<p>This article does not include Apache 2 , mySQL installation. Our server had been prepared with the LAMP stack.</p>
<p>This article includes Ruby, RoR, additional gems (Capistrano 2, openwferu-scheduler), Apache 2 / FastCGI configuration, mySQL securization, msmtp + GMail configuration to notify our application&#8217;s users.</p>
<p>We chose to use Apache 2/FastCGI because it&#8217;s simple to configure and we do not plan an intensive use of our application (we don&#8217;t care scaling for the moment).</p>
<p><span id="more-266"></span></p>
<p><strong>Install Ruby:</strong><br />
As root or with sudo command.<br />
$ aptitude install ruby libzlib-ruby rdoc irb</p>
<p><strong>Install RubyGems 1.1.1</strong><br />
$ cd /tmp<br />
$ wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz<br />
$ tar xzvf rubygems-1.1.1.tgz<br />
$ cd rubygems-1.1.1<br />
$ ruby setup.rb</p>
<p>By default the binary is named : /usr/bin/gem1.8<br />
Create the lunk &#8216;gem&#8217;<br />
$ cd /usr/bin<br />
$ ln -s gem1.8 gem</p>
<p><strong>Install MySQL C Ruby Bindings</strong><br />
$ aptitude install libmysqlclient15-dev<br />
$ gem install mysql &#8212; &#8211;with-mysql-config=/usr/bin/mysql_config</p>
<p><strong>Install rails 1.2.5</strong><br />
$ gem install rails -v 1.2.5 &#8211;include-dependencies</p>
<p>Upgrade to 2.0.2 :</p>
<p>$ gem update rails</p>
<p><strong>Install Mongrel</strong></p>
<p>$ apt-get install ruby1.8-dev<br />
$ gem install mongrel<br />
$ apt-get install dpatch fakeroot debhelper libtool dpkg-dev autoconf<br />
automake m4 bison flex gcc make subversion cvs<br />
$ gem install mongrel</p>
<p><strong>Install Capistrano 2</strong></p>
<p>$ gem install fastthread<br />
$ gem install capistrano</p>
<p><strong>Install openwferu-scheduler</strong></p>
<p>$ gem install openwferu-scheduler</p>
<p><strong>Configure Apache</strong></p>
<p><em><strong>Install fastcgi</strong></em><br />
$ wget http://www.fastcgi.com/dist/fcgi.tar.gz<br />
$ tar xzvf fcgi-2.4.0.tar.gz<br />
$ cd fcgi-2.4.0/<br />
$ ./configure<br />
$ make<br />
$ make install<br />
$ cd ..<br />
$ rm fcgi-2.4.0 -drf</p>
<p><em><strong>Install Apache2 mod_fcgid</strong></em><br />
$ apt-get install libapache2-mod-fcgid<br />
$ /etc/init.d/apache2 force-reload</p>
<p>Verify the config for mod_fcgid :<br />
Edit <em>/etc/apache2/mods-enabled/fcgid.conf</em></p>
<p>&lt;IfModule mod_fcgid.c&gt;<br />
AddHandler fcgid-script .fcgi<br />
SocketPath /var/lib/apache2/fcgid/sock<br />
DefaultInitEnv  RAILS_ENV production<br />
IdleTimeout 600<br />
ProcessLifeTime 3600<br />
MaxProcessCount 8<br />
DefaultMinClassProcessCount 3<br />
DefaultMaxClassProcessCount 3<br />
IPCConnectTimeout 8<br />
IPCCommTimeout 48<br />
&lt;/IfModule&gt;</p>
<p>Edit <em>/etc/apache2/mods-enabled/fcgid.load</em></p>
<p>LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so</p>
<p><em><strong>Enable mod_rewrite</strong></em></p>
<p>$ a2enmod rewrite<br />
$ /etc/init.d/apache2 force-reload</p>
<p><em><strong>Configure Apache2 :</strong></em></p>
<p>Edit <em>sites-enables/000-default</em></p>
<p>&lt;VirtualHost *&gt;<br />
ServerAdmin administrator@yourcompany.org</p>
<p>DocumentRoot /var/www/&lt;your app&gt;/current/public/<br />
ErrorLog /var/log/apache2/error.log<br />
# Possible values include: debug, info, notice, warn, error, crit,<br />
# alert, emerg.<br />
LogLevel warn<br />
CustomLog /var/log/apache2/access.log combined<br />
ServerSignature On</p>
<p>&lt;Directory /var/www/&lt;your app&gt;/current/public/&gt;<br />
Options ExecCGI FollowSymLinks<br />
AllowOverride all<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p><strong>Edit <em>&lt;your app&gt;/public/.htaccess</em> </strong>(in your working copy then commit)</p>
<p>AddHandler fcgid-script .fcgi<br />
Options +FollowSymLinks +ExecCGI</p>
<p>RewriteEngine On<br />
RewriteRule ^$ index.html [QSA]<br />
RewriteRule ^([^.]+)$ $1.html [QSA]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]<br />
ErrorDocument 500 &#8220;&lt;h2&gt;Application error&lt;/h2&gt;Rails application failed to start properly&#8221;</p>
<p><strong>Configure GMail :</strong></p>
<p><em><strong>Install msmtp :</strong></em><br />
$ apt-get install msmtp</p>
<p><em><strong>Configure Certificates</strong></em><br />
$ mkdir /etc/.certs<br />
$ chmod 775 /etc/.certs<br />
$ cd /tmp; wget https://www.verisign.com/support/thawte-roots.zip<br />
$ cd Thawte \Server\ Roots/<br />
$ cp ThawtePremiumServerCA_b64.txt /etc/.certs/ThawtePremiumServerCA.crt</p>
<p><em><strong>Configure /etc/.msmtprc</strong></em> (as root, then change ownership to your application running process ..can be www-data)</p>
<p>$ touch /etc/.msmtprc; chown www-data /etc/.msmtprc<br />
$ nano /etc/.msmtprc</p>
<p>account gmail<br />
host smtp.gmail.com<br />
port 587<br />
auth on<br />
user &lt;your account&gt;@gmail.com<br />
password &lt;your GMail password&gt;<br />
tls_starttls on<br />
tls on<br />
tls_trust_file /etc/.certs/ThawtePremiumServerCA.crt<br />
from &lt;your account&gt;@gmail.com</p>
<p><strong>Configure </strong><em><strong>/path/to/your/app/config/environment.rb</strong></em> (in your working copy then commit)</p>
<p>ActionMailer::Base.raise_delivery_errors = true</p>
<p>ActionMailer::Base.delivery_method = :msmtp</p>
<p>module ActionMailer<br />
class Base<br />
def perform_delivery_msmtp(mail)<br />
thread = Thread.new do<br />
IO.popen(&#8221;/usr/bin/msmtp -t -C /etc/.msmtprc -a gmail &#8211;&#8221;, &#8220;w&#8221;) do |sm|<br />
sm.puts(mail.encoded.gsub(/\r/, &#8221;))<br />
sm.flush<br />
end<br />
end<br />
thread.run<br />
end<br />
end<br />
end</p>
<p><strong>MySQL configuration :</strong></p>
<p>We suppose our RoR application has already been created, then imported into a Subversion Repository. You already know how to connect to a production database (you already should have  done this setup locally). Now replicate this production database configuration on the production server:</p>
<p>$ mysql -uroot mysql<br />
mysql&gt; create database &lt;app name&gt;_production;<br />
mysql&gt; Query OK, 1 row affected (0.06 sec)</p>
<p>mysql&gt; GRANT ALL PRIVILEGES ON &lt;app name&gt;_production.*  TO &#8216;&lt;user name&gt;&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;&lt;newPassword&gt;&#8217; WITH GRANT OPTION;<br />
mysql&gt; FLUSH PRIVILEGES;<br />
Query OK, 0 rows affected (0.11 sec)<br />
mysql&gt; exit;</p>
<p>$ mysql -u&lt;user name&gt; -&lt;NewPassword&gt; &lt;app name&gt;_production</p>
<p>mysql&gt; create table Toto(id int, test text);<br />
Query OK, 0 rows affected (0.05 sec)<br />
mysql&gt; drop table Toto;<br />
Query OK, 0 rows affected (0.03 sec)</p>
<p>mysql&gt; exit;</p>
<p><strong><em>Securizing mySQL</em></strong><br />
$ mysql -uroot -p<br />
mysql&gt; SET PASSWORD FOR root@localhost=PASSWORD(&#8217;&lt;password&gt;&#8217;);<br />
mysql&gt; exit<br />
$ mysql -uroot -p&lt;password&gt;</p>
<p>In a further article i will explain the goal of our application, give some tricks we used, and explain how to configure Capistrano 2 for remote deployment from the developer&#8217;s desktop.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/266/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/266/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=266&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/22/install-ruby-on-rails-on-linux-debian-etch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install a Rails stack on Fedora Core</title>
		<link>http://laurentbois.com/2008/04/18/install-a-rails-stack-on-fedora-core/</link>
		<comments>http://laurentbois.com/2008/04/18/install-a-rails-stack-on-fedora-core/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 12:52:34 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[fedora]]></category>

		<category><![CDATA[lighttpd]]></category>

		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=265</guid>
		<description><![CDATA[I begin here a serie of articles about Installing Rails stack on several platforms, for different purposes (development, production). I will continue with the detail of a current RoR application we just launched here, by my client, then how to deploy it on the production server using Capistrano 2, and how to configure Apache 2 [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I begin here a serie of articles about Installing Rails stack on several platforms, for different purposes (development, production). I will continue with the detail of a current RoR application we just launched here, by my client, then how to deploy it on the production server using Capistrano 2, and how to configure Apache 2 to make it run with FastCGI.</p>
<p>The RoR application is developed on our Linux desktops, is hosted on the remote &#8220;low cost&#8221; Subversion server (BeansTalkApp), the application is deployed with Capistrano 2 to a Linux Debian virtualized server into the DMZ and is running on Apache 2 + FastCGI.</p>
<p>First , i begin with an install of Ruby, Rails, mySQL, Lighttpd done on my desktop running on Linux Fedora Core 7.</p>
<p><span id="more-265"></span></p>
<p>On Fedora, as you had on RedHat with RPMs ( and as you have on Debian with Aptitude), you can use the package manager called &#8216;yum&#8217;. Here are the steps to follow to get a functional RoR stack ready.</p>
<p><strong>Install Ruby:</strong></p>
<p>Launch the command in a terminal window (we&#8217;re connected as root):</p>
<p>$ yum install ruby ruby-devel ruby-libs irb rdoc</p>
<p>Installed: ruby-devel.i386 0:1.8.6.114-1.fc7 ruby-devel.x86_64<br />
0:1.8.6.114-1.fc7 ruby-rdoc.x86_64 0:1.8.6.114-1.fc7<br />
Dependency Installed: ruby.x86_64 0:1.8.6.114-1.fc7 ruby-irb.x86_64<br />
0:1.8.6.114-1.fc7 ruby-libs.i386 0:1.8.6.114-1.fc7 ruby-libs.x86_64<br />
0:1.8.6.114-1.fc7</p>
<p><strong>Install RubyGems</strong></p>
<p>$ cd /tmp<br />
$ wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz<br />
$ tar xzvf rubygems<br />
$ cd rubygems-1.1.1<br />
$ ruby setup.rb</p>
<p>$ cd ..</p>
<p>$ rm rubygem* -drf</p>
<p><strong>Install Rails</strong></p>
<p>We first install the 1.2.3 release of Rails , because of one of our server, running Rails app in version 1.2.3</p>
<p>$ gem install rails -v 1.2.3 &#8211;include-dependencies</p>
<p>Update to Rails 2.x<br />
$ gem update rails &#8211;include-dependencies</p>
<p><strong>Install lighttpd</strong></p>
<p>$ yum install lighttpd lighttpd-fastcgi</p>
<p><strong>Install FastCGI:</strong></p>
<p>$ wget http://www.fastcgi.com/dist/fcgi.tar.gz<br />
$ tar xzvf fcgi-2.4.0.tar.gz<br />
$ cd fcgi-2.4.0/<br />
$ ./configure<br />
$ make<br />
$ make install<br />
$ cd ..<br />
$ rm fcgi* -drf</p>
<p><strong>Install Ruby FastCGI Bindings</strong></p>
<p>$ wget http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz<br />
$ tar xzvf ruby-fcgi-0.8.6.tar.gz<br />
$ cd ruby-fcgi-0.8.6<br />
$ ruby install.rb config<br />
$ ruby install.rb setup<br />
$ ruby install.rb install<br />
$ cd ..<br />
$ rm ruby-fcgi* -drf</p>
<p><strong>Install MySQL:</strong></p>
<p>$ yum install mysql mysql-server mysql-devel mysql-administrator</p>
<p>Start Lighttpd + mySQL</p>
<p>You can do it by opening &#8220;Services&#8221; Client</p>
<p><strong>Secure mySQL</strong> (set password for root)</p>
<p>$ mysql -uroot -p<br />
mysql&gt; SET PASSWORD FOR root@localhost=PASSWORD(&#8217;&lt;newPassword&gt;&#8217;);<br />
mysql&gt; exit<br />
$ mysql -uroot -p&lt;newPassword&gt;</p>
<p>Now the base is ready we need to do some configuration.</p>
<p>I use the IDE <a href="http://www.netbeans.org/" target="_blank">Netbeans</a> 6 to develop my RoR applications. Download and Install Netbeans 6</p>
<p>Install if needed <a href="http://subversion.tigris.org/" target="_blank">Subversion client<br />
</a></p>
<p>Setup your Subversion repository on <a href="http://www.beanstalkapp.com/" target="_blank">http://www.beanstalkapp.com/</a></p>
<p>As our application is light, we keep the free beansTalk account : 20MB quota, 3 users (including the Anonymous user with read access)</p>
<p>After your setup, you should access your Subversion repository <strong>http://&lt;appname&gt;.svn.beanstalkapp.com/&lt;repos&gt;</strong></p>
<p>For checkout only, if you enabled the Anonymous user</p>
<p>Use your users credentials, to checkout, commit, update.</p>
<p>Checkout the empty project :</p>
<p>$ cd ~/workspace; mkdir &lt;app name&gt;; cd &lt;app name&gt;</p>
<p>$ export REPOS=http://&lt;app name&gt;.svn.beanstalkapp.com/&lt;repos&gt;<br />
$ svn co $REPOS/trunk .</p>
<p>Before doing the first import, we first create the skeleton of the Rails application on our desktop.</p>
<p>$ cd ~/workspace</p>
<p>$ rails &lt;app name&gt;</p>
<p>$ cd &lt;app name&gt;<br />
$ svn add &#8211;force .</p>
<p>Before commit we should ignore some files:</p>
<p>$ svn revert log/*<br />
Reverted ‘log/development.log’<br />
Reverted ‘log/fastcgi.crash.log’<br />
Reverted ‘log/lighttpd.access.log’<br />
Reverted ‘log/lighttpd.error.log’<br />
Reverted ‘log/production.log’<br />
Reverted ‘log/server.log’<br />
Reverted ‘log/test.log’</p>
<p>$ svn propset svn:ignore &#8220;*.log&#8221; log<br />
property ’svn:ignore’ set on ‘log’</p>
<p>$ svn revert config/database.yml<br />
Reverted ‘config/database.yml’</p>
<p>$ cp database.yml database.yml.template<br />
$ svn add database.yml.template<br />
$ svn propset svn:ignore &#8220;database.yml&#8221; config</p>
<p>Ignore db/schema.rb, tmp/* , doc, script, public<br />
$ svn propset svn:ignore &#8220;schema.rb&#8221; config<br />
$ svn propset svn:ignore &#8220;*&#8221; tmp<br />
$ svn propset svn:ignore &#8220;*doc&#8221; doc</p>
<p>Flag as executables script/* and public/dispatch.*<br />
$ svn propset svn:executable &#8220;*&#8221; `find script -type f | grep -v &#8216;.svn&#8217;` public/dispatch.*</p>
<p>Finally, revert and remove index.html (we’ll do a route for the application)<br />
$ svn revert public/index.html<br />
$ rm public/index.html<br />
$ svn commit &#8211;message=&#8221;First import project &lt;app name&gt;&#8221;</p>
<p>Open your IDE then create your working copy by checkout.</p>
<p>Configure your local mySQL database with the three databases (development, test, production)</p>
<p>$ mysql -uroot mysql</p>
<p>mysql&gt; create database &lt;app name&gt;_development;</p>
<p>mysql&gt; create database &lt;app name&gt;_test;<br />
mysql&gt; create database &lt;app name&gt;_production;</p>
<p>mysql&gt; GRANT ALL PRIVILEGES ON &lt;app name&gt;_development.*  TO &#8216;&lt;my app User&gt;&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;newPassword&#8217; WITH GRANT OPTION;</p>
<p>mysql&gt; GRANT ALL PRIVILEGES ON &lt;app name&gt;_test.*  TO &#8216;&lt;my app User&gt;&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;newPassword&#8217; WITH GRANT OPTION;</p>
<p>mysql&gt; GRANT ALL PRIVILEGES ON &lt;app name&gt;_test.*  TO &#8216;&lt;my app User&gt;&#8217;@'localhost&#8217; IDENTIFIED BY &#8216;newPassword&#8217; WITH GRANT OPTION;</p>
<p>mysql&gt; FLUSH PRIVILEGES;</p>
<p>mysql&gt; exit</p>
<p>Create a copy of &lt;app name&gt;/config/database.yml.template to &lt;app name&gt;/config/database.yml</p>
<p>Setup your database connections :</p>
<p>development:<br />
adapter: mysql<br />
database: &lt;app name&gt;_development<br />
username: &lt;my app user&gt;<br />
password: &lt;my app user pwd&gt;<br />
socket: /var/run/mysqld/mysqld.sock</p>
<p>test:<br />
adapter: mysql<br />
database: &lt;app name&gt;_test<br />
username: &lt;my app user&gt;<br />
password: &lt;my app user pwd&gt;<br />
socket: /var/run/mysqld/mysqld.sock</p>
<p>production:<br />
adapter: mysql<br />
database: &lt;app name&gt;_production<br />
username: &lt;my app user&gt;<br />
password: &lt;my app user pwd&gt;<br />
socket: /var/run/mysqld/mysqld.sock</p>
<p>Start your WebRick Server and test your application :</p>
<p>$ cd /path/to/your/app; script/server</p>
<p>Open a browser and go to http://localhost:3000/ to see the welcome page</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/265/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/265/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=265&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/18/install-a-rails-stack-on-fedora-core/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fring : VoIP for the iPhone</title>
		<link>http://laurentbois.com/2008/04/16/fring-voip-for-the-iphone/</link>
		<comments>http://laurentbois.com/2008/04/16/fring-voip-for-the-iphone/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 08:16:04 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[iphone]]></category>

		<category><![CDATA[fring]]></category>

		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=263</guid>
		<description><![CDATA[Fringland has released the software Fring for jailbreaked iPhones: Fring allows to chat but also to do VoIP. Already released on many mobile platforms, Fring works for IM Yahoo!, AOL AIM Messenger, Skype, MSN Messenger, ICQ, Google Talk, SIP and Twitter.

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Fringland has released the software Fring for jailbreaked iPhones: Fring allows to chat but also to do VoIP. Already released on many mobile platforms, <a href="http://blog.fring.com/france/" target="_blank">Fring</a> works for IM Yahoo!, AOL AIM Messenger, Skype, MSN Messenger, ICQ, Google Talk, SIP and Twitter.</p>
<p><a href="http://laurentbois.files.wordpress.com/2008/04/fring-20080415-174933.jpg"><img class="alignnone size-medium wp-image-264" src="http://laurentbois.files.wordpress.com/2008/04/fring-20080415-174933.jpg?w=300&h=217" alt="" width="300" height="217" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/263/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/263/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=263&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/16/fring-voip-for-the-iphone/feed/</wfw:commentRss>
	
		<media:content url="http://laurentbois.files.wordpress.com/2008/04/fring-20080415-174933.jpg" medium="image" />
	</item>
		<item>
		<title>Freeze!</title>
		<link>http://laurentbois.com/2008/04/14/freeze/</link>
		<comments>http://laurentbois.com/2008/04/14/freeze/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 08:59:58 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[news]]></category>

		<category><![CDATA[cornavin]]></category>

		<category><![CDATA[freeze]]></category>

		<category><![CDATA[geneva]]></category>

		<category><![CDATA[train station]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=262</guid>
		<description><![CDATA[A &#8220;Freeze&#8221; event happened in Geneva (Switzerland) on April 12, 02:00 PM, in the Cornavin Train Station.

This event already happened in other train stations (New York).

       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A &#8220;Freeze&#8221; event happened in Geneva (Switzerland) on April 12, 02:00 PM, in the Cornavin Train Station.</p>
<p><span style="text-align:center; display: block;"><a href="http://laurentbois.com/2008/04/14/freeze/"><img src="http://img.youtube.com/vi/ZAzYXOC6hZA/2.jpg" alt="" /></a></span></p>
<p>This event already happened in other train stations (New York).</p>
<p><span style="text-align:center; display: block;"><a href="http://laurentbois.com/2008/04/14/freeze/"><img src="http://img.youtube.com/vi/jwMj3PJDxuo/2.jpg" alt="" /></a></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/262/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/262/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=262&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/14/freeze/feed/</wfw:commentRss>
	
		<media:content url="http://img.youtube.com/vi/ZAzYXOC6hZA/2.jpg" medium="image" />

		<media:content url="http://img.youtube.com/vi/jwMj3PJDxuo/2.jpg" medium="image" />
	</item>
		<item>
		<title>Unbreakable IronMan</title>
		<link>http://laurentbois.com/2008/04/07/unbreakable-ironman/</link>
		<comments>http://laurentbois.com/2008/04/07/unbreakable-ironman/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 14:48:20 +0000</pubDate>
		<dc:creator>lbois</dc:creator>
		
		<category><![CDATA[oracle]]></category>

		<category><![CDATA[hulk]]></category>

		<category><![CDATA[ironman]]></category>

		<category><![CDATA[marvel]]></category>

		<guid isPermaLink="false">http://laurentbois.wordpress.com/?p=257</guid>
		<description><![CDATA[Being fan of many Marvel superheroes since the early beginning of eighties, i&#8217;ve seen today this news about how Oracle did a cooperation with Marvel. The communication is focused on the future movie &#8220;IronMan&#8221;, with Robert Downey Jr, but a new release of the Incredible Hulk (with Ed Norton, Liv Tyler, Tim Roth and Robert [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignleft" style="border:0;float:left;margin:15px;" src="http://laurentbois.files.wordpress.com/2008/04/ironman-powered-by-oracle.jpg?w=414&h=297" alt="" width="414" height="297" />Being fan of many Marvel superheroes since the early beginning of eighties, i&#8217;ve seen today this news about how Oracle did a cooperation with Marvel. The communication is focused on the future movie &#8220;IronMan&#8221;, with <a href="http://imdb.com/name/nm0000375/" target="_blank">Robert Downey Jr</a>, but a new release of the <a href="http://imdb.com/title/tt0800080/" target="_blank">Incredible Hulk</a> (with Ed Norton, Liv Tyler, Tim Roth and Robert Downey Jr) is also coming soon.</p>
<p>Marvel Entertainment relies on Oracle to manage growth and provide seamless technology integration. <a href="http://www.oracle.com/technology/oramag/oracle/08-mar/o28marvel.html" target="_blank">View the article online</a></p>
<p>Source : <a href="http://http//www.oracle.com/marvel/ironman_v1.html?orclad=marvel_myo_portal" target="_blank">Oracle</a></p>
<p>And thanks to Carl , who twitts about this news <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/laurentbois.wordpress.com/257/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/laurentbois.wordpress.com/257/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laurentbois.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laurentbois.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laurentbois.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laurentbois.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laurentbois.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laurentbois.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laurentbois.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laurentbois.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laurentbois.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laurentbois.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laurentbois.com&blog=1805175&post=257&subd=laurentbois&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://laurentbois.com/2008/04/07/unbreakable-ironman/feed/</wfw:commentRss>
	
		<media:content url="http://laurentbois.files.wordpress.com/2008/04/ironman-powered-by-oracle.jpg" medium="image" />
	</item>
	</channel>
</rss>