<?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>Mike&#039;s burogu &#187; Linux and Mac</title>
	<atom:link href="http://blog.bsodmike.com/category/linux-and-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bsodmike.com</link>
	<description>Caution: May contain nuts...</description>
	<lastBuildDate>Wed, 28 Jul 2010 10:20:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Secure MySQL Installation in Ubuntu 10.04 LTS</title>
		<link>http://blog.bsodmike.com/2010/07/28/secure-mysql-installation-in-ubuntu-10-04-lts/</link>
		<comments>http://blog.bsodmike.com/2010/07/28/secure-mysql-installation-in-ubuntu-10-04-lts/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 10:20:27 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Linux and Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bsodmike.com/?p=259</guid>
		<description><![CDATA[This step is quite easy to overlook,
After installing MySQL, it&#8217;s recommended that you run mysql_secure_installation, a program that helps secure MySQL. While running mysql_secure_installation, you will be presented with the opportunity to change the MySQL root password, remove anonymous user accounts, disable root logins outside of localhost, and remove test databases. It is recommended that [...]]]></description>
			<content:encoded><![CDATA[<p>This step is quite easy to overlook,</p>
<blockquote><p>After installing MySQL, it&#8217;s recommended that you run mysql_secure_installation, a program that helps secure MySQL. While running mysql_secure_installation, you will be presented with the opportunity to change the MySQL root password, remove anonymous user accounts, disable root logins outside of localhost, and remove test databases. It is recommended that you answer yes to these options. If you are prompted to reload the privilege tables, select yes.</p></blockquote>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Enter current password <span style="color: #000000; font-weight: bold;">for</span> root <span style="color: #7a0874; font-weight: bold;">&#40;</span>enter <span style="color: #000000; font-weight: bold;">for</span> none<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <br />
OK, successfully used password, moving on...<br />
<br />
Setting the root password ensures that nobody can log into the MySQL<br />
root user without the proper authorisation.<br />
<br />
You already have a root password <span style="color: #000000; font-weight: bold;">set</span>, so you can safely answer <span style="color: #ff0000;">'n'</span>.<br />
<br />
Change the root password? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span> n<br />
&nbsp;... skipping.<br />
<br />
By default, a MySQL installation has an anonymous user, allowing anyone<br />
to log into MySQL without having to have a user account created <span style="color: #000000; font-weight: bold;">for</span><br />
them. &nbsp;This is intended only <span style="color: #000000; font-weight: bold;">for</span> testing, and to <span style="color: #c20cb9; font-weight: bold;">make</span> the installation<br />
go a bit smoother. &nbsp;You should remove them before moving into a<br />
production environment.<br />
<br />
Remove anonymous <span style="color: #c20cb9; font-weight: bold;">users</span>? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span> y<br />
&nbsp;... Success<span style="color: #000000; font-weight: bold;">!</span><br />
<br />
Normally, root should only be allowed to connect from <span style="color: #ff0000;">'localhost'</span>. &nbsp;This<br />
ensures that someone cannot guess at the root password from the network.<br />
<br />
Disallow root <span style="color: #c20cb9; font-weight: bold;">login</span> remotely? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span> y<br />
&nbsp;... Success<span style="color: #000000; font-weight: bold;">!</span><br />
<br />
By default, MySQL comes with a database named <span style="color: #ff0000;">'test'</span> that anyone can<br />
access. &nbsp;This is also intended only <span style="color: #000000; font-weight: bold;">for</span> testing, and should be removed<br />
before moving into a production environment.<br />
<br />
Remove <span style="color: #7a0874; font-weight: bold;">test</span> database and access to it? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span> y<br />
&nbsp;- Dropping <span style="color: #7a0874; font-weight: bold;">test</span> database...<br />
ERROR <span style="color: #000000;">1008</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>HY000<span style="color: #7a0874; font-weight: bold;">&#41;</span> at line <span style="color: #000000;">1</span>: Can<span style="color: #ff0000;">'t drop database '</span><span style="color: #7a0874; font-weight: bold;">test</span><span style="color: #ff0000;">'; database doesn'</span>t exist<br />
&nbsp;... Failed<span style="color: #000000; font-weight: bold;">!</span> &nbsp;Not critical, keep moving...<br />
&nbsp;- Removing privileges on <span style="color: #7a0874; font-weight: bold;">test</span> database...<br />
&nbsp;... Success<span style="color: #000000; font-weight: bold;">!</span><br />
<br />
Reloading the privilege tables will ensure that all changes made so far<br />
will take effect immediately.<br />
<br />
Reload privilege tables now? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span> y<br />
&nbsp;... Success<span style="color: #000000; font-weight: bold;">!</span><br />
<br />
Cleaning up...<br />
<br />
<br />
<br />
All <span style="color: #000000; font-weight: bold;">done</span><span style="color: #000000; font-weight: bold;">!</span> &nbsp;If you<span style="color: #ff0000;">'ve completed all of the above steps, your MySQL<br />
installation should now be secure.<br />
<br />
Thanks for using MySQL!</span></div></td></tr></tbody></table></div>
<p>Reference: <a href="http://library.linode.com/lamp-guides/ubuntu-9.10-karmic/#install_and_configure_mysql_database_server">Linode</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bsodmike.com/2010/07/28/secure-mysql-installation-in-ubuntu-10-04-lts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Ruby on Rails with Apache + Passenger (Mod_Rails) ~ Ubuntu Lucid Lynx 10.04</title>
		<link>http://blog.bsodmike.com/2010/06/05/howto-ruby-on-rails-with-apache-passenger-mod_rails-ubuntu-lucid-lynx-10-04/</link>
		<comments>http://blog.bsodmike.com/2010/06/05/howto-ruby-on-rails-with-apache-passenger-mod_rails-ubuntu-lucid-lynx-10-04/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 21:44:33 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Linux and Mac]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bsodmike.com/?p=238</guid>
		<description><![CDATA[To get up and running I followed (1) and had a basic RoR setup with Mongrel, but I really wanted to get Passenger setup as well.  This was of course a much more involved process.
I started off by following the very basic install guide on the dedicated page for Passenger.  However, Mozketo (2) [...]]]></description>
			<content:encoded><![CDATA[<p>To get up and running I followed (1) and had a basic RoR setup with Mongrel, but I really wanted to get Passenger setup as well.  This was of course a much more involved process.</p>
<p>I started off by following the <a href="http://www.modrails.com/install.html">very basic install guide</a> on the dedicated page for Passenger.  However, Mozketo (2) indicated that I needed to get a few more libs first.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>RoR<span style="color: #000000; font-weight: bold;">/</span>myapp<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>views<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">users</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> apache2-prefork-dev libapr1-dev libaprutil1-dev<br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">sudo</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> password <span style="color: #000000; font-weight: bold;">for</span> administrator: <br />
Reading package lists... Done<br />
Building dependency <span style="color: #c20cb9; font-weight: bold;">tree</span> &nbsp; &nbsp; &nbsp; <br />
Reading state information... Done<br />
The following packages were automatically installed and are no longer required:<br />
&nbsp; linux-headers-2.6.32-<span style="color: #000000;">21</span> linux-headers-2.6.32-<span style="color: #000000;">21</span>-generic-pae<br />
Use <span style="color: #ff0000;">'apt-get autoremove'</span> to remove them.<br />
The following extra packages will be installed:<br />
&nbsp; comerr-dev krb5-multidev libdb4.8-dev libexpat1-dev libgssrpc4<br />
&nbsp; libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev libldap2-dev<br />
&nbsp; libmysqlclient-dev libpcre3-dev libpcrecpp0 libpq-dev libpq5 libssl-dev<br />
&nbsp; uuid-dev zlib1g-dev<br />
Suggested packages:<br />
&nbsp; krb5-doc db4.8-doc krb5-user postgresql-doc-8.4<br />
The following NEW packages will be installed:<br />
&nbsp; apache2-prefork-dev comerr-dev krb5-multidev libapr1-dev libaprutil1-dev<br />
&nbsp; libdb4.8-dev libexpat1-dev libgssrpc4 libkadm5clnt-mit7 libkadm5srv-mit7<br />
&nbsp; libkdb5-4 libkrb5-dev libldap2-dev libmysqlclient-dev libpcre3-dev<br />
&nbsp; libpcrecpp0 libpq-dev libpq5 libssl-dev uuid-dev zlib1g-dev<br />
0 upgraded, 21 newly installed, 0 to remove and 22 not upgraded.<br />
Need to get 9,968kB of archives.<br />
After this operation, 36.9MB of additional disk space will be used.<br />
Do you want to <span style="color: #7a0874; font-weight: bold;">continue</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>Y<span style="color: #000000; font-weight: bold;">/</span>n<span style="color: #7a0874; font-weight: bold;">&#93;</span>? Y</div></td></tr></tbody></table></div>
<p>finally,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>RoR<span style="color: #000000; font-weight: bold;">/</span>myapp<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>views<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">users</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gems <span style="color: #c20cb9; font-weight: bold;">install</span> passenger</div></td></tr></tbody></table></div>
<p>The passenger installer was quite interactive,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>RoR<span style="color: #000000; font-weight: bold;">/</span>myapp$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> passenger-install-apache2-module<br />
Welcome to the Phusion Passenger Apache <span style="color: #000000;">2</span> module installer, v2.2.13.<br />
<br />
This installer will guide you through the entire installation process. It<br />
shouldn<span style="color: #ff0000;">'t take more than 3 minutes in total.<br />
<br />
Here'</span>s what you can expect from the installation process:<br />
<br />
&nbsp;1. The Apache 2 module will be installed <span style="color: #000000; font-weight: bold;">for</span> you.<br />
&nbsp;2. You<span style="color: #ff0000;">'ll learn how to configure Apache.<br />
&nbsp;3. You'</span>ll learn how to deploy a Ruby on Rails application.<br />
<br />
Don<span style="color: #ff0000;">'t worry if anything goes wrong. This installer will advise you on how to<br />
solve any problems.<br />
<br />
Press Enter to continue, or Ctrl-C to abort.<br />
<br />
--------------------------------------------<br />
<br />
Checking for required software...<br />
<br />
&nbsp;* GNU C++ compiler... found at /usr/bin/g++<br />
&nbsp;* Ruby development headers... found<br />
&nbsp;* OpenSSL support for Ruby... found<br />
&nbsp;* RubyGems... found<br />
&nbsp;* Rake... found at /usr/bin/rake<br />
&nbsp;* rack... found<br />
&nbsp;* Apache 2... found at /usr/sbin/apache2<br />
&nbsp;* Apache 2 development headers... found at /usr/bin/apxs2<br />
&nbsp;* Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config<br />
&nbsp;* Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config<br />
<br />
--------------------------------------------<br />
Compiling and installing Apache 2 module...<br />
cd /usr/lib/ruby/gems/1.8/gems/passenger-2.2.13<br />
.<br />
.<br />
.<br />
--------------------------------------------<br />
The Apache 2 module was successfully installed.<br />
<br />
Please edit your Apache configuration file, and add these lines:<br />
<br />
&nbsp; &nbsp;LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.13/ext/apache2/mod_passenger.so<br />
&nbsp; &nbsp;PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.13<br />
&nbsp; &nbsp;PassengerRuby /usr/bin/ruby1.8<br />
<br />
After you restart Apache, you are ready to deploy any number of Ruby on Rails<br />
applications on Apache, without any further Ruby on Rails-specific<br />
configuration!<br />
<br />
Press ENTER to continue.<br />
<br />
<br />
--------------------------------------------<br />
Deploying a Ruby on Rails application: an example<br />
<br />
Suppose you have a Rails application in /somewhere. Add a virtual host to your<br />
Apache configuration file and set its DocumentRoot to /somewhere/public:<br />
<br />
&nbsp; &nbsp;&lt;VirtualHost *:80&gt;<br />
&nbsp; &nbsp; &nbsp; ServerName www.yourhost.com<br />
&nbsp; &nbsp; &nbsp; DocumentRoot /somewhere/public &nbsp; &nbsp;# &lt;-- be sure to point to '</span>public<span style="color: #ff0000;">'!<br />
&nbsp; &nbsp; &nbsp; &lt;Directory /somewhere/public&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllowOverride all &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# &lt;-- relax Apache security settings<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Options -MultiViews &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# &lt;-- MultiViews must be turned off<br />
&nbsp; &nbsp; &nbsp; &lt;/Directory&gt;<br />
&nbsp; &nbsp;&lt;/VirtualHost&gt;<br />
<br />
And that'</span>s it<span style="color: #000000; font-weight: bold;">!</span> You may also want to check the Users Guide <span style="color: #000000; font-weight: bold;">for</span> security and<br />
optimization tips, troubleshooting and other useful information:<br />
<br />
&nbsp; <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.13<span style="color: #000000; font-weight: bold;">/</span>doc<span style="color: #000000; font-weight: bold;">/</span>Users guide Apache.html<br />
<br />
Enjoy Phusion Passenger, a product of Phusion <span style="color: #7a0874; font-weight: bold;">&#40;</span>www.phusion.nl<span style="color: #7a0874; font-weight: bold;">&#41;</span> :-<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
http:<span style="color: #000000; font-weight: bold;">//</span>www.modrails.com<span style="color: #000000; font-weight: bold;">/</span><br />
<br />
Phusion Passenger is a trademark of Hongli Lai <span style="color: #000000; font-weight: bold;">&amp;</span> Ninh Bui.</div></td></tr></tbody></table></div>
<p>At this stage I knew that these directives were rather dated as Apache2 handles things rather differently now, especially when it comes to virtual hosts and enabling mods.  Mozketo (2) details how to create the following two files &#8211; you will notice how the strings are the updated versions compared to those given on Mozketo&#8230;</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># /etc/apache2/mods-available/passenger.load</span><br />
<span style="color: #666666; font-style: italic;"># http://mozketo.com/phusion-passenger-on-ubuntu-9-10/</span><br />
<br />
LoadModule passenger_module <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.13<span style="color: #000000; font-weight: bold;">/</span>ext<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mod_passenger.so<br />
<br />
<span style="color: #666666; font-style: italic;"># /etc/apache2/mods-available/passenger.conf:</span><br />
<br />
<span style="color: #000000; font-weight: bold;">&lt;</span>IfModule passenger_module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp;PassengerRoot <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.13<br />
&nbsp; &nbsp;PassengerRuby <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby1.8<br />
<span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span></div></td></tr></tbody></table></div>
<p>I setup the virtual host as follows,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># /etc/apache2/sites-available/webapps.local</span><br />
<span style="color: #000000; font-weight: bold;">&lt;</span>VirtualHost <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">80</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp;ServerName webapps.local<br />
&nbsp; &nbsp; &nbsp;ServerAlias <span style="color: #000000; font-weight: bold;">*</span>.webapps.local<br />
&nbsp; &nbsp; &nbsp;DocumentRoot <span style="color: #ff0000;">&quot;/home/mike/Desktop/webapps/&quot;</span><br />
&nbsp; &nbsp; &nbsp;RailsEnv development<br />
&nbsp; &nbsp; &nbsp;RailsBaseURI <span style="color: #000000; font-weight: bold;">/</span>myapp<br />
&nbsp; &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #ff0000;">&quot;/home/mike/Desktop/webapps/&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride all<br />
&nbsp; &nbsp; &nbsp; &nbsp; Options <span style="color: #660033;">-MultiViews</span> <br />
&nbsp; &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<span style="color: #000000; font-weight: bold;">&lt;/</span>VirtualHost<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> a2ensite webapps.local<br />
<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod rewrite<br />
<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod passenger<br />
<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</div></td></tr></tbody></table></div>
<p>To make development a bit easier I setup the following symlink,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># sym link</span><br />
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> ~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>railapps<span style="color: #000000; font-weight: bold;">/</span>myapp<span style="color: #000000; font-weight: bold;">/</span>public ~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>webapps<span style="color: #000000; font-weight: bold;">/</span>myapp</div></td></tr></tbody></table></div>
<p>The hosts file on the server needed a bit of changes as well</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>$ <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts<br />
<br />
<span style="color: #666666; font-style: italic;"># /etc/hosts</span><br />
127.0.0.1 &nbsp; localhost<br />
127.0.1.1 &nbsp; ubuntuServer<br />
127.0.0.1 &nbsp; webapps.local<br />
<br />
<span style="color: #666666; font-style: italic;"># The following lines are desirable for IPv6 capable hosts</span><br />
::<span style="color: #000000;">1</span> &nbsp; &nbsp; localhost ip6-localhost ip6-loopback<br />
fe00::<span style="color: #000000;">0</span> ip6-localnet<br />
ff00::<span style="color: #000000;">0</span> ip6-mcastprefix<br />
ff02::<span style="color: #000000;">1</span> ip6-allnodes<br />
ff02::<span style="color: #000000;">2</span> ip6-allrouters</div></td></tr></tbody></table></div>
<p>&#8230;and on my iMac as well,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>iMac27:~$ <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts<br />
<span style="color: #666666; font-style: italic;">##</span><br />
<span style="color: #666666; font-style: italic;"># Host Database</span><br />
<span style="color: #666666; font-style: italic;">#</span><br />
<span style="color: #666666; font-style: italic;"># localhost is used to configure the loopback interface</span><br />
<span style="color: #666666; font-style: italic;"># when the system is booting. &nbsp;Do not change this entry.</span><br />
<span style="color: #666666; font-style: italic;">##</span><br />
127.0.0.1 &nbsp; &nbsp; &nbsp; localhost<br />
10.0.0.20 &nbsp; &nbsp; &nbsp; webapps.local<br />
<br />
255.255.255.255 broadcasthost<br />
::<span style="color: #000000;">1</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localhost <br />
fe80::<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">%</span>lo0 localhost</div></td></tr></tbody></table></div>
<p>Here&#8217;s a snippet of an active rails app,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>railapps<span style="color: #000000; font-weight: bold;">/</span>myapp$ <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> log<span style="color: #000000; font-weight: bold;">/</span>development.log<br />
<span style="color: #666666; font-style: italic;"># ..</span><br />
Processing UsersController<span style="color: #666666; font-style: italic;">#index (for 172.16.7.113 at 2010-06-03 11:32:37) [GET]</span><br />
&nbsp; User Load <span style="color: #7a0874; font-weight: bold;">&#40;</span>1.1ms<span style="color: #7a0874; font-weight: bold;">&#41;</span> &nbsp; SELECT <span style="color: #000000; font-weight: bold;">*</span> FROM <span style="color: #ff0000;">&quot;users&quot;</span> <br />
Rendering template within layouts<span style="color: #000000; font-weight: bold;">/</span>application<br />
Rendering users<span style="color: #000000; font-weight: bold;">/</span>index<br />
Completed <span style="color: #000000; font-weight: bold;">in</span> 29ms <span style="color: #7a0874; font-weight: bold;">&#40;</span>View: 16, DB: 1<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">|</span> 200 OK <span style="color: #7a0874; font-weight: bold;">&#91;</span>http:<span style="color: #000000; font-weight: bold;">//</span>webapps.local<span style="color: #000000; font-weight: bold;">/</span>myapp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">users</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #666666; font-style: italic;"># ..</span></div></td></tr></tbody></table></div>
<p>To restart an app, one only needs to &#8216;touch&#8217; it&#8230;how cute!</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #000000; font-weight: bold;">/</span>Desktop$ <span style="color: #c20cb9; font-weight: bold;">touch</span> webapps<span style="color: #000000; font-weight: bold;">/</span>myapp<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>restart.txt</div></td></tr></tbody></table></div>
<h3>References</h3>
<p>(1) <a href="http://ubuntuforums.org/showthread.php?t=1459056&#038;page=1">[all variants] Install Ruby on Rails &#8211; Lucid Lynx</a><br />
(2) <a href="http://mozketo.com/phusion-passenger-on-ubuntu-9-10/">Phusion Passenger on Ubuntu 9.10</a><br />
(3) <a href="http://wiki.rubyonrails.org/getting-started/installation/linux?s[]=apache&#038;s[]=ruby&#038;s[]=rails">Installing Ruby on Rails on Debian/Ubuntu</a><br />
(4) <a href="http://davedupre.com/2009/03/23/replacing-mongrel-with-passenger-mod_rails/">Replacing Mongrel with Passenger (mod_rails)</a><br />
(5) <a href="http://wiki.rubyonrails.org/deployment/apache-passenger">Passenger</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bsodmike.com/2010/06/05/howto-ruby-on-rails-with-apache-passenger-mod_rails-ubuntu-lucid-lynx-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better VNC in Ubuntu 10.04 Lucid Lynx with x11vnc</title>
		<link>http://blog.bsodmike.com/2010/06/01/better-vnc-in-ubuntu-karmic-koala-with-x11vnc/</link>
		<comments>http://blog.bsodmike.com/2010/06/01/better-vnc-in-ubuntu-karmic-koala-with-x11vnc/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:04:33 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Linux and Mac]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VNC]]></category>

		<guid isPermaLink="false">http://blog.bsodmike.com/?p=233</guid>
		<description><![CDATA[Been working with Ubuntu Lucid a bit over the past few days and am not a big fan of the Vino VNC &#8220;Remote Desktop&#8221;.  The problem is that it doesn&#8217;t persist when logged out.  To get around this I setup x11vnc as per the HOWTO referenced at the end of this post.
Running it [...]]]></description>
			<content:encoded><![CDATA[<p>Been working with Ubuntu Lucid a bit over the past few days and am not a big fan of the Vino VNC &#8220;Remote Desktop&#8221;.  The problem is that it doesn&#8217;t persist when logged out.  To get around this I setup x11vnc as per the HOWTO referenced at the end of this post.</p>
<p>Running it is quite simple, first ssh as follow:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">5900</span>:localhost:<span style="color: #000000;">5900</span> yourUserName<span style="color: #000000; font-weight: bold;">@</span>serverIP</div></td></tr></tbody></table></div>
<p>To bring up the login window for your &#8216;user&#8217; account, run the following as root:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #666666; font-style: italic;"># x11vnc -auth /home/someuser/.Xauthority -rfbauth ~/.vnc/passwd -display :0</span></div></td></tr></tbody></table></div>
<p>At this stage, simply connect with ChickenVNC.  VNC login password has been setup as per the referred guide and stored in the above mentioned location.  Remember, when running the above at root, you need to recreate the password in &#8216;/root/.vnc&#8217; &#8211; the root users home directory.</p>
<h3>VNC Tunneling via SSH</h3>
<p>In the very first ssh command, by using the &#8216;-L&#8217; flag we bind the a port on the server we SSH to with a port defined on our host &#8211; localhost.  This port has, for this example at least, chosen as 5900.  We also force X11 forwarding,</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-X</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">5900</span>:localhost:<span style="color: #000000;">5900</span> yourUserName<span style="color: #000000; font-weight: bold;">@</span>serverIP</div></td></tr></tbody></table></div>
<p>Ensure your <strong>/etc/ssh/ssh_config</strong> file is edited properly as well (<a href="http://mikewilliamson.wordpress.com/2006/08/16/x11-forwarding-over-ssh/">here</a>) &#038; (<a href="http://itg.chem.indiana.edu/inc/wiki/software/openssh/200.html">here</a>).</p>
<p>Achieve SSH tunnelling by using the &#8216;-localhost&#8217; flag as follows:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>ubuntuServer:~<span style="color: #666666; font-style: italic;"># x11vnc -auth /home/someuser/.Xauthority -rfbauth ~/.vnc/passwd -localhost -display :0</span></div></td></tr></tbody></table></div>
<p>Now just connect ChickenVNC, or your VNC viewer of choice, to localhost:0 (with the chosen password if needed) to connect with SSH tunnelling!</p>
<h3>Reference:</h3>
<p>(1) <a href="http://ubuntuforums.org/showthread.php?t=45565">HOWTO: Share desktops with x11vnc instead of built-in Remote Desktop</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bsodmike.com/2010/06/01/better-vnc-in-ubuntu-karmic-koala-with-x11vnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing NVIDIA driver in Ubuntu via SSH with X11 Forwarding</title>
		<link>http://blog.bsodmike.com/2010/01/28/installing-nvidia-driver-in-ubuntu-via-ssh-with-x11-forwarding/</link>
		<comments>http://blog.bsodmike.com/2010/01/28/installing-nvidia-driver-in-ubuntu-via-ssh-with-x11-forwarding/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 08:48:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Linux and Mac]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[X11 Forwarding]]></category>

		<guid isPermaLink="false">http://blog.bsodmike.com/?p=153</guid>
		<description><![CDATA[Since my Ubuntu box has been running since 2006 (on the same install of 8.10!) as a headless terminal, I never bothered to install proper NVIDIA drivers&#8230;well, until today that is.
michaeldesilva@Ubuntu:~$ uname -ar
Linux Ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

I therefore downloaded NVIDIA-Linux-x86_64-190.53-pkg2.run, the 64-bit version of the driver and [...]]]></description>
			<content:encoded><![CDATA[<p>Since my Ubuntu box has been running since 2006 (on the same install of 8.10!) as a headless terminal, I never bothered to install proper NVIDIA drivers&#8230;well, until today that is.</p>
<blockquote><p>michaeldesilva@Ubuntu:~$ uname -ar<br />
Linux Ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
</p></blockquote>
<p>I therefore downloaded <strong>NVIDIA-Linux-x86_64-190.53-pkg2.run</strong>, the 64-bit version of the driver and &#8216;chmod +x&#8217;ed it to make it an executable.</p>
<p>GDM needed to be stopped, and was easily taken care of with a &#8217;sudo /etc/init.d/gdm stop&#8217;.  This is where I ran into a problem.  I am using an Apple keyboard, and could not perform a &#8216;ctrl-alt-F1&#8242; to get to VT1 from VT7, since VT7 has no prompt.</p>
<p><img src="http://farm3.static.flickr.com/2733/4310490479_0383ce74e2_o.png" width="640px"/></p>
<p>This is where I had the idea of firing up terminal on my Mac Pro and SSHed in with X11 forwarding.  I needed to access root quickly, so &#8217;sudo bash&#8217; came in rather handy.  The rest was quite straightforward where I ran the executable and I was able to interact with the installer from my Mac.</p>
<p>Upon exiting from root, I simply restarted GDM and all was well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bsodmike.com/2010/01/28/installing-nvidia-driver-in-ubuntu-via-ssh-with-x11-forwarding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Colloquy: Best iPhone IRC Client</title>
		<link>http://blog.bsodmike.com/2009/10/31/mobile-colloquy-best-iphone-irc-client/</link>
		<comments>http://blog.bsodmike.com/2009/10/31/mobile-colloquy-best-iphone-irc-client/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 07:02:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Gadgets and Tech]]></category>
		<category><![CDATA[Linux and Mac]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Colloquy]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.bsodmike.com/?p=37</guid>
		<description><![CDATA[By far, one of the best IRC clients I&#8217;ve used on the iPhone platform.  It also just so happens that I switched from irssi over to Colloquy for IRC in OS X.
Today I stumbled upon a really awesome side product of running Colloquy on my Mac, especially since it is connected to the same [...]]]></description>
			<content:encoded><![CDATA[<p>By far, one of the best IRC clients I&#8217;ve used on the iPhone platform.  It also just so happens that I switched from irssi over to Colloquy for IRC in OS X.</p>
<p>Today I stumbled upon a really awesome side product of running Colloquy on my Mac, especially since it is connected to the same network through which WiFi is supplied to the rest of the house.</p>
<p><img src="http://colloquy.mobi/colloquy-bouncer.png"></p>
<p>*drum roll please&#8230;*&#8230;. inbuilt BNC, or what most people know as &#8216;IRC Proxies&#8217;.  Simply connect to your Mac&#8217;s IP address (best to keep a static IP on your server anyway, and I&#8217;ve done this for my Mac Pro), enter the BNC username and password and you can instantly access all the networks and channels your Mac is connected to, seamlessly, in real time.</p>
<p>Responding via the iPhone gives you the same nick as that on your Mac, and as far are people in the channels are concerned &#8211; you are one and the same entity.  That is essentially the purpose of BNC.</p>
<p><img src="http://colloquy.mobi/screenshots/StandardNickCompletion.png"></p>
<p>One could also setup a DynDNS (if you have a dynamic IP assigned by your ISP) to allow you to connect over 3G and still access your BNC when on the move.  Right now, I&#8217;m going to use this to track IRC while I&#8217;m in different parts of the house.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bsodmike.com/2009/10/31/mobile-colloquy-best-iphone-irc-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
