<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>sharealike.org &#187; GNU/Linux</title>
	<atom:link href="http://sharealike.org/index.php/category/gnulinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharealike.org</link>
	<description>Law, Technology, Science, Music, Politics, and GNU/Linux</description>
	<lastBuildDate>Wed, 23 Jun 2010 23:50:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
		<item>
		<title>Remote backups with rsnapshot</title>
		<link>http://sharealike.org/index.php/2010/04/27/remote-backups-with-rsnapshot/</link>
		<comments>http://sharealike.org/index.php/2010/04/27/remote-backups-with-rsnapshot/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:18:04 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=512</guid>
		<description><![CDATA[I&#8217;ve previously used rdiff-backup to do remote backups of my Debian servers, but for whatever reason they tend to fail and I don&#8217;t learn about the problem soon enough and I needed a new solution. Enter: rsnapshot.
Install rsnapshot on both the remote machine and the backup server:
apt-get install rsnapshot

Save yourself a copy of the default [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve previously used <a href="http://rdiff-backup.nongnu.org/">rdiff-backup</a> to do remote backups of my Debian servers, but for whatever reason they tend to fail and I don&#8217;t learn about the problem soon enough and I needed a new solution. Enter: <a href="http://rsnapshot.org/">rsnapshot</a>.</p>
<p>Install rsnapshot on both the remote machine and the backup server:</p>
<blockquote><p><code>apt-get install rsnapshot</code>
</p></blockquote>
<p>Save yourself a copy of the default config file if you ever need it:</p>
<blockquote><pre>cp /etc/rsnapshot.conf /etc/rsnapshot.conf.default</pre>
</blockquote>
<p>On the backup server I create an rsnapshot user:</p>
<blockquote><p><code>groupadd -g 3500 rsnapshot<br />
useradd -u 3500 -s /bin/false -d /home/rsnapshot -m -c "rsnapshot" -g rsnapshot rsnapshot</code>
</p></blockquote>
<p>Then prepare the backup server to be able to automatically access the production server using ssh keys:</p>
<blockquote><p><code>cd /home/rsnapshot<br />
su -m rsnapshot</code>
</p></blockquote>
<p>With the previous command you become the user rsnapshot on the shell. You could confirm this with:</p>
<blockquote><p><code>whoami</code>
</p></blockquote>
<p>The next few commands must be run as user rsnapshot!</p>
<p>Create the keys:</p>
<blockquote><p><code>ssh-keygen -t rsa</code>
</p></blockquote>
<p>Hit enter on all prompts. It is important that you do not enter a passphrase otherwise the backup will not work without human interaction, so again hit enter. In the end two files are created: /home/rsnapshot/.ssh/id_rsa and /home/rsnapshot/.ssh/id_rsa.pub.</p>
<p>I&#8217;m not completely sure this next step is necessary, but I&#8217;m partially working from <a href="http://www.howtoforge.com/linux_rdiff_backup">this guide</a>, so next I create a file /home/rsnapshot/.ssh/config with the following contents:</p>
<blockquote><p>host yourdomainname_backup<br />
hostname yourdomainname.example.com<br />
user root<br />
identityfile /backup/.ssh/id_rsa<br />
compression yes<br />
cipher blowfish<br />
protocol 2</p></blockquote>
<p>This next step may be unnecessary, but to be safe:</p>
<blockquote><p><code>chmod -R go-rwx /home/rsnapshot/.ssh</code></p></blockquote>
<p>Now copy over the public key you just created to your production server:</p>
<blockquote><pre>ssh-copy-id -i ~/.ssh/id_rsa.pub root@yourdomainname.example.com</pre>
</blockquote>
<p>If your production server to be backed up happens to run Ubuntu, as one of mine did, then you should login to the production server and then do away with it&#8217;s silly refusal to have a password for root with:</p>
<blockquote><p><code>sudo passwd root</code></p></blockquote>
<p>and then you&#8217;ll have no trouble with the prior step which copies the public key of the user rsnapshot to the file /root/.ssh/authorized_keys on the production server yourdomainname.example.com.</p>
<p>You can confirm that this worked with:</p>
<blockquote><p><code>ssh root@yourdomainname.example.com</code></p></blockquote>
<p>That should have logged you in as root on your production server without requiring you to enter a password. Now, on the one hand, this is exactly what we were trying to do, but on the other hand, we don&#8217;t want to leave it like this or anyone who gets access to the rsnapshot user on your backup server could be root on your production server. Not good. So next we fix that by taking a look at /root/.ssh/authorized_keys. It should look similar to this:</p>
<blockquote><pre>ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA[...]/zkctw== rsnapshot@backupservername</pre>
</blockquote>
<p>Now prepend <code>from="1.2.3.4",command="/root/validate-rsync"</code> just before &#8220;ssh-rsa&#8221; separated only by a single space, all on a single line like so:</p>
<blockquote><pre>from="1.2.3.4",command="/root/validate-rsync" ssh-rsa AAAAB[...]/zkctw== rsnapshot@backupservername</pre>
</blockquote>
<p>where &#8220;1.2.3.4&#8243; is your backup server&#8217;s numeric IP address. This change means that user rsnapshot can only login from your backup server&#8217;s IP address and can only run a single command, &#8220;validate-rsnyc&#8221;. We must now create the file /root/validate-rsync with the following content:</p>
<blockquote><p><code>#!/bin/sh</p>
<p>case "$SSH_ORIGINAL_COMMAND" in<br />
*\&#038;*)<br />
echo "Rejected"<br />
;;<br />
*\(*)<br />
echo "Rejected"<br />
;;<br />
*\{*)<br />
echo "Rejected"<br />
;;<br />
*\;*)<br />
echo "Rejected"<br />
;;<br />
*\<*)<br />
echo "Rejected"<br />
;;<br />
*\`*)<br />
echo "Rejected"<br />
;;<br />
*\|*)<br />
echo "Rejected"<br />
;;<br />
rsync\ --server*)<br />
$SSH_ORIGINAL_COMMAND<br />
;;<br />
*)<br />
echo "Rejected"<br />
;;<br />
esac </code>
</p></blockquote>
<p>Special thanks to <a href="http://troy.jdmz.net/rsync/#validate-rsync">Troy Johnson</a> for this script. Now make the script executable:</p>
<blockquote><p><code>chmod u+x validate-rsync</code></p></blockquote>
<p>You should now be setup on the production server and can logout and go back to your rsnapshot user on the backup server. Become root on the backup server so you can edit the rsnapshot configuration file, /etc/rsnapshot.conf which you can learn more about at this <a href="http://rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html">rsnapshot HOWTO</a>. The main thing to know about this config file is that everything that looks like a space probably should be a TAB instead. </p>
<blockquote>
<pre>#I suggest the following changes:
snapshot_root /home/rsnapshot/.snapshots/
lockfile      /home/rsnapshot/rsnapshot.pid # user rsnapshot can't write to /var
ssh_args      -o BatchMode=yes

#Uncomment the following:
cmd_cp        /bin/cp
cmd_ssh       /usr/bin/ssh
cmd_du        /usr/bin/du
interval      monthly 3

#Choose some directories to exclude:
exclude       /home/user/JunkThatIDontWant

#And choose some directories to backup:
backup        root@yourdomainname.example.com:/home/user/ yourdomainname.example.com/
backup        root@yourdomainname.example.com:/etc yourdomainname.example.com/
backup        root@yourdomainname.example.com:/var yourdomainname.example.com/
backup        root@yourdomainname.example.com:/usr/local yourdomainname.example.com/</pre>
</blockquote>
<p>Now you probably put some spaces where there were supposed to be tabs, so check your config file's syntax with this test:</p>
<blockquote><p><code>rsnapshot configtest</code></p></blockquote>
<p>Once it comes back with "Syntax OK" you are ready to try your first hourly snapshot. Become the rsnapshot user and give it a try with:</p>
<blockquote><p><code>cd /home/rsnapshot<br />
su -m rsnapshot<br />
rsnapshot -V hourly</code></p></blockquote>
<p>This will give verbose output so you can see that something is really happening. Once you get an hourly snapshot or two to complete successfully, you should automate this with cron. As the rsnapshot user, type:</p>
<blockquote><p><code>crontab -e</code></p></blockquote>
<p>and choose your schedule, something like:</p>
<blockquote><pre>0 */4 * * * /usr/local/bin/rsnapshot hourly
50 2 * * * /usr/bin/rsnapshot daily
40 2 * * 6 /usr/bin/rsnapshot weekly
30 2 1 * * /usr/bin/rsnapshot monthly</pre>
</blockquote>
<p>which would do 6 hourly backups a day (once every 4 hours, at 0,4,8,12,16,20)<br />
1 daily backup every day, at 2:50AM<br />
1 weekly backup every week, at 2:40AM, on Saturdays (6th day of week)<br />
1 monthly backup every month, at 2:30AM on the 1st day of the month.</p>
<p>And there you have it! You have automated remote backups of your production server using rsnapshot.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2010/04/27/remote-backups-with-rsnapshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Installing a Rich Text Editor in Drupal</title>
		<link>http://sharealike.org/index.php/2009/11/23/installing-a-rich-text-editor-in-drupal/</link>
		<comments>http://sharealike.org/index.php/2009/11/23/installing-a-rich-text-editor-in-drupal/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 22:28:57 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=491</guid>
		<description><![CDATA[This was harder than it should have been as the instructions could be clearer that two separate downloads are required. I&#8217;ve summarized here:
I assume you have ssh or command line access to your host. If not, you could accomplish the same thing using ftp, but you&#8217;ll have to pay attention to what directory you upload [...]]]></description>
			<content:encoded><![CDATA[<p>This was harder than it should have been as the instructions could be clearer that two separate downloads are required. I&#8217;ve summarized here:</p>
<p>I assume you have ssh or command line access to your host. If not, you could accomplish the same thing using ftp, but you&#8217;ll have to pay attention to what directory you upload into:</p>
<p>1. Install Drupal 6.x<br />
2. Download the Drupal WYSIWYG part of FCKeditor from <a href="http://drupal.org/project/fckeditor">http://drupal.org/project/fckeditor</a><br />
3. Extract that in sites/all/modules (you may have to create the modules dir) with tar -zvxf fckeditor-6.x-1.4.tar.gz<br />
4. cd to sites/all/modules/fckeditor<br />
5. Download the FCKeditor part of FCKeditor: <a href="http://ckeditor.com/download">http://ckeditor.com/download</a><br />
6. Extract that in sites/all/modules/fckeditor/fckeditor [Yes, seriously.] with tar -zvxf FCKeditor_2.6.5.tar.gz<br />
7. Go enable the FCKeditor module in the drupal admin section, it&#8217;ll be down below all the core modules in its own section.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2009/11/23/installing-a-rich-text-editor-in-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Rebuilding Software RAID Array on Debian</title>
		<link>http://sharealike.org/index.php/2009/10/19/rebuilding-software-raid-array-on-debian/</link>
		<comments>http://sharealike.org/index.php/2009/10/19/rebuilding-software-raid-array-on-debian/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:26:00 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=485</guid>
		<description><![CDATA[I don&#8217;t know why I always forget this command, or why it is so hard to discern from the man page / &#8211;help information. I just had my drives in an existing RAID array get out of sync and needed to rebuild the one that was down. This did the trick:
mdadm /dev/md0 -a /dev/sdb1
This is [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why I always forget this command, or why it is so hard to discern from the man page / &#8211;help information. I just had my drives in an existing RAID array get out of sync and needed to rebuild the one that was down. This did the trick:</p>
<blockquote><p><code>mdadm /dev/md0 -a /dev/sdb1</code></p></blockquote>
<p>This is on a software RAID array called /dev/md0 made up of /dev/sda1 and /dev/sdb1.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2009/10/19/rebuilding-software-raid-array-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Convert .mp4 from Flip Video to Ogg Theora .ogv</title>
		<link>http://sharealike.org/index.php/2009/05/17/convert-mp4-from-flip-video-to-ogg-theora-ogv/</link>
		<comments>http://sharealike.org/index.php/2009/05/17/convert-mp4-from-flip-video-to-ogg-theora-ogv/#comments</comments>
		<pubDate>Sun, 17 May 2009 13:40:44 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=465</guid>
		<description><![CDATA[The Flip Video UltraHD camcorder records files in a .mp4 format.  I wanted to convert them to Ogg Theora format.  How do you do that?  I did far too much searching for an answer to this question for the answer to be this easy:
apt-get install ffmpeg2theora
and then:
ffmpeg2theora vid00001.mp4
That outputs a file called [...]]]></description>
			<content:encoded><![CDATA[<p>The Flip Video UltraHD camcorder records files in a .mp4 format.  I wanted to convert them to Ogg Theora format.  How do you do that?  I did far too much searching for an answer to this question for the answer to be this easy:</p>
<p><code>apt-get install ffmpeg2theora</code></p>
<p>and then:</p>
<p><code>ffmpeg2theora vid00001.mp4</code></p>
<p>That outputs a file called vid00001.ogv and you&#8217;re done.  Find further information about the fabulous <a href="http://v2v.cc/~j/ffmpeg2theora/">ffmpeg2theora</a> at its website.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2009/05/17/convert-mp4-from-flip-video-to-ogg-theora-ogv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>New whitehouse.gov video requires proprietary Adobe Flash player</title>
		<link>http://sharealike.org/index.php/2009/03/04/new-whitehousegov-video-requires-proprietary-adobe-flash-player/</link>
		<comments>http://sharealike.org/index.php/2009/03/04/new-whitehousegov-video-requires-proprietary-adobe-flash-player/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 22:07:55 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Law]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=451</guid>
		<description><![CDATA[Privacy activists rightly complained about whitehouse.gov&#8217;s use of YouTube videos for President Obama&#8217;s weekly addresses, as it allowed a private third-party company to use cookies to track visitors to a government web site.  The whitehouse.gov site appears to have responded to these complaints but in so doing has adopted a flash format that is [...]]]></description>
			<content:encoded><![CDATA[<p>Privacy activists rightly complained about whitehouse.gov&#8217;s use of YouTube videos for President Obama&#8217;s weekly addresses, as it allowed a private third-party company to use cookies to track visitors to a government web site.  The whitehouse.gov site <a href="http://www.eff.org/deeplinks/2009/03/white-house-responds-privacy-complaints">appears to have responded to these complaints</a> but in so doing has adopted a flash format that is not playable using free software.  See below for how it renders on a Debian Lenny GNU/Linux system using Iceweasel and gnash: <a href='http://sharealike.org/wp-content/uploads/sharealike/2009/03/whitehouse_video_fail.png'><img src="http://sharealike.org/wp-content/uploads/sharealike/2009/03/whitehouse_video_fail.png" alt="Whitehouse.gov Video Fail" title="whitehouse_video_fail" width="500" height="501" class="alignnone size-full wp-image-450" /></a>  The whitehouse.gov site should take one more step towards openness and privacy-preservation by using an open audio-video format such as Ogg-<a href="http://theora.org/">Theora</a> for all its weekly addresses.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2009/03/04/new-whitehousegov-video-requires-proprietary-adobe-flash-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Boot from either disk of a RAID1 Mirror</title>
		<link>http://sharealike.org/index.php/2009/01/14/boot-from-either-disk-of-a-raid1-mirror/</link>
		<comments>http://sharealike.org/index.php/2009/01/14/boot-from-either-disk-of-a-raid1-mirror/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 05:08:35 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=444</guid>
		<description><![CDATA[I always forget this series of commands and have trouble locating them.  After setting up a RAID1 mirror set, I want to be sure I can boot off of either drive in case of a drive failure.  Assume two SATA drives, /dev/sda and /dev/sdb.  The first will be set up during the [...]]]></description>
			<content:encoded><![CDATA[<p>I always forget this series of commands and have trouble locating them.  After setting up a RAID1 mirror set, I want to be sure I can boot off of either drive in case of a drive failure.  Assume two SATA drives, /dev/sda and /dev/sdb.  The first will be set up during the OS install.  To be sure the second drive also has the right info in its MBR, do this as root:</p>
<p><code>grub<br />
grub>device (hd0) /dev/sdb<br />
grub>root (hd0,0)<br />
grub>setup (hd0)<br />
grub>quit</code></p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2009/01/14/boot-from-either-disk-of-a-raid1-mirror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Script to Convert Windows-1252 files to UTF-8</title>
		<link>http://sharealike.org/index.php/2008/12/12/script-to-convert-windows-1252-files-to-utf-8/</link>
		<comments>http://sharealike.org/index.php/2008/12/12/script-to-convert-windows-1252-files-to-utf-8/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 21:18:24 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/index.php/2008/12/12/script-to-convert-windows-1252-files-to-utf-8/</guid>
		<description><![CDATA[I had several hundred (over 1000) HTML files in a directory.  They were unfortunately encoded in Windows-1252 and I wanted them all converted to UTF-8, but I was not willing to open the files one by one or feed their names to a script (there&#8217;s too many) so I needed a script that would [...]]]></description>
			<content:encoded><![CDATA[<p>I had several hundred (over 1000) HTML files in a directory.  They were unfortunately encoded in <a href="http://en.wikipedia.org/wiki/Windows-1252">Windows-1252</a> and I wanted them all converted to <a href="http://en.wikipedia.org/wiki/UTF-8">UTF-8</a>, but I was not willing to open the files one by one or feed their names to a script (there&#8217;s too many) so I needed a script that would operate on the whole directory and spit out the converted files in one fell swoop.</p>
<p>If you&#8217;re not familiar with encodings the visual problem one sees is that Firefox displays little black diamonds with question marks inside them for characters it doesn&#8217;t understand (I think they&#8217;re mostly tabs, spaces, and em-dashes in this case.)</p>
<p>With help from <a href="http://josephhall.org/nqb2/">friends</a> and the internet I learned about the GNU/Linux command-line tool <a href="http://www.manpagez.com/man/1/iconv/">iconv</a> which handled this perfectly.  Here&#8217;s the bash script I used that made it work on the entire directory at once:</p>
<blockquote><p>#/bin/bash<br />
LIST=`ls *.html`<br />
for i in $LIST;<br />
do iconv -f WINDOWS-1252 -t UTF8 $i -o $i.&#8221;utf8&#8243;;<br />
mv $i.&#8221;utf8&#8243; $i;<br />
done</p></blockquote>
<p>It seems that iconv requires a new name for the output file, so the above script temporarily names them *.utf and then moves them back over the original .html files. Hopefully this helps someone else.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2008/12/12/script-to-convert-windows-1252-files-to-utf-8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Debian on the Openmoko Neo FreeRunner</title>
		<link>http://sharealike.org/index.php/2008/08/15/debian-on-the-openmoko-neo-freerunner/</link>
		<comments>http://sharealike.org/index.php/2008/08/15/debian-on-the-openmoko-neo-freerunner/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 19:42:17 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/index.php/2008/08/15/debian-on-the-openmoko-neo-freerunner/</guid>
		<description><![CDATA[It was inevitable.  One can now run the entire Debian distribution (ARM port) on the Openmoko Neo Freerunner.  Slashdot previously covered the July 4th launch of this GNU/Linux-based smartphone, which is open down to its core, with the company providing CAD files and schematics for the phone.  Openmoko released an update to [...]]]></description>
			<content:encoded><![CDATA[<p>It was inevitable.  One can now <a href="http://lists.openmoko.org/pipermail/community/2008-August/026695.html">run the entire Debian distribution</a> (<a href="http://www.debian.org/ports/arm/">ARM port</a>) on the Openmoko <a href="http://openmoko.com/product.html">Neo Freerunner</a>.  Slashdot previously covered the <a href="http://mobile.slashdot.org/article.pl?sid=08/07/04/0411233&#038;from=rss">July 4th launch</a> of this GNU/Linux-based smartphone, which is open down to its core, with the company providing <a href="http://openmoko.com/download-cad.html">CAD files</a> and <a href="http://openmoko.com/download-schematics.html">schematics</a> for the phone.  Openmoko released an update to their software stack earlier this month, called <a href="http://openmoko.com/download.html">Om2008.8</a>, which is still a work in progress.  But now one can use these <a href="http://wiki.debian.org/DebianOnFreeRunner">instructions on the Debian wiki</a> to open up the possibility of using apt-get to access Debian&#8217;s more than 20,000 applications&#8211;on your phone, which due to integration with <a href="http://www.freesmartphone.org/index.php/Main_Page">freesmartphone.org</a> efforts, can also actually be used as a phone.  There were <a href="http://wiki.openmoko.org/wiki/Manual_Debian">previously efforts</a> to run Debian on the predecessor product to the Neo FreeRunner, the Neo 1973, but with the wider adoption of the Neo FreeRunner and the hard work of many Debian developers at the ongoing <a href="http://debconf8.debconf.org/">DebConf8</a>, carrying Debian in your pocket has just gotten a lot easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2008/08/15/debian-on-the-openmoko-neo-freerunner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>History of SCO (funny)</title>
		<link>http://sharealike.org/index.php/2007/05/25/history-of-sco-funny/</link>
		<comments>http://sharealike.org/index.php/2007/05/25/history-of-sco-funny/#comments</comments>
		<pubDate>Sat, 26 May 2007 00:52:33 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/index.php/2007/05/25/history-of-sco-funny/</guid>
		<description><![CDATA[I wrote an article that, in part, explained the SCO v. IBM lawsuit up to that point in time.  That wouldn&#8217;t have been necessary had this history of SCO been around.  Too funny.
]]></description>
			<content:encoded><![CDATA[<p>I wrote an <a href="http://sharealike.org/20_Berkeley_Tech_L_J_443.pdf">article</a> that, in part, explained the <em>SCO v. IBM</em> lawsuit up to that point in time.  That wouldn&#8217;t have been necessary had this <a href="http://bash.org/?106579">history of SCO</a> been around.  Too funny.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2007/05/25/history-of-sco-funny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
		<item>
		<title>Multiple WordPress blogs on a Debian server</title>
		<link>http://sharealike.org/index.php/2007/04/07/multiple-wordpress-blogs-on-a-debian-server/</link>
		<comments>http://sharealike.org/index.php/2007/04/07/multiple-wordpress-blogs-on-a-debian-server/#comments</comments>
		<pubDate>Sat, 07 Apr 2007 21:19:36 +0000</pubDate>
		<dc:creator>brianwc</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sharealike.org/?p=3</guid>
		<description><![CDATA[This HOWTO assumes:
1. You have a server running at least Debian Etch (or are otherwise able to install the wordpress .deb).
2. Your server has Apache 2, MySQL, and PHP installed.
3. You want to use a single WordPress installation to host multiple blogs across several domains.
Ok, let&#8217;s get started.
Step 1: # sudo apt-get install wordpress
Handle a [...]]]></description>
			<content:encoded><![CDATA[<p>This HOWTO assumes:</p>
<p>1. You have a server running at least Debian Etch (or are otherwise able to install the wordpress .deb).</p>
<p>2. Your server has Apache 2, MySQL, and PHP installed.</p>
<p>3. You want to use a single WordPress installation to host multiple blogs across several domains.</p>
<p>Ok, let&#8217;s get started.</p>
<p><strong>Step 1</strong>: # sudo apt-get install wordpress</p>
<p>Handle a few pesky permissions problems with: </p>
<p># sudo chown :www-data /etc/wordpress/*<br />
# sudo mkdir /usr/share/wordpress/wp-content/uploads<br />
# sudo chown www-data:www-data /usr/share/wordpress/wp-content/uploads<br />
# sudo chown -R www-data:www-data /usr/share/wordpress/wp-content/themes</p>
<p><strong>Step 2</strong>: Set up Apache 2 so that exampledomain.org points to /usr/share/wordpress &mdash;Here&#8217;s one way, and it also assumes you want www.exampledomain.org to redirect to exampledomain.org.  You could modify this to have it redirect to blog.exampledomain.org if you want it to go there instead.</p>
<blockquote><p><code><br />
/etc/apache2/sites-available/exampledomain.org</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName www.exampledomain.org<br />
DocumentRoot /var/www/www.exampledomain.org/<br />
&lt;Directory /var/www/www.exampledomain.org/&gt;<br />
AllowOverride All<br />
Order Deny,Allow<br />
Allow from all<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName exampledomain.org<br />
DocumentRoot /var/www/exampledomain.org/<br />
&lt;Directory /var/www/exampledomain.org/&gt;<br />
AllowOverride All<br />
Order Deny,Allow<br />
Allow from all<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p># sudo a2ensite exampledomain.org<br />
# sudo /etc/init.d/apache2 reload</p>
<p># sudo ln -s /usr/share/wordpress /var/www/exampledomain.org</p>
<p>/var/www/www.exampledomain.org/.htaccess<br />
Redirect / http://exampledomain.org</p>
<p>[Go online and confirm the redirect is working&mdash;don't worry that you get a WordPress error.  It's not supposed to work yet.]</p>
<p># cd /usr/share/doc/wordpress/examples<br />
# sudo sh setup-mysql -n exampleuser exampledomain.com</p>
<p>Note that the username "exampleuser" must be no more than 16 characters (mysql limitation).</p>
<p></code></p></blockquote>
<p><strong>Step 3</strong>: Do the normal web-based WordPress install (I suggest going to Options|Miscellaneous and giving each blog a unique subdirectory for its uploads otherwise they&#8217;ll all be mixed together) and then repeat step 2 for each additional domain.</p>
<p>You&#8217;re done!  A single Debian WordPress installation is now hosting multiple blogs!</p>
]]></content:encoded>
			<wfw:commentRss>http://sharealike.org/index.php/2007/04/07/multiple-wordpress-blogs-on-a-debian-server/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/us/</creativeCommons:license>
	</item>
	</channel>
</rss>
