<?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>cakebaker &#187; laconica</title>
	<atom:link href="http://cakebaker.42dh.com/tags/laconica/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:23:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to install Laconica</title>
		<link>http://cakebaker.42dh.com/2008/09/29/how-to-install-laconica/</link>
		<comments>http://cakebaker.42dh.com/2008/09/29/how-to-install-laconica/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 14:42:19 +0000</pubDate>
		<dc:creator>cakebaker</dc:creator>
				<category><![CDATA[configuration]]></category>
		<category><![CDATA[laconica]]></category>

		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=854</guid>
		<description><![CDATA[This article is outdated! Laconica has been renamed to StatusNet in the meantime, and there have been many releases since I have written this article. So I recommend to head over to status.net for current information. As I&#8217;m currently working on NoseRub&#8216;s support for Laconica (an open source micro blogging platform similar to twitter), I [...]]]></description>
			<content:encoded><![CDATA[<p><strong>This article is outdated!</strong> Laconica has been renamed to StatusNet in the meantime, and there have been many releases since I have written this article. So I recommend to head over to <a href="http://status.net/">status.net</a> for current information.</p>
<p>As I&#8217;m currently working on <a href="http://noserub.com">NoseRub</a>&#8216;s support for Laconica (an open source micro blogging platform similar to <a href="http://twitter.com">twitter</a>), I had to install it on my local machine. </p>
<p>Here the steps I had to perform to install and configure Laconica 0.6.0 on Debian Linux (thanks to Leslie Michael Orchard for his article <a href="<a href="http://decafbad.com/blog/2008/07/03/getting-laconica-up-and-running">Getting Laconica up and running</a> covering the installation of an older version of Laconica):</p>
<ol>
<li>Download the package</li>
<li>Unpack it to a folder (e.g. /opt/laconica-0.6.0)</li>
<li>Add an entry to /etc/hosts: 127.0.0.1  laconica.localhost  localhost</li>
<li>Define a virtual host in /etc/apache2/sites-available/default:
<pre>
<code>&lt;VirtualHost *:80&gt;
    ServerName laconica.localhost:80
    DocumentRoot /opt/laconica-0.6.0
&lt;/VirtualHost&gt;</code>
</pre>
</li>
<li>Restart Apache with apache2ctl restart</li>
<li>Create the database (if you use a password for your database, you have to add the -p parameter):
<pre>
<code>dho@tumulux:/opt/laconica-0.6.0$ mysqladmin -u root create laconica;
dho@tumulux:/opt/laconica-0.6.0$ mysql -u root laconica &lt; db/laconica.sql</code>
</pre>
</li>
<li>As I don&#8217;t have installed PEAR, I had to manually download the following packages: <a href="http://pear.php.net/package/DB">DB</a>, <a href="http://pear.php.net/package/DB_DataObject">DB_DataObject</a>, <a href="http://pear.php.net/package/Mail">Mail</a>, and <a href="http://pear.php.net/package/Validate">Validate</a></li>
<li>From the DB package I had to extract DB.php, from the Mail package Mail.php, from the Validate package Validate.php, and from DB_DataObject DataObject.php. The first three files I had to copy to /opt/laconica-0.6.0/extlib, and the latest file, DataObject.php, to /opt/laconica-0.6.0/extlib/DB</li>
<li>In /opt/laconica-0.6.0 rename (or copy) htaccess.sample to .htaccess and change the RewriteBase from &#8220;/mublog&#8221; to &#8220;/&#8221;</li>
<li>In the same folder rename (or copy) config.php.sample to config.php. In this file the following settings have to be made (also have a look at the other settings):
<pre>
<code>$config['site']['name'] = 'The name of your laconica installation';
$config['site']['server'] = 'laconica.localhost';
$config['site']['path'] = '';
$config['site']['fancy'] = true;
$config['db']['database'] = 'mysql://root@localhost/laconica';
$config['db']['ini_laconica'] = $config['db']['schema_location'].'/stoica.ini'; // here the part after "ini_" has to be the database name</code>
</pre>
</li>
<li>Go to http://laconica.localhost and you should have a running Laconica instance :)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://cakebaker.42dh.com/2008/09/29/how-to-install-laconica/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
