<?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>dragffy.com &#187; Ubuntu</title>
	<atom:link href="http://dragffy.com/blog/posts/category/operating-system/linux/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>SSH KeepAlive</title>
		<link>http://dragffy.com/blog/posts/ssh-keepalive</link>
		<comments>http://dragffy.com/blog/posts/ssh-keepalive#comments</comments>
		<pubDate>Wed, 09 Feb 2011 15:34:34 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=161</guid>
		<description><![CDATA[add the following to sshd_config KeepAlive yes ClientAliveInterval 60]]></description>
			<content:encoded><![CDATA[<p>add the following to sshd_config</p>
<p><code>KeepAlive yes<br />
ClientAliveInterval 60</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/ssh-keepalive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy way to install LAMP (DNS, samba, etc) under Maverick Meerkat Ubuntu 10.10</title>
		<link>http://dragffy.com/blog/posts/easy-way-to-install-lamp-dns-samba-etc-under-maverick-meerkat-ubuntu-10-10</link>
		<comments>http://dragffy.com/blog/posts/easy-way-to-install-lamp-dns-samba-etc-under-maverick-meerkat-ubuntu-10-10#comments</comments>
		<pubDate>Wed, 24 Nov 2010 14:21:14 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=155</guid>
		<description><![CDATA[Either: $ sudo tasksel or: $ sudo tasksel install lamp-server or: $ sudo apt-get install php5 mysql-server apache2]]></description>
			<content:encoded><![CDATA[<p>Either:<br />
<code>$ sudo tasksel</code></p>
<p>or:<br />
<code>$ sudo tasksel install lamp-server</code></p>
<p>or:<br />
<code>$ sudo apt-get install php5 mysql-server apache2</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/easy-way-to-install-lamp-dns-samba-etc-under-maverick-meerkat-ubuntu-10-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu perl: warning: Setting locale failed</title>
		<link>http://dragffy.com/blog/posts/ubuntu-perl-warning-setting-locale-failed</link>
		<comments>http://dragffy.com/blog/posts/ubuntu-perl-warning-setting-locale-failed#comments</comments>
		<pubDate>Wed, 24 Nov 2010 11:58:25 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=153</guid>
		<description><![CDATA[Run as root, or prefix with &#8220;sudo&#8221;: # locale-gen en_GB.UTF-8 # dpkg-reconfigure locales]]></description>
			<content:encoded><![CDATA[<p>Run as root, or prefix with &#8220;sudo&#8221;:<br />
<code># locale-gen en_GB.UTF-8<br />
# dpkg-reconfigure locales</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/ubuntu-perl-warning-setting-locale-failed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access denied for user &#8216;debian-sys-maint&#8217;@&#039;localhost&#8217; (using password: YES)</title>
		<link>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes</link>
		<comments>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:26:59 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=146</guid>
		<description><![CDATA[Find your debian-sys-maint password in /etc/mysql/debian.cnf. GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY ' ' WITH GRANT OPTION; Replace with your debian-sys-maint password.]]></description>
			<content:encoded><![CDATA[<p>Find your debian-sys-maint password in <code>/etc/mysql/debian.cnf.</p>
<p></code><code>GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '
<password>' WITH GRANT OPTION;</password></code></p>
<p>Replace <code>
<password></password></code> with your debian-sys-maint password.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/access-denied-for-user-debian-sys-maintlocalhost-using-password-yes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clicking on a GVFS link opens in Firefox</title>
		<link>http://dragffy.com/blog/posts/clicking-on-a-gvfs-link-opens-in-firefox</link>
		<comments>http://dragffy.com/blog/posts/clicking-on-a-gvfs-link-opens-in-firefox#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:52:30 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=140</guid>
		<description><![CDATA[For some reason servers that I connected to using FTP with gnome-vfs would open in Firefox. Odd really. I fiddled about and eventually developed a filesystem level fix. Just go to the folder: ~/.gconf/desktop/gnome/url-handlers And delete the ftp folder!]]></description>
			<content:encoded><![CDATA[<p>For some reason servers that I connected to using FTP  with gnome-vfs would open in Firefox. Odd really.</p>
<p>I fiddled about and eventually developed a filesystem level fix. Just go to  the folder:<br />
<code>~/.gconf/desktop/gnome/url-handlers</code><br />
And delete the <code>ftp</code> folder!</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/clicking-on-a-gvfs-link-opens-in-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox 3 Transparent Background on Ubuntu Jaunty</title>
		<link>http://dragffy.com/blog/posts/virtualbox-3-transparent-background-on-ubuntu-jaunty</link>
		<comments>http://dragffy.com/blog/posts/virtualbox-3-transparent-background-on-ubuntu-jaunty#comments</comments>
		<pubDate>Tue, 30 Jun 2009 15:53:28 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=132</guid>
		<description><![CDATA[I upgraded to VirtualBox 3 and then my windows guest went wrong. First of all, you have make sure the latest version of compiz installed. Go to CompizConfigs Settings Manager and look for &#8220;Windows Rules&#8221; under Windows Management category. Enable &#8220;Windows Rules&#8221; and go to &#8220;No ARGB visuals&#8221; use Window Class, click Grab and then [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded to VirtualBox 3 and then my windows guest went wrong.</p>
<p>First of all, you have make sure the latest version of compiz installed. </p>
<p>Go to CompizConfigs Settings Manager and look for &#8220;Windows Rules&#8221; under Windows Management category. Enable &#8220;Windows Rules&#8221; and go to &#8220;No ARGB visuals&#8221; use Window Class, click Grab and then click in virtualbox window.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/virtualbox-3-transparent-background-on-ubuntu-jaunty/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apache Virtual Hosts on OS X Leopard</title>
		<link>http://dragffy.com/blog/posts/apache-virtual-hosts-on-os-x-leopard</link>
		<comments>http://dragffy.com/blog/posts/apache-virtual-hosts-on-os-x-leopard#comments</comments>
		<pubDate>Sun, 31 May 2009 13:42:49 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=124</guid>
		<description><![CDATA[If you develop multiple sites and you need virtual hosting functionality, scroll down to the end of the /private/etc/apache2/httpd.conf file and uncomment the following: # Include /private/etc/apache2/extra/httpd-vhosts.conf Next, you’ll need to setup whatever virtual hosts you have in the virtual hosts file /private/etc/apache2/extra/httpd-vhosts.conf You need to make an entry in the httpd-vhosts.conf file like so: [...]]]></description>
			<content:encoded><![CDATA[<p>If you develop multiple sites and you need virtual hosting functionality, scroll down to the end of the <code>/private/etc/apache2/httpd.conf</code> file and uncomment the following:</p>
<p><code># Include /private/etc/apache2/extra/httpd-vhosts.conf</code></p>
<p>Next, you’ll need to setup whatever virtual hosts you have in the virtual hosts file <code>/private/etc/apache2/extra/httpd-vhosts.conf</code></p>
<p>You need to make an entry in the httpd-vhosts.conf file like so:</p>
<pre>
&lt;virtualhost *:80&gt;
   ServerName beta-site-1.com
   ServerAlias www.beta-site-1.com
   ServerAdmin webmaster@beta-site-1.com
   ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log"
   CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common

   DocumentRoot "/Library/WebServer/beta-site-1"
   ScriptAlias /cgi-bin/ "/Library/WebServer/beta-site-1/cgi-bin"
   <directory "/Library/WebServer/beta-site-1">
     Options FollowSymLinks MultiViews Includes
     AllowOverride All
     Order allow,deny
     Allow from all
   </directory>
&lt;/virtualhost&gt;
</pre>
<p>The examples provided by Apple  in the vhosts file are slightly incorrect and if you use the CustomLog lines as is you will get errors the following errors if you run: <code>apachectl -t -D DUMP_VHOSTS</code>:<br />
<code>Syntax error on line 40 of /private/etc/apache2/extra/httpd-vhosts.conf:<br />
CustomLog takes two or three arguments, a file name, a custom log format string or format name, and an optional "env=" clause (see docs)</code></p>
<p>This is because<br />
<code>CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log common</code></p>
<p>Should actually read:<br />
<code>CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/apache-virtual-hosts-on-os-x-leopard/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting Java plugin to work in FireFox 3 on Ubuntu 9.04 Jaunty Jackalope</title>
		<link>http://dragffy.com/blog/posts/getting-java-plugin-to-work-in-firefox-3-on-ubuntu-904-jaunty-jackalope</link>
		<comments>http://dragffy.com/blog/posts/getting-java-plugin-to-work-in-firefox-3-on-ubuntu-904-jaunty-jackalope#comments</comments>
		<pubDate>Wed, 27 May 2009 16:25:53 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=114</guid>
		<description><![CDATA[Ensure that you have the package sun-java6-jre installed and then run the following command from a terminal: sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-3.0.10/plugins/ You will need to restart FireFox after this and Java should be working for FireFox now.]]></description>
			<content:encoded><![CDATA[<p>Ensure that you have the package <code>sun-java6-jre</code> installed and then run the following command from a terminal:<br />
<code>sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so  /usr/lib/firefox-3.0.10/plugins/</code></p>
<p>You will need to restart FireFox after this and Java should be working for FireFox now.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/getting-java-plugin-to-work-in-firefox-3-on-ubuntu-904-jaunty-jackalope/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 Jaunty Jackalope Gnome Session Problems</title>
		<link>http://dragffy.com/blog/posts/ubuntu-904-jaunty-jackalope-gnome-session-problems</link>
		<comments>http://dragffy.com/blog/posts/ubuntu-904-jaunty-jackalope-gnome-session-problems#comments</comments>
		<pubDate>Wed, 27 May 2009 15:09:46 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=112</guid>
		<description><![CDATA[A few weeks back I tried out the Gnome sessions. Gnome should automatically restore the programs you were last using when you log back in. However, it did not work well at all and I turned it off. This is when the problem began &#8211; everytime I logged back a whole bunch of the same [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks back I tried out the Gnome sessions. Gnome should automatically restore the programs you were last using when you log back in. However, it did not work well at all and I turned it off. This is when the problem began &#8211; everytime I logged back a whole bunch of the same applications automatically launched causing all sorts of mischief. No matter what I tried I could not get Gnome to turn sessions off again.</p>
<p>In the beginning I clicked on System -> Preferences -> Startup Applications and then selected the Options tab. Here, you may check a box labelled &#8220;Automatically remember running applications when logging out&#8221;. This will activate Gnome sessions. In my case, however, deselecting this did not turn Gnome sessions off.</p>
<p>After much hunting around, with no help from the Internet, I finally found the files that needed deleting to stop Gnome launching various apps at startup. You need to open your home folder in Nautilus and press CTRL+H &#8211; this lets you view hidden files and folders (hidden files/folders begin with a dot &#8220;.&#8221;). Navigate the following path <code>.config/gnome-session/saved-session</code> and delete all the files there. You can move them to the trash can for safety. Having done this, the next time you login you should just get a blank desktop.</p>
<p>I&#8217;ve taken the time to write this in the hope that anyone else suffering from the same bug can solve it more quickly than I. This should be reported as a bug on launchpad.net if it isn&#8217;t already there.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/ubuntu-904-jaunty-jackalope-gnome-session-problems/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Hpricot from Ruby Gems errors out</title>
		<link>http://dragffy.com/blog/posts/installing-hpricot-from-ruby-gems-errors-out</link>
		<comments>http://dragffy.com/blog/posts/installing-hpricot-from-ruby-gems-errors-out#comments</comments>
		<pubDate>Tue, 31 Mar 2009 09:12:24 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=96</guid>
		<description><![CDATA[I was recently trying to get a Ruby script working on Ubuntu. This script required Hpricot and using Ruby Gems to install Hpricot always resulted in an error: gem install hpricot --remote ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /var/lib/gems/1.8 directory. gabriel@windsor-telecom-2874:~/Music$ sudo gem install hpricot --remote Building native [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently trying to get a Ruby script working on Ubuntu. This script required Hpricot and using Ruby Gems to install Hpricot always resulted in an error:</p>
<pre>
 gem install hpricot --remote
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /var/lib/gems/1.8 directory.
gabriel@windsor-telecom-2874:~/Music$ sudo gem install hpricot --remote
Building native extensions.  This could take a while...
ERROR:  Error installing hpricot:
	ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb install hpricot --remote
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
	from extconf.rb:1

Gem files will remain installed in /var/lib/gems/1.8/gems/hpricot-0.7 for inspection.
Results logged to /var/lib/gems/1.8/gems/hpricot-0.7/ext/hpricot_scan/gem_make.out
</pre>
<p>The answer was simple:<br />
<code>sudo aptitude install ruby-dev</code></p>
<p>Just install the Ruby Dev package, this will also allow you to install lots of other gems such as SQLite3, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/installing-hpricot-from-ruby-gems-errors-out/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

