<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tech/Social/Howto</title>
	<atom:link href="http://dagobart.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dagobart.wordpress.com</link>
	<description>Arnold Funken on ... (see tag cloud below)</description>
	<lastBuildDate>Tue, 03 Jan 2012 01:57:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dagobart.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/befb4b1652fd5b8f9d5874f04a1c2e7a?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Tech/Social/Howto</title>
		<link>http://dagobart.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dagobart.wordpress.com/osd.xml" title="Tech/Social/Howto" />
	<atom:link rel='hub' href='http://dagobart.wordpress.com/?pushpress=hub'/>
		<item>
		<title>My ZTE Blade with Android setup</title>
		<link>http://dagobart.wordpress.com/2011/09/07/my-zte-blade-with-android-setup/</link>
		<comments>http://dagobart.wordpress.com/2011/09/07/my-zte-blade-with-android-setup/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 21:55:27 +0000</pubDate>
		<dc:creator>dagobart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[smartphones]]></category>

		<guid isPermaLink="false">https://dagobart.wordpress.com/2011/09/07/my-zte-blade-with-android-setup/</guid>
		<description><![CDATA[I recently got my first smartphone. Previous phone was a Motorola V220 smartphone shot at ebay for like US$10. Before that one I had a simple C-something, also from Motorola, bought just a couple of years a go. Once I never thought I&#8217;d ever want a mobile because of tracking and privacy stuff, but once [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=952&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently got my first smartphone. Previous phone was a Motorola V220 smartphone shot at ebay for like US$10. Before that one I had a simple C-something, also from Motorola, bought just a couple of years a go. Once I never thought I&#8217;d ever want a mobile because of tracking and privacy stuff, but once in with a digicamphone I quickly wanted more. Also, work was on the road, so I wanted a mobile computing device to assist. And what else is a smartphone? A mobile small form computer with mobile connection attached. Or vice versa? Anyways&#8230;</p>
<p>I bought the &#8216;box&#8217; for being a mobile computing tool. Germany&#8217;s &#8220;Base&#8221; mobile provider offers a ZTE Blade for 12 Euros a month, including an internet flatrate and insurance. It&#8217;s an Android device, so being based on Linux which initally drew me there.</p>
<p>Being used to Debian based desktop operating system first thing that knocked me out of my path was that the Android market is open for applications from just everyone, so noone who looks at the software in the first place and hardly a way to do so oneself: Which piece is good and which is malware? &#8212; I resorted to have installed as little as possible, but added FDroid as an alternative market, for Free Software applications. It&#8217;s only a guess that those apps offered there might be no malware since open source anyways and likely descendants of yet known and trusted packages. (Using FDroid you even can install the F/LOSS Frozen Bubbles arcade game but I consider it a bad idea to give it a shot and check out its performance &#8212; it works as expected, adapted to the needs of a phone, and you&#8217;ll likely will waste hours &#8216;checking it out&#8217;, so, although you can install it, stay away from it unless you&#8217;ve got hours to waste.)</p>
<p>Having set up the Blade it&#8217;s now my digital multitool: internet browser, mail reader including push notifications, newspaper, still camera, camcorder, Video playback and &#8216;TV&#8217;, music box, podcasts retriever and picture gallery. I also use it as a remote control for my music server <tt>mpd</tt> which looks very slick. There&#8217;s also a notepad somewhere and a terminal to connect to my servers via ssh.</p>
<p>Here&#8217;s what I use:<br />
# First of all the <s>phone</s> mobile computing device has a global auto-completion which makes entering text very easy. Also, it can learn new words.<br />
# Then, I use the Hacker Keyboard, to get around the virtual keyboard rather quickly and have cursor keys etc at hand. Additionally, the Hacker Keyboard supports dealing with several languages: I&#8217;m used to text in English and in German, and switching languages in the Hacker Keyboard is just a space key swift away. It&#8217;s so easy, thus a true time saver.<br />
# For mail I still use GMail, which includes push notification of new mail. Note, as the Google+ realname debate shows Google may lock you out off your Google account and therefore out of your GMail account too, so make sure you&#8217;ll have a backup of your GMail data somewhere. Actually getting to a newly arrived mail is as easy as pulling down the top status bar once the mail notification symbol shows up there.<br />
# For web access I still use the phone&#8217;s default browser. It&#8217;s accessible from every &#8216;desktop&#8217; where there is a hoveringmain menu bar with browser access in there as a shortcut. As a launcher page I use <a href="http://serchilo.net">serchilo.net</a> which beams you down whereever you actually want to go to. Serchilo is a tool where you can enter a search tool shortcut into an input field, followed by the actual search request. So, for example, <tt>g Stuttgart</tt> gives you all Google search results regarding Stuttgart while <tt>w Stuttgart</tt> gives you the wikipedia page on Stuttgart, <tt>gm Stuttgart</tt> jumps you to Goole Maps with Stuttgart centered, <tt>wa Stuttgart weather forecast</tt> shows the forecast for Stuttgart at Wolfram Alpha and <tt>dbt Stuttgart, Berlin</tt> tells you shortcut the shedules for the next couple of trains from Stuttgart to Berlin. As using trains is quite expensive in Germany, you can also try <tt>mfg Stuttgart, Berlin</tt> which gives you the shared rides for the same leg. &#8212; So, Serchilo is rather useful. Hence, I use it as my launcher page. <br />
# Entering a lot of text into a web form field my be jumpy in that default browser &#8212; entry field moves out of sight sometimes when trying to put the cursor to another location within the same entry field &#8212; hence I started using the default notepad the Blade gets shipped with to pre-edit the text there and cut and paste it to the browser entry field once I&#8217;m done. Having used the notepad, I learned it&#8217;s good at what it shall do &#8212; taking notes &#8212; but not as good at reissuing it: The notes go <em>somewhere</em> but you don&#8217;t find them at the SD card. So once you collected an amount of noted during a holiday tour while you couldn&#8217;t access your blog or whatever you had in mind to put the notes finally into, once you&#8217;ve taken it into the notepad you&#8217;ve got to copy-paste them out there one by one. Also, lacking notepad <em>files</em>, there aren&#8217;t timestamps to the notes either. Additionally, to put a couple of hundred lines of text to the GMail client to send it somewhere else, I saw the phone become reeally laggy. That appears to be a shortcoming of the GMail client, not being maded for longer texts.<br />
# Next, for news (feed) reading, I tried Google reader. A lot of people like it, but I don&#8217;t. At home, my server updates rawdog a couple of times daily, and that&#8217;s where I usually read news too. So, at home I access the web server to get my current news collection. Also, I could download it to the &#8216;phone&#8217; and reload it from there later on the go.<br />
# On podcasts, I enjoy Google Listen though. It does what it shall do and it&#8217;s not overly complex either. Nor much resources drawing either, for all what I can say.<br />
# For photo/video taking, gallery and video playback I just use the default tools installed on the phone. Nothing special to see here, though. Though learned from an earlier digicam, the Blade&#8217;s one also sees more than a human does. So having crashed into a corner of a table or something looking at it through &#8216;the eye&#8217; of the Blade might reveal whether or not you&#8217;ll get a bruise early. The cam saw mine very clearly when I almost broke my foot and I myself didn&#8217;t see as much of the bruises yet.<br />
# For remote controlling the <tt>mpd</tt> music server, I&#8217;ve got the alternatives of Droid MPD Client and MPDroid. I prefer the latter over the first one, so that&#8217;s the one I use.<br />
# Finally, to remotely connect to my server, I use Connect Bot. It&#8217;s a SSH client that might be usable for http tunneling too, but I didn&#8217;t try yet to really figure it out.</p>
<p>So, that&#8217;s it for now. What do you think? Suggestions? Remarks? Let me know, below in the comments.</p>
<br />Filed under: <a href='http://dagobart.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://dagobart.wordpress.com/tag/android/'>Android</a>, <a href='http://dagobart.wordpress.com/tag/smartphones/'>smartphones</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dagobart.wordpress.com/952/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dagobart.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dagobart.wordpress.com/952/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=952&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dagobart.wordpress.com/2011/09/07/my-zte-blade-with-android-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/361d9d2d30f8e6035b062268387971a1?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">dagobart</media:title>
		</media:content>
	</item>
		<item>
		<title>Let ikiwiki make use of git for revision control</title>
		<link>http://dagobart.wordpress.com/2010/03/31/let-ikiwiki-make-use-of-git-for-revision-control/</link>
		<comments>http://dagobart.wordpress.com/2010/03/31/let-ikiwiki-make-use-of-git-for-revision-control/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 10:07:00 +0000</pubDate>
		<dc:creator>dagobart</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[series of posts]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[bliki]]></category>
		<category><![CDATA[configuring]]></category>
		<category><![CDATA[getctime]]></category>
		<category><![CDATA[ikiwiki]]></category>
		<category><![CDATA[ikiwiki.setup]]></category>
		<category><![CDATA[revision control]]></category>
		<category><![CDATA[set up]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://dagobart.wordpress.com/?p=947</guid>
		<description><![CDATA[And then, to finish this little series on how to set up a distributed ikiwiki bliki (with the web frontend configured to the mobile computer), let&#8217;s make the ikiwiki make use of git for actual revision control: We start with an ikiwiki.setup edit, the usual way, i.e. I show you the changes I applied by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=947&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>And then, to finish this little series on <a href="http://dagobart.wordpress.com/2010/03/28/set-up-the-ikiwiki-bliki-cgi/">how to set up a distributed ikiwiki bliki</a> (with the web frontend configured to the mobile computer), let&#8217;s make the ikiwiki make use of git for actual revision control:</p>
<p>We start with an ikiwiki.setup edit, the usual way, i.e. I show you the changes I applied by diffing the resulting ikiwiki.setup file against the the untouched system-wide default one afterwards:</p>
<blockquote><pre>$ emacs -nw ~/.iki-test/ikiwiki.setup
$ diff ikiwiki.setup  /usr/share/doc/ikiwiki/html/ikiwiki.setup
14,15c14,15
&lt;       srcdir =&gt; "/home/dagobart/.iki-test/bliki/s",
&lt;       destdir =&gt; "/home/dagobart/public_html/bliki",
---
&gt;       srcdir =&gt; "/path/to/source",
&gt;       destdir =&gt; "/var/www/wiki",
17,18c17,18
&lt;       url =&gt; "http://localhost/~dagobart/bliki",
&lt;       cgiurl =&gt; "http://localhost/~dagobart/cgi-bin/ikiwiki.cgi",
---
&gt;       url =&gt; "http://example.org/wiki",
&gt;       cgiurl =&gt; "http://example.org/wiki/ikiwiki.cgi",
30c30
&lt;       rcs =&gt; "git",
---
&gt;       #rcs =&gt; "git",
63,69c63,68
&lt;               {
&lt;                       # The cgi wrapper.
&lt;                       cgi =&gt; 1,
&lt; #                     wrapper =&gt; "/var/www/wiki/ikiwiki.cgi",
&lt;                       wrapper =&gt; "/home/dagobart/public_html/cgi-bin/ikiwiki.cgi",
&lt;                       wrappermode =&gt; "06755",
&lt;               },
---
&gt;               #{
&gt;               #       # The cgi wrapper.
&gt;               #       cgi =&gt; 1,
&gt;               #       wrapper =&gt; "/var/www/wiki/ikiwiki.cgi",
&gt;               #       wrappermode =&gt; "06755",
&gt;               #},
81,89c80,87
&lt;               {
&lt;                       # The git post-update wrapper.
&lt;                       # Note that this will overwrite any existing
&lt;                       # post-update hook script, which may not be
&lt;                       # what you want.
&lt; #                     wrapper =&gt; "/git/wiki.git/hooks/post-update",
&lt;                       wrapper =&gt; "/home/dagobart/.iki-test/bliki/s/.git/hooks/post-update",
&lt;                       wrappermode =&gt; "06755",
&lt;               },
---
&gt;               #{
&gt;               #       # The git post-update wrapper.
&gt;               #       # Note that this will overwrite any existing
&gt;               #       # post-update hook script, which may not be
&gt;               #       # what you want.
&gt;               #       wrapper =&gt; "/git/wiki.git/hooks/post-update",
&gt;               #       wrappermode =&gt; "06755",
&gt;               #},</pre>
</blockquote>
<p>And that&#8217;s already is it. Now, let&#8217;s finish it by telling ikiwiki to act upon its setup file again and return <code>home</code>:</p>
<blockquote><pre>$ cd ~/.iki-test/ &amp;&amp; ikiwiki -setup ikiwiki.setup -getctime &amp;&amp; cd</pre>
</blockquote>
<p>Done.</p>
<br />Filed under: <a href='http://dagobart.wordpress.com/category/admin/'>admin</a>, <a href='http://dagobart.wordpress.com/category/blogging/'>blogging</a>, <a href='http://dagobart.wordpress.com/category/debian/'>Debian</a>, <a href='http://dagobart.wordpress.com/category/revision-control/git-revision-control/'>git</a>, <a href='http://dagobart.wordpress.com/category/howto/'>HowTo</a>, <a href='http://dagobart.wordpress.com/category/series-of-posts/'>series of posts</a>, <a href='http://dagobart.wordpress.com/category/sys-admin/'>sys admin</a>, <a href='http://dagobart.wordpress.com/category/wiki/'>wiki</a> Tagged: <a href='http://dagobart.wordpress.com/tag/bliki/'>bliki</a>, <a href='http://dagobart.wordpress.com/tag/configuring/'>configuring</a>, <a href='http://dagobart.wordpress.com/tag/getctime/'>getctime</a>, <a href='http://dagobart.wordpress.com/tag/git/'>git</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki/'>ikiwiki</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki-setup/'>ikiwiki.setup</a>, <a href='http://dagobart.wordpress.com/tag/revision-control/'>revision control</a>, <a href='http://dagobart.wordpress.com/tag/set-up/'>set up</a>, <a href='http://dagobart.wordpress.com/tag/setup/'>setup</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dagobart.wordpress.com/947/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dagobart.wordpress.com/947/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dagobart.wordpress.com/947/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=947&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dagobart.wordpress.com/2010/03/31/let-ikiwiki-make-use-of-git-for-revision-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/361d9d2d30f8e6035b062268387971a1?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">dagobart</media:title>
		</media:content>
	</item>
		<item>
		<title>how to set up the ikiwiki bliki CGI</title>
		<link>http://dagobart.wordpress.com/2010/03/28/set-up-the-ikiwiki-bliki-cgi/</link>
		<comments>http://dagobart.wordpress.com/2010/03/28/set-up-the-ikiwiki-bliki-cgi/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 20:04:07 +0000</pubDate>
		<dc:creator>dagobart</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[bliki]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[cgi-bin]]></category>
		<category><![CDATA[Cherokee]]></category>
		<category><![CDATA[cherokee-admin]]></category>
		<category><![CDATA[cherokee.conf]]></category>
		<category><![CDATA[distributed ikiwiki]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[guiding through a JavaScript web page]]></category>
		<category><![CDATA[ikiwiki]]></category>
		<category><![CDATA[ikiwiki.setup]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[public_html]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[virtual servers]]></category>

		<guid isPermaLink="false">http://dagobart.wordpress.com/?p=943</guid>
		<description><![CDATA[Now, we&#8217;re almost done. This is the second last post in this series of posts. It is about configuring Cherokee so we can edit the bliki using the web frontend. First, we become root and make a backup copy of the cherokee config file and launch the Cherokee admin tool: $ su # cp /etc/cherokee/cherokee.conf [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=943&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://dagobart.wordpress.com/2010/03/28/ikiwiki-bliki-for-local-mobile-computer/">Now</a>, we&#8217;re almost done. This is the second last post in this series of posts. It is about configuring Cherokee so we can edit the bliki using the web frontend.</p>
<p>First, we become root and make a backup copy of the cherokee config file and launch the Cherokee admin tool:</p>
<blockquote><pre>$ su
# cp /etc/cherokee/cherokee.conf /etc/cherokee/cherokee.conf.orig
# cherokee-admin</pre>
</blockquote>
<p> Then we direct a JavaScript capable browser to <a href="http://localhost:9090/">localhost:9090</a> and leave it at that for a moment.</p>
<p>In an other shell we set up the ikiwiki CGI. (While playing around with the existing setup it turned out that we cannot have the CGI in <code>~/public_html/bliki</code>, so we overrule part of <a href="http://dagobart.wordpress.com/2010/03/28/ikiwiki-bliki-for-local-mobile-computer/">the old setup</a>.)</p>
<p>First, create a common <code>~/public_html/cgi-bin</code>, then edit the ikiwiki config file to reflect that.</p>
<blockquote><pre>$ mkdir -p ~/public_html/cgi-bin
$ emacs -nw ~/.iki-test/ikiwiki.setup
$ cd ~/.iki-test/ &amp;&amp; diff ikiwiki.setup  /usr/share/doc/ikiwiki/html/ikiwiki.setup &amp;&amp; cd
14,15c14,15
&lt;       srcdir =&gt; "/home/dagobart/.iki-test/bliki/s",
&lt;       destdir =&gt; "/home/dagobart/public_html/bliki",
---
&gt;       srcdir =&gt; "/path/to/source",
&gt;       destdir =&gt; "/var/www/wiki",
17,18c17,18
&lt;       url =&gt; "http://localhost/~dagobart/bliki",
&lt;       cgiurl =&gt; "http://localhost/~dagobart/cgi-bin/ikiwiki.cgi",
---
&gt;       url =&gt; "http://example.org/wiki",
&gt;       cgiurl =&gt; "http://example.org/wiki/ikiwiki.cgi",</pre>
</blockquote>
<p> As we&#8217;re at it, at the same time tell ikiwiki to make use of the CGI and where to find it [continuation of the above diff]:</p>
<blockquote><pre>63,69c63,68
&lt;               {
&lt;                       # The cgi wrapper.
&lt;                       cgi =&gt; 1,
&lt; #                     wrapper =&gt; "/var/www/wiki/ikiwiki.cgi",
&lt;                       wrapper =&gt; "/home/dagobart/public_html/cgi-bin/ikiwiki.cgi",
&lt;                       wrappermode =&gt; "06755",
&lt;               },
---
&gt;               #{
&gt;               #       # The cgi wrapper.
&gt;               #       cgi =&gt; 1,
&gt;               #       wrapper =&gt; "/var/www/wiki/ikiwiki.cgi",
&gt;               #       wrappermode =&gt; "06755",
&gt;               #},</pre>
</blockquote>
<p> Now, make ikiwiki aware of these changes and return to the [user's] home directory (the trailing <code>&amp;&amp; cd</code>):</p>
<blockquote><pre>$ cd ~/.iki-test/ &amp;&amp; ikiwiki -setup ikiwiki.setup &amp;&amp; cd</pre>
</blockquote>
<p>Now, back to the dangling end of the open browser window with the Cherokee admin tool in it. Direct your browser to <a href="http://localhost:9090/vserver">http://localhost:9090/vserver</a> either by entering that URL to the browser&#8217;s address bar or by just clicking the link here.</p>
<p>As the Cherokee admin web tool makes a lot use of JavaScript, I cannot give immediate URLs where to set up what. Hence, instead, I guide you there starting with/from the http://localhost:9090/vserver page yet mentioned above.</p>
<p>For quicker reading, I introduce a kind of guidance syntax here: a single &gt; &#8212; like in <code>Virtual Servers &gt; Virtual Server List</code> &#8212; means: On page/<em>In the area</em> labeled &#8220;Virtual Servers&#8221; <em>look for</em> an item labeled &#8220;Virtual Server List&#8221;.</p>
<p>Opposed to that, by a &gt;&gt; I refer to an action: <code>menu &gt;&gt; Virtual Servers</code> for example refers to: <em>look at</em> the menu, <em>then click</em> &#8220;Virtual Servers&#8221;.</p>
<p>Increasing amounts of asterisks at the beginning of a line refer to the depth/nesting you&#8217;ll face, like in<br />
<blockquote>
<pre>menu &gt;&gt; Virtual Servers
* Virtual Servers &gt; ...</pre>
</blockquote>
<p>This tells you: Once you hit the &#8220;Virtual Servers&#8221; link in the menu, you&#8217;ll be down one level into it, facing a new page calles &#8220;Virtual Servers&#8221;.</p>
<p>So, the following guide should be pretty easy to read (if not: ask!). It is about making <code>~/public_html</code> directories become places where you can put HTML content and <code>~/public_html/cgi-bin</code> the location your ikiwiki CGI goes (or any other for that matter):</p>
<blockquote><p>menu &gt;&gt; Virtual Servers<br />
* Virtual Servers &gt; Virtual Server List &gt;&gt; default<br />
** Virtual Server &gt; default &gt;&gt; Personal Webs<br />
*** Personal Webs &gt; Directory name: public_html<br />
*** button at end of page<br />
*** Personal Webs &gt; Add new rule &gt; Rule Type: Directory<br />
*** Personal Webs &gt; Add new rule &gt; Web Directory: /cgi-bin<br />
*** button at end of page<br />
*** default &#8211; Directory: /cgi-bin &gt; Handler &gt; Handler: CGI<br />
*** button at end of page<br />
*** default &#8211; Directory: /cgi-bin &gt; default<br />
*** button at end of page<br />
* Apply</p></blockquote>
<p>Then. to verify everything went well, direct your browser to a URL your ikiwiki maintains: <a href="http://localhost/~dagobart/cgi-bin/ikiwiki.cgi?do=prefs">http://localhost/~dagobart/cgi-bin/ikiwiki.cgi?do=prefs</a>. &#8212; If you get a form page &#8212; e.g. a login page &#8211;, everything went okay (not okay if you get asked whether you&#8217;d like to download ikiwiki.cgi).</p>
<p>Interrupt cherokee-admin now, we don&#8217;t need it any longer.</p>
<p>Then, there&#8217;s only one last step to perform to finish this distributed setup of an ikiwiki bliki.</p>
<br />Filed under: <a href='http://dagobart.wordpress.com/category/admin/'>admin</a>, <a href='http://dagobart.wordpress.com/category/blogging/'>blogging</a>, <a href='http://dagobart.wordpress.com/category/debian/'>Debian</a>, <a href='http://dagobart.wordpress.com/category/howto/'>HowTo</a>, <a href='http://dagobart.wordpress.com/category/sys-admin/'>sys admin</a>, <a href='http://dagobart.wordpress.com/category/web-server/'>web server</a>, <a href='http://dagobart.wordpress.com/category/wiki/'>wiki</a> Tagged: <a href='http://dagobart.wordpress.com/tag/bliki/'>bliki</a>, <a href='http://dagobart.wordpress.com/tag/cgi/'>CGI</a>, <a href='http://dagobart.wordpress.com/tag/cgi-bin/'>cgi-bin</a>, <a href='http://dagobart.wordpress.com/tag/cherokee/'>Cherokee</a>, <a href='http://dagobart.wordpress.com/tag/cherokee-admin/'>cherokee-admin</a>, <a href='http://dagobart.wordpress.com/tag/cherokee-conf/'>cherokee.conf</a>, <a href='http://dagobart.wordpress.com/tag/distributed-ikiwiki/'>distributed ikiwiki</a>, <a href='http://dagobart.wordpress.com/tag/form/'>form</a>, <a href='http://dagobart.wordpress.com/tag/guiding-through-a-javascript-web-page/'>guiding through a JavaScript web page</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki/'>ikiwiki</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki-setup/'>ikiwiki.setup</a>, <a href='http://dagobart.wordpress.com/tag/javascript/'>JavaScript</a>, <a href='http://dagobart.wordpress.com/tag/public_html/'>public_html</a>, <a href='http://dagobart.wordpress.com/tag/setup/'>setup</a>, <a href='http://dagobart.wordpress.com/tag/syntax/'>syntax</a>, <a href='http://dagobart.wordpress.com/tag/virtual-servers/'>virtual servers</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dagobart.wordpress.com/943/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dagobart.wordpress.com/943/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dagobart.wordpress.com/943/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=943&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dagobart.wordpress.com/2010/03/28/set-up-the-ikiwiki-bliki-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/361d9d2d30f8e6035b062268387971a1?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">dagobart</media:title>
		</media:content>
	</item>
		<item>
		<title>ikiwiki bliki for a local (mobile) computer</title>
		<link>http://dagobart.wordpress.com/2010/03/28/ikiwiki-bliki-for-local-mobile-computer/</link>
		<comments>http://dagobart.wordpress.com/2010/03/28/ikiwiki-bliki-for-local-mobile-computer/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 10:54:40 +0000</pubDate>
		<dc:creator>dagobart</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[series of posts]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[cgi-bin]]></category>
		<category><![CDATA[config file]]></category>
		<category><![CDATA[diff]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[ikiwiki]]></category>
		<category><![CDATA[ikiwiki CGI]]></category>
		<category><![CDATA[ikiwiki.setup]]></category>
		<category><![CDATA[joe]]></category>
		<category><![CDATA[Joe's own editor]]></category>
		<category><![CDATA[mobile computer]]></category>
		<category><![CDATA[multiple machines]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[secure copy]]></category>
		<category><![CDATA[secure shell]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[web frontend]]></category>

		<guid isPermaLink="false">http://dagobart.wordpress.com/?p=939</guid>
		<description><![CDATA[Now, that we finished setting up [one] ikiwiki for multiple machines, let&#8217;s head for setting up the user interface. That is: head for getting the web frontend running. Note: As this here posting is somewhat lengthy, I put off setting up the actual web frontend to the next post. For this here posting, we work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=939&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now, that we <a href="http://dagobart.wordpress.com/2010/03/23/how-to-set-up-one-ikiwiki-for-mutiple-machines-to-work-with-how-to-set-up-ikiwiki-distributedly-with-built-in-backup/">finished setting up [one] ikiwiki for multiple machines</a>, let&#8217;s head for setting up the user interface. That is: head for getting the web frontend running. Note: As this here posting is somewhat lengthy, I put off setting up the actual web frontend to the next post.</p>
<p>For this here posting, we work on the local machine, i.e. the mobile computer.</p>
<p>First, as we already have set up ikiwiki&#8217;s core config file, we skip redoing that and instead just copy it from our remote machine to our local one, i.e. the mobile computer:</p>
<blockquote><pre>$ scp dagobart@remote-machine.com:/home/dagobart/.ikiwiki/ikiwiki.setup ~/.iki-test/
dagobart@remote-machine.com's password:
ikiwiki.setup                                                   100% 6836     6.7KB/s   00:00</pre>
</blockquote>
<p> SCP is the secure copy program. Probably yet installed on your machines if you use SSH (Secure Shell).</p>
<p>Now, let&#8217;s make sure we have a place where to put the ikiwiki script that&#8217;s going to get called whenever we&#8217;re changing the bliki by means of the web frontend:</p>
<blockquote><p><code>$ mkdir -p ~/public_html/cgi-bin</code></p></blockquote>
<p>&#8230;and then, go to the local ikiwiki directory and modify the <code>ikiwiki.setup</code> file so it&#8217;s going to meet our needs. &#8212; As before, I don&#8217;t direct you through the file to the things you need to update but rather just show the final diff between the untouched system original <code>ikiwiki.setup</code> file and the one we change:</p>
<blockquote><pre>$ cd ~/.iki-test/
$ emacs -nw ikiwiki.setup
$ diff ikiwiki.setup  /usr/share/doc/ikiwiki/html/ikiwiki.setup
14,15c14,15
&lt;       srcdir =&gt; "/home/dagobart/.iki-test/bliki/s",
&lt;       destdir =&gt; "/home/dagobart/public_html/bliki",
---
&gt;       srcdir =&gt; "/path/to/source",
&gt;       destdir =&gt; "/var/www/wiki",
17,18c17,18
&lt;       url =&gt; "http://localhost/~dagobart/bliki",
&lt;       cgiurl =&gt; "http://localhost/~dagobart/bliki/ikiwiki.cgi",
---
&gt;       url =&gt; "http://example.org/wiki",
&gt;       cgiurl =&gt; "http://example.org/wiki/ikiwiki.cgi",</pre>
</blockquote>
<p> You don&#8217;t necessarily need the <code>-nw</code> params for emacs &#8212; it&#8217;s just to keep emacs in the terminal window rather than allowing it to &#8216;pop out&#8217; and spawn its own frame. Alternatively, you for sure can use your own preferred editor. If you need a simple one, try <code>joe</code> or <code>nano</code>, whereby in my opinion the latter one is <em>too</em> simple (so it becomes complicated again).</p>
<p>Then, we make ikiwiki aware of its changed setup file and examine the changes ikiwiki causes:</p>
<blockquote><pre>$ ikiwiki -setup ikiwiki.setup
$ ls -al
insgesamt 36
drwxr-xr-x  4 dagobart dagobart 4096 21. Mär 18:39 .
drwxr-xr-x 84 dagobart dagobart 4096 21. Mär 18:44 ..
drwxrwsr-x  9 dagobart dagobart 4096 21. Mär 17:45 bliki
drwxr-xr-x  8 dagobart dagobart 4096 21. Mär 18:08 .git
-rw-r--r--  1 dagobart dagobart   25 21. Mär 17:42 .gitignore
-rw-r--r--  1 dagobart dagobart 6833 21. Mär 18:39 ikiwiki.setup
-rw-r--r--  1 dagobart dagobart 6836 21. Mär 18:34 ikiwiki.setup~
$ ls -al bliki/
insgesamt 48
drwxrwsr-x 9 dagobart dagobart 4096 21. Mär 17:45 .
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 18:39 ..
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 branches
-rw-rw-r-- 1 dagobart dagobart  126 21. Mär 17:45 config
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:45 d
-rw-rw-r-- 1 dagobart dagobart   58 21. Mär 17:45 description
-rw-rw-r-- 1 dagobart dagobart   23 21. Mär 17:45 HEAD
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 hooks
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 info
drwxrwsr-x 7 dagobart dagobart 4096 21. Mär 17:45 objects
drwxrwsr-x 4 dagobart dagobart 4096 21. Mär 17:45 refs
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 18:47 s
$ ls -al bliki/s/
insgesamt 20
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 18:47 .
drwxrwsr-x 9 dagobart dagobart 4096 21. Mär 17:45 ..
drwxr-xr-x 8 dagobart dagobart 4096 21. Mär 17:45 .git
-rw-r--r-- 1 dagobart dagobart   25 21. Mär 17:45 .gitignore
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 18:47 .ikiwiki
$ ls -al /home/dagobart/public_html/
insgesamt 12
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 18:38 .
drwxr-xr-x 84 dagobart dagobart 4096 21. Mär 18:44 ..
drwxr-xr-x 17 dagobart dagobart 4096 21. Mär 18:47 bliki
$ ls -al /home/dagobart/public_html/bliki/
insgesamt 88
drwxr-xr-x 17 dagobart dagobart 4096 21. Mär 18:47 .
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 18:38 ..
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 blog
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:38 cgi-bin
-rw-r--r--  1 dagobart dagobart  371 21. Mär 18:47 favicon.ico
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 helponformatting
drwxr-xr-x 11 dagobart dagobart 4096 21. Mär 18:47 ikiwiki
-rw-r--r--  1 dagobart dagobart 1462 21. Mär 18:47 index.html
-rw-r--r--  1 dagobart dagobart   95 21. Mär 18:47 local.css
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 markdown
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 openid
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 pagespec
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 preprocessordirective
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 recentchanges
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 sandbox
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 shortcuts
-rw-r--r--  1 dagobart dagobart 5164 21. Mär 18:47 style.css
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 subpage
drwxr-xr-x  4 dagobart dagobart 4096 21. Mär 18:47 templates
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 wikiicons
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 18:47 wikilink</pre>
</blockquote>
<p> In one word: This just set up our local bliki.<br />
&nbsp;</p>
<p>Next: Let&#8217;s actually make the ikiwiki web frontend run.</p>
<br />Filed under: <a href='http://dagobart.wordpress.com/category/admin/'>admin</a>, <a href='http://dagobart.wordpress.com/category/blogging/'>blogging</a>, <a href='http://dagobart.wordpress.com/category/debian/'>Debian</a>, <a href='http://dagobart.wordpress.com/category/howto/'>HowTo</a>, <a href='http://dagobart.wordpress.com/category/series-of-posts/'>series of posts</a>, <a href='http://dagobart.wordpress.com/category/sys-admin/'>sys admin</a>, <a href='http://dagobart.wordpress.com/category/wiki/'>wiki</a> Tagged: <a href='http://dagobart.wordpress.com/tag/cgi/'>CGI</a>, <a href='http://dagobart.wordpress.com/tag/cgi-bin/'>cgi-bin</a>, <a href='http://dagobart.wordpress.com/tag/config-file/'>config file</a>, <a href='http://dagobart.wordpress.com/tag/diff/'>diff</a>, <a href='http://dagobart.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki/'>ikiwiki</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki-cgi/'>ikiwiki CGI</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki-setup/'>ikiwiki.setup</a>, <a href='http://dagobart.wordpress.com/tag/joe/'>joe</a>, <a href='http://dagobart.wordpress.com/tag/joes-own-editor/'>Joe's own editor</a>, <a href='http://dagobart.wordpress.com/tag/mobile-computer/'>mobile computer</a>, <a href='http://dagobart.wordpress.com/tag/multiple-machines/'>multiple machines</a>, <a href='http://dagobart.wordpress.com/tag/nano/'>nano</a>, <a href='http://dagobart.wordpress.com/tag/scp/'>scp</a>, <a href='http://dagobart.wordpress.com/tag/secure-copy/'>secure copy</a>, <a href='http://dagobart.wordpress.com/tag/secure-shell/'>secure shell</a>, <a href='http://dagobart.wordpress.com/tag/ssh/'>SSH</a>, <a href='http://dagobart.wordpress.com/tag/user-interface/'>user interface</a>, <a href='http://dagobart.wordpress.com/tag/web-frontend/'>web frontend</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dagobart.wordpress.com/939/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dagobart.wordpress.com/939/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dagobart.wordpress.com/939/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=939&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dagobart.wordpress.com/2010/03/28/ikiwiki-bliki-for-local-mobile-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/361d9d2d30f8e6035b062268387971a1?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">dagobart</media:title>
		</media:content>
	</item>
		<item>
		<title>How to set up one ikiwiki for mutiple machines to work with : How to set up ikiwiki distributedly with built-in backup</title>
		<link>http://dagobart.wordpress.com/2010/03/23/how-to-set-up-one-ikiwiki-for-mutiple-machines-to-work-with-how-to-set-up-ikiwiki-distributedly-with-built-in-backup/</link>
		<comments>http://dagobart.wordpress.com/2010/03/23/how-to-set-up-one-ikiwiki-for-mutiple-machines-to-work-with-how-to-set-up-ikiwiki-distributedly-with-built-in-backup/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:34:33 +0000</pubDate>
		<dc:creator>dagobart</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[series of posts]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[bliki]]></category>
		<category><![CDATA[bliki backup]]></category>
		<category><![CDATA[Cherokee]]></category>
		<category><![CDATA[distributed bliki]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[ikiwiki]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://dagobart.wordpress.com/?p=936</guid>
		<description><![CDATA[Now, I chose to have ikiwiki with a purpose. The core benefit of having ikiwiki, in my opinion is, that it has bliki &#8212; blog-and-wiki &#8212; capability right built in. The second advantage over a wiki like mediawiki (or a blog like wordpress) &#8212; in my first-sight opinion &#8212; is that you can update the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=936&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now, I chose to have ikiwiki with a purpose. The core benefit of having ikiwiki, in my opinion is, that it has bliki &#8212; blog-<em>and</em>-wiki &#8212; capability right built in.</p>
<p>The second advantage over <a href="http://dagobart.wordpress.com/2008/11/09/a-primer-to-setting-up-mediawiki-as-a-private-slip-box/">a wiki like mediawiki</a> (or a blog like wordpress) &#8212; in my first-sight opinion &#8212; is that you can update the bliki on your mobile computer while on the move and update the hosted bliki when back online &#8212; and in no time.</p>
<p>Now, after <a href="http://dagobart.wordpress.com/2010/03/22/how-to-install-cherokee-on-a-remote-server/">having set up a lightweight webserver for ikiwiki (Cherokee)</a>, having <a href="http://dagobart.wordpress.com/2010/03/22/how-to-get-ikiwiki-up-and-running-on-a-debian-lenny/">brought ikiwiki to initial life</a> and managed to <a href="http://dagobart.wordpress.com/2010/03/22/add-git-togitify-an-ikiwiki-install/">get a git underneath the ikiwiki</a>, now I focus on setting up the replication infrastructure for the bliki:</p>
<p>I want the bliki reside on my hosted server (say, <code>remote-machine.com</code>). I want my local in-house server (<code>homeserver</code>) to &#8220;download&#8221; the latest version of the bliki on a regular basis. The idea is to have a backup at hand. And I want the bliki to reside on my main computer <code>mycomputer</code> (which happens to be a mobile one).</p>
<p>To sum it up:
<ul>
<li>the main bliki shall reside on <code>remote-machine.com</code>,</li>
<li><code>homeserver</code> shall pull from <code>remote-machine.com</code>,</li>
<li><code>mycomputer</code> shall pull from <code>remote-machine.com</code> and push there also.</li>
</ul>
<p>Both, <code>mycomputer</code> and <code>remote-machine.com</code>, shall be editable by web interface.</p>
<p>So, as we&#8217;re working with git, <code>remote-machine.com</code> will have <em>two</em> repositories &#8212; a bare one, since ikiwiki claims to have issues with a non-bare repository to work with, and a clone we&#8217;ll can actually work with. Similar applies for <code>mycomputer</code> &#8212; the box we&#8217;ll mainly work with to edit the bliki.</p>
<p>Suggested read:	<a href="http://ikiwiki.info/tips/laptop_wiki_with_git/">ikiwiki/ tips/ laptop wiki with git</a><br />
&nbsp;</p>
<p>First, let&#8217;s set up the backup computer. Therefore, we ssh there first. (As before <code>$</code> indicates commands to be given as a common user, <code>#</code> commands that shoult be issued as root.)</p>
<blockquote><pre>$ ssh homeserver
dagobart@homeserver's password:
Linux homeserver 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Sun Mar 21 16:40:46 2010 from mycomputer-fritz.fritz.box
$ pwd
/home/dagobart
mkdir .ikiwiki &amp;&amp; cd .ikiwiki/
$ pwd
/home/dagobart/.ikiwiki
$ git-clone remote-machine.com:/home/dagobart/.ikiwiki/bliki
Initialized empty Git repository in /home/dagobart/.ikiwiki/bliki/.git/
Receiving objects: 100% (3/3), done.
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0) </pre>
</blockquote>
<p> You might want to ensure you won&#8217;t have to issue a password when ssh-ing to <code>remote-machine.com</code> every time.</p>
<p>Now, what do we have by now? Let&#8217;s see&#8230;<br />
<blockquote>
<pre>$ ls -al
insgesamt 12
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 17:37 .
drwxr-xr-x 41 dagobart dagobart 4096 21. Mär 17:35 ..
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 17:37 bliki
$ ls -al bliki/
insgesamt 16
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:37 .
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:37 ..
drwxr-xr-x 8 dagobart dagobart 4096 21. Mär 17:37 .git
-rw-r--r-- 1 dagobart dagobart   25 21. Mär 17:37 .gitignore
$ ls -al bliki/.git
insgesamt 48
drwxr-xr-x 8 dagobart dagobart 4096 21. Mär 17:37 .
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:37 ..
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:37 branches
-rw-r--r-- 1 dagobart dagobart  262 21. Mär 17:37 config
-rw-r--r-- 1 dagobart dagobart   58 21. Mär 17:37 description
-rw-r--r-- 1 dagobart dagobart   23 21. Mär 17:37 HEAD
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:37 hooks
-rw-r--r-- 1 dagobart dagobart  112 21. Mär 17:37 index
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:37 info
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:37 logs
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:37 objects
drwxr-xr-x 5 dagobart dagobart 4096 21. Mär 17:37 refs </pre>
</blockquote>
<p>Looks good.</p>
<p>Now, let&#8217;s see how a <code>git-pull</code> will work out:</p>
<blockquote><pre>$ cd ~/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki master
From remote-machine.com:/home/dagobart/.ikiwiki/bliki
 * branch            master     -&gt; FETCH_HEAD
Already up-to-date.</pre>
</blockquote>
<p> That looks well as well.</p>
<p>Now, let&#8217;s ensure the backup will remain current all the time. For that let&#8217;s update the <code>crontab</code>:</p>
<blockquote><p><code>$ crontab -e</code></p></blockquote>
<p> This will open an editor.</p>
<p>Enter the following into the editor:</p>
<blockquote><pre># backup ikiwiki bliki:
 1  0  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1  6  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 10  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 12  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 14  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 16  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 19  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki
 1 22  *   *   *    cd /home/dagobart/.ikiwiki/bliki/; git-pull remote-machine.com:/home/dagobart/.ikiwiki/bliki </pre>
</blockquote>
<p> Basically, this sets up to poll the remote wiki frequently to keep the backup up to the hour. The setup is focussed to match my working hours as closely as possible. For an explanation of the crontab format, in the command shell issue:<br />
<blockquote><code>$ man 5 crontab</code></p></blockquote>
<p> Above crontab prerequires that you can <code>git-pull</code> from <code>remote-machine.com</code> without a password, cf.above.</p>
<p>More suggested reads:
<ul>
<li><code>$ man git-pull</code></li>
<li><code>$ man git-clone</code></li>
<li>and the yet mentioned <a href="http://ikiwiki.info/tips/laptop_wiki_with_git/">ikiwiki/ tips/ laptop wiki with git</a></li>
</ul>
<h3>create mobile computer&#8217;s local wiki</h3>
<p> For this, I assume, we&#8217;re back on the local computer.</p>
<blockquote><pre>$ cd
$ mkdir .iki-test &amp;&amp; cd .iki-test
$ pwd
/home/dagobart/.iki-test</pre>
</blockquote>
<p> Since I initially only wanted to see how this was going to work out, I named the mobile computer&#8217;s ikiwiki directory <code>.iki-test</code>. &#8212; I could have search&amp;replaced this in this walkthrough back to a more conform <code>.ikiwiki</code>, but actually it helps to remember on which machine and in which repository (bare or non-bare) you currently are. Therefore, <code>.iki-test</code>.</p>
<p>Now, clone the git repository from the remote machine to the local one &#8212; and let&#8217;s inspect what that made happen:<br />
<blockquote>
<pre>$ git-clone helbrecht.ws:/home/dagobart/.ikiwiki/bliki
Initialized empty Git repository in /home/dagobart/.iki-test/bliki/.git/
dagobart@helbrecht.ws's password:
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), 239 bytes, done.
$ ls -al
insgesamt 12
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 17:42 .
drwxr-xr-x 83 dagobart dagobart 4096 21. Mär 17:41 ..
drwxr-xr-x  3 dagobart dagobart 4096 21. Mär 17:42 bliki
$ ls -al bliki/
insgesamt 16
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:42 .
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:42 ..
drwxr-xr-x 8 dagobart dagobart 4096 21. Mär 17:42 .git
-rw-r--r-- 1 dagobart dagobart   25 21. Mär 17:42 .gitignore
$ mv bliki/.git* .
$ ls -al
insgesamt 20
drwxr-xr-x  4 dagobart dagobart 4096 21. Mär 17:43 .
drwxr-xr-x 83 dagobart dagobart 4096 21. Mär 17:41 ..
drwxr-xr-x  2 dagobart dagobart 4096 21. Mär 17:43 bliki
drwxr-xr-x  8 dagobart dagobart 4096 21. Mär 17:42 .git
-rw-r--r--  1 dagobart dagobart   25 21. Mär 17:42 .gitignore
$ ls -al bliki/
insgesamt 8
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:43 .
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:43 ..
$ ls -al .git
insgesamt 48
drwxr-xr-x 8 dagobart dagobart 4096 21. Mär 17:42 .
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:43 ..
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:42 branches
-rw-r--r-- 1 dagobart dagobart  262 21. Mär 17:42 config
-rw-r--r-- 1 dagobart dagobart   58 21. Mär 17:42 description
-rw-r--r-- 1 dagobart dagobart   23 21. Mär 17:42 HEAD
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:42 hooks
-rw-r--r-- 1 dagobart dagobart  112 21. Mär 17:42 index
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:42 info
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:42 logs
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:42 objects
drwxr-xr-x 5 dagobart dagobart 4096 21. Mär 17:42 refs</pre>
</blockquote>
<p>Now, let&#8217;s re-setup those <code>s</code> and <code>d</code> directories we already used <a href="http://dagobart.wordpress.com/2010/03/22/how-to-get-ikiwiki-up-and-running-on-a-debian-lenny/">when setting up ikiwiki initially</a>. Actually, we&#8217;re essentially going to re-do that step:</p>
<blockquote><pre>$ mkdir -p bliki/s bliki/d &amp;&amp; cd bliki
$ pwd
/home/dagobart/.iki-test/bliki
$ ls -al
insgesamt 16
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:45 .
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:43 ..
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:45 d
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:45 s
$ ikiwiki-makerepo git s
Importing s into git
Initialized empty shared Git repository in /home/dagobart/.iki-test/bliki/
Initialized empty Git repository in /home/dagobart/.iki-test/bliki/s/.git/
Created initial commit 5bf1878: initial commit
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 .gitignore
Counting objects: 3, done.
Writing objects: 100% (3/3), 244 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
To /home/dagobart/.iki-test/bliki
 * [new branch]      master -&gt; master
Directory s is now a clone of git repository /home/dagobart/.iki-test/bliki
$ pwd
/home/dagobart/.iki-test/bliki
$ ls -al
insgesamt 48
drwxrwsr-x 9 dagobart dagobart 4096 21. Mär 17:45 .
drwxr-xr-x 4 dagobart dagobart 4096 21. Mär 17:43 ..
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 branches
-rw-rw-r-- 1 dagobart dagobart  126 21. Mär 17:45 config
drwxr-xr-x 2 dagobart dagobart 4096 21. Mär 17:45 d
-rw-rw-r-- 1 dagobart dagobart   58 21. Mär 17:45 description
-rw-rw-r-- 1 dagobart dagobart   23 21. Mär 17:45 HEAD
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 hooks
drwxrwsr-x 2 dagobart dagobart 4096 21. Mär 17:45 info
drwxrwsr-x 7 dagobart dagobart 4096 21. Mär 17:45 objects
drwxrwsr-x 4 dagobart dagobart 4096 21. Mär 17:45 refs
drwxr-xr-x 3 dagobart dagobart 4096 21. Mär 17:45 s</pre>
</blockquote>
<p>And finally, let&#8217;s make sure we can push from that local git repository to the one on the remote server:<br />
<blockquote>
<pre>$ git-push .
Everything up-to-date
$ # how to sync remote to local repo:
$ git-pull
dagobart@remote-machine.com's password:
Already up-to-date.</pre>
</blockquote>
<br />Filed under: <a href='http://dagobart.wordpress.com/category/admin/'>admin</a>, <a href='http://dagobart.wordpress.com/category/blogging/'>blogging</a>, <a href='http://dagobart.wordpress.com/category/debian/'>Debian</a>, <a href='http://dagobart.wordpress.com/category/howto/'>HowTo</a>, <a href='http://dagobart.wordpress.com/category/series-of-posts/'>series of posts</a>, <a href='http://dagobart.wordpress.com/category/sys-admin/'>sys admin</a> Tagged: <a href='http://dagobart.wordpress.com/tag/bliki/'>bliki</a>, <a href='http://dagobart.wordpress.com/tag/bliki-backup/'>bliki backup</a>, <a href='http://dagobart.wordpress.com/tag/cherokee/'>Cherokee</a>, <a href='http://dagobart.wordpress.com/tag/distributed-bliki/'>distributed bliki</a>, <a href='http://dagobart.wordpress.com/tag/git/'>git</a>, <a href='http://dagobart.wordpress.com/tag/ikiwiki/'>ikiwiki</a>, <a href='http://dagobart.wordpress.com/tag/replication/'>replication</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dagobart.wordpress.com/936/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dagobart.wordpress.com/936/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dagobart.wordpress.com/936/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dagobart.wordpress.com&amp;blog=3031991&amp;post=936&amp;subd=dagobart&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dagobart.wordpress.com/2010/03/23/how-to-set-up-one-ikiwiki-for-mutiple-machines-to-work-with-how-to-set-up-ikiwiki-distributedly-with-built-in-backup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/361d9d2d30f8e6035b062268387971a1?s=96&#38;d=monsterid" medium="image">
			<media:title type="html">dagobart</media:title>
		</media:content>
	</item>
	</channel>
</rss>
