<?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:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>次世代情報都市みらい &#187; Laconica</title>
	<atom:link href="http://www.mirai-city.org/tag/laconica/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mirai-city.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 06 Nov 2011 07:15:21 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.mirai-city.org/tag/laconica/feed/" />
		<item>
		<title>Laconicaのインストール</title>
		<link>http://www.mirai-city.org/laconica%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://www.mirai-city.org/laconica%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Fri, 15 May 2009 10:50:59 +0000</pubDate>
		<dc:creator>齊藤 貴義</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Laconica]]></category>

		<guid isPermaLink="false">http://www.mirai-city.org/?p=336</guid>
		<description><![CDATA[Laconicaとは、オープンソースで配布されているtwitterのようなマイクロブログアプリです。 今日、Laconicaをサーバーにインストールしてみました。 Laconica（みらい） Laconicaのインストー [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-338" title="laconica" src="http://www.mirai-city.org/wp-content/uploads/2009/05/laconica.png" alt="laconica" width="132" height="100" />Laconicaとは、オープンソースで配布されているtwitterのようなマイクロブログアプリです。<br />
今日、Laconicaをサーバーにインストールしてみました。</p>
<p><strong><a href="http://mini.mirai-city.org/">Laconica（みらい）</a></strong></p>
<p>LaconicaのインストールにはPHP5.2以上が必要です。当初はPHP5.1の環境にLaconicaをインストールしようとしたのですが、XMLWriterのエラーが出てインストールが進みませんでした。CentOS5.3では、下記の方法で<a href="http://d.hatena.ne.jp/allspice/20080301">PHP5.2にアップデートできます</a>。</p>
<blockquote><p>#rpm &#8211;import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka<br />
/etc/yum.repos.d/utterramblings.repo に下記の内容をコピー。<br />
[utterramblings]<br />
name=Jason&#8217;s Utter Ramblings Repo<br />
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka<br />
#yum update</p></blockquote>
<p>PHP5.2とMySQLの環境が整ったら、<a href="http://laconi.ca/trac/">Laconicaの公式サイト</a>からソースをダウンロードします。最新版は0.7.3でした。</p>
<blockquote><p>#wget http://laconi.ca/laconica-0.7.3.tar.gz<br />
#tar zxvf laconica-0.7.3.tar.gz</p></blockquote>
<p>展開してできたlaconicaのファイル群を公開ディレクトリに移動させます。公開ディレクトリに移動させた後、/install.phpをWEBから実行。サイト名とデータベースの初期設定画面が出てきます。ここで情報を入力するとconfig.phpが生成され、DBスキーマが出来上がります。ただし、このconfig.phpの情報は必要最低限のものしか入っていません。config.php.sampleを参考に下記の情報を挿入しました。</p>
<blockquote><p>$extra_path = array(&#8220;（PHP OpenID設置パス）&#8221;, &#8220;/usr/local/share/php&#8221;);<br />
set_include_path(implode(PATH_SEPARATOR, $extra_path) . PATH_SEPARATOR . get_include_path());<br />
$config['site']['name'] = &#8220;mirai&#8221;;<br />
$config['db']['database'] = &#8220;mysql://（接続情報）@localhost/mini&#8221;;<br />
$config['site']['fancy'] = true;</p></blockquote>
<p>これで初期インストールは完了して画面が表示されます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mirai-city.org/laconica%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.mirai-city.org/laconica%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" />
	</item>
	</channel>
</rss>

