<?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; Operating System</title>
	<atom:link href="http://dragffy.com/blog/posts/category/operating-system/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, 27 Jan 2010 14:23:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Effectively repair MySQL Tables</title>
		<link>http://dragffy.com/blog/posts/effectively-repair-mysql-tables</link>
		<comments>http://dragffy.com/blog/posts/effectively-repair-mysql-tables#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:23:44 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=148</guid>
		<description><![CDATA[$ cd /var/lib/mysql
find -type f -name '*.MYI' -exec myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M {} \;
]]></description>
			<content:encoded><![CDATA[<p><code>$ cd /var/lib/mysql</code></p>
<p><code>find -type f -name '*.MYI' -exec myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M {} \;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/effectively-repair-mysql-tables/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 click [...]]]></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>Using APG to generate secure, pronuncable passwords.</title>
		<link>http://dragffy.com/blog/posts/using-apg-to-generate-secure-pronuncable-passwords</link>
		<comments>http://dragffy.com/blog/posts/using-apg-to-generate-secure-pronuncable-passwords#comments</comments>
		<pubDate>Fri, 12 Jun 2009 15:28:20 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=130</guid>
		<description><![CDATA[The following command will generate several passwords with the following properties:

Length of 10 characters
Contain a mixture of upper and lowercase characters
Contain at least 1 number
Completely random most likely not in the dictionary (expect by random luck)
Pronounceable

This makes these passwords easier to remember but very difficult to brute force. They are ideal as passwords for logging [...]]]></description>
			<content:encoded><![CDATA[<p>The following command will generate several passwords with the following properties:</p>
<ul>
<li>Length of 10 characters</li>
<li>Contain a mixture of upper and lowercase characters</li>
<li>Contain at least 1 number</li>
<li>Completely random most likely not in the dictionary (expect by random luck)</li>
<li>Pronounceable</li>
</ul>
<p>This makes these passwords easier to remember but very difficult to brute force. They are ideal as passwords for logging in to machines, servers, routers, etc.</p>
<p><code><br />
$ apg -m 10 -x 10 -a 0 -M NCL -t<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/using-apg-to-generate-secure-pronuncable-passwords/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SSHFS with Bazaar (Bzr) or Git</title>
		<link>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git</link>
		<comments>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git#comments</comments>
		<pubDate>Thu, 04 Jun 2009 11:00:36 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Bazaar]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=128</guid>
		<description><![CDATA[I use SSHFS to mount remote drives locally. The remote computers don&#8217;t have Bzr installed, and it&#8217;s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and [...]]]></description>
			<content:encoded><![CDATA[<p>I use SSHFS to mount remote drives locally. The remote computers don&#8217;t have Bzr installed, and it&#8217;s difficult to get them up to date enough to install the latest Bzr. Therefore, I execute Bzr on my local computer on the mounted filesystem. Using default mount options for SSHFS leads to errors in both Git and Bzr, this is because (I believe) SSHFS doesn&#8217;t directly support file renaming. It is possible to avoid these problems by using the <code>-oworkaround=rename</code> switch with the mount command.</p>
<p>As an example my mount command looks similar to this:<br />
<code>sshfs -oworkaround=rename user@computer1:/var/www /media/computer1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/using-sshfs-with-bazaar-bzr-or-git/feed</wfw:commentRss>
		<slash:comments>0</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[OS X]]></category>
		<category><![CDATA[Operating System]]></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:

&#60;virtualhost *:80&#62;
   [...]]]></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>Get PHP MySQL  working on Leopard OS X</title>
		<link>http://dragffy.com/blog/posts/get-php-mysql-working-on-leopard-os-x</link>
		<comments>http://dragffy.com/blog/posts/get-php-mysql-working-on-leopard-os-x#comments</comments>
		<pubDate>Sun, 31 May 2009 12:45:06 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=122</guid>
		<description><![CDATA[Installing MySQL on OS X has become infinately easier since you can now download an Apple DMG from the MySQL website which takes care of the fine detail.
However, one thing that changed with Leopard is the socket for Mysql. It moved to /private/tmp, so you may need to configure your php.ini file to point it [...]]]></description>
			<content:encoded><![CDATA[<p>Installing MySQL on OS X has become infinately easier since you can now download an Apple DMG from the MySQL website which takes care of the fine detail.</p>
<p>However, one thing that changed with Leopard is the socket for Mysql. It moved to <code>/private/tmp</code>, so you may need to configure your <code>php.ini</code> file to point it to the new location.</p>
<p>To do so, open the file <code>/private/etc/php.ini</code>, (if no such file exists, then make a copy of <code>/private/etc/php.ini.default</code> and  rename it to <code>php.ini</code>) and edit that.</p>
<p>You have two lines to modify:</p>
<p><code>mysql.default_socket =</code></p>
<p>becomes:</p>
<p><code>mysql.default_socket = /private/tmp/mysql.sock</code></p>
<p>and <code>mysqli.default_socket =</code></p>
<p>becomes:</p>
<p><code>mysqli.default_socket = /private/tmp/mysql.sock</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/get-php-mysql-working-on-leopard-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add items to environment path on OS X Leopard</title>
		<link>http://dragffy.com/blog/posts/add-items-to-environment-path-on-os-x-leopard</link>
		<comments>http://dragffy.com/blog/posts/add-items-to-environment-path-on-os-x-leopard#comments</comments>
		<pubDate>Sun, 31 May 2009 12:39:07 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/?p=119</guid>
		<description><![CDATA[Go to terminal and type:
vim ~/.profile
Assuming you want to add the path /usr/local/bin make .profile look like this:
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
Separating each item with a colon.
]]></description>
			<content:encoded><![CDATA[<p>Go to terminal and type:<br />
<code>vim ~/.profile</code></p>
<p>Assuming you want to add the path <code>/usr/local/bin</code> make <code>.profile</code> look like this:<br />
<code>PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin</code></p>
<p>Separating each item with a colon.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/add-items-to-environment-path-on-os-x-leopard/feed</wfw:commentRss>
		<slash:comments>0</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>
	</channel>
</rss>
