<?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>Michie Marine</title>
	<atom:link href="http://www.umino-ie.com/mm/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.umino-ie.com/mm</link>
	<description>Second Life MM shop weblog</description>
	<lastBuildDate>Tue, 14 Feb 2012 06:38:03 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>日記 OpenSimのVehicleで悩む</title>
		<link>http://www.umino-ie.com/mm/?p=816</link>
		<comments>http://www.umino-ie.com/mm/?p=816#comments</comments>
		<pubDate>Sun, 12 Feb 2012 13:49:26 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[diary]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=816</guid>
		<description><![CDATA[いやー、なんか落とし穴にはまってしまった感じで、煮詰まってるので日記として書いておく　ミチエ 乗り物の上昇方向の力がまったく働かなくて、ここ数日あれこれ悩んでいる。さいしょはOpenSimてこんなものなんだろうとおもって [...]]]></description>
			<content:encoded><![CDATA[<p>いやー、なんか落とし穴にはまってしまった感じで、煮詰まってるので日記として書いておく　ミチエ</p>
<p>乗り物の上昇方向の力がまったく働かなくて、ここ数日あれこれ悩んでいる。さいしょはOpenSimてこんなものなんだろうとおもってたけど、他人の動画をみると飛行機が飛んでいる、しかし自分のサーバーでフォーラムに公開されてるスクリプトの例でも、また自分のオリジナルスクリプトでもまったく上昇方向に動かない、スクリプトばっかり考えていたのだが、さいきん自分のサーバーの環境がなにか欠点があるのか？と思うようになり、そのあたりのぐるぐる深い落とし穴に沈んでいく気持ち、ODEのバージョンてどうしたらわかるんだろう、うーーーん。なにが悪いんだろう。</p>
<p><a href="http://opensimulator.org/wiki/Vehicles">OpenSimにおける乗り物の現状が報告されてるページ</a><br />
話題となった数年前から、あまり進展してないみたいだけど、書かれているタイマーの問題点などはすでに解決されているし、情報が古い</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=816</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>サーバーコマンドでRegionのバックアップをとる</title>
		<link>http://www.umino-ie.com/mm/?p=730</link>
		<comments>http://www.umino-ie.com/mm/?p=730#comments</comments>
		<pubDate>Fri, 03 Feb 2012 10:07:13 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=730</guid>
		<description><![CDATA[サーバーコマンドのつづきです。自分でバックアップをかんりしないといけないので、こまめなバックアップは必要です。ゆくゆくは、決まった時間に自動でやるようにするとして、とりあえず、なんかバックアップとっておこうと思いRegi [...]]]></description>
			<content:encoded><![CDATA[<p>サーバーコマンドのつづきです。自分でバックアップをかんりしないといけないので、こまめなバックアップは必要です。ゆくゆくは、決まった時間に自動でやるようにするとして、とりあえず、なんかバックアップとっておこうと思いRegionのoarファイルを作っておきます。</p>
<p><a href="http://opensimulator.org/wiki/OpenSim_Archives" title="資料はOpensimulatorのwikiに説明されています。">資料はOpensimulatorのwikiに説明されています。</a></p>
<p>バックアップは<br />
<code>save oar [--noassets] [-h|--home=<url>] [<filename>]</code></p>
<p>サーバーコマンドを使ってRegionのバックアップをとる。<br />
Region># save oar michieisland.oar</p>
<p>指定しなければopensim/bin/にファイルが作られた。<br />
島(Region)の地形から　objectの配置やテクスチャーまですべてまとめられている。</p>
<p><code>-- noassets</code>オプションはアセットの分を含まず<br />
<code>--home</code>オプションは？<br />
-<code>-perm=CT</code>オプションはコピー譲渡を許可する？リストアしたもののパーミッションに関係あるのかなー、oarファイルを他人に公開するときに関係あるのか、まだ未確認です。あとで調べることにしておきます。</p>
<p>ファイルから復元するには<br />
<code>load oar [--merge] [<location>]</code></p>
<p>Region(Root)># load oar michieisland.oar<br />
注；ここでRootとなってたの気がつかず読み込んでしまったので、複数あるRegionの真ん中に読み込むはずが、最初のRegionに読み込まれてしまいました<br />
<code>change region ＜region name＞</code><br />
で対象regionを指定しましょう、メガリージョンの場合は<code>[--merge] [<location>]</code>のオプションなのかな？</p>
<p>ためしに、DTIのサーバーで作ったOARファイルを、さくらVPS側のOpenSimで読み込んでみる。<br />
じゃじゃ～ん！<br />
<a href="http://www.umino-ie.com/mm/?attachment_id=767" rel="attachment wp-att-767"><img src="http://www.umino-ie.com/mm/wp-content/uploads/2012/02/opensim_oar_test.jpg" alt="" title="opensim_oar_test" width="425" height="220" class="alignnone size-full wp-image-767" /></a></p>
<p>あは！まったく同じシムが出現したー ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=730</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSim.ConsoleClientを使ってサーバーコマンドを入力する。</title>
		<link>http://www.umino-ie.com/mm/?p=744</link>
		<comments>http://www.umino-ie.com/mm/?p=744#comments</comments>
		<pubDate>Fri, 03 Feb 2012 08:30:59 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=744</guid>
		<description><![CDATA[前回のスクリプトでRegionがバックグラウンドでうまく動いているでしょうか。 ブラウザーでログインして、まず地形を編集すると思うのですが、遅延で思うように変化してくれません、そこでRegionサーバーを直接編集できるコ [...]]]></description>
			<content:encoded><![CDATA[<p>前回のスクリプトでRegionがバックグラウンドでうまく動いているでしょうか。<br />
ブラウザーでログインして、まず地形を編集すると思うのですが、遅延で思うように変化してくれません、そこでRegionサーバーを直接編集できるコマンドを使いたいのですが、バックグラウンドではコマンド入力出来ません、再起動してもいいのですが、便利なツールが用意されてます。OpenSim.ConsoleClient.exeを使って、必要な時だけRegionサーバーのコマンドラインにアクセスできます。立ち上げるとバッファーに残ったメッセージも表示されます。</p>
<p>準備はOpenSim.iniとOpenSim.ConsoleClient.iniのユーザーとパスワードを設定します。</p>
<p><strong>OpenSim.ini</strong>の変更個所、コメントを解除してユーザーとパスワードを設定します。</p>
<pre class="brush: jscript; title: ; notranslate">[Network]
    ;; Configure the remote console user here. This will not actually be used
    ;; unless you use -console=rest at startup.
    ConsoleUser = &quot;username&quot; ;;ここに名前を記入します。
    ConsolePass = &quot;**********&quot;　;;ここにパスワード登録
    console_port = 8003

    ;# {http_listener_port} {} {TCP Port for this simulator to listen on? (This must be unique to the simulator!)} {} 9000
    ;; Simulator HTTP port. This is not the region port, but the port the
    ;; entire simulator listens on. This port uses the TCP protocol, while
    ;; the region ports use UDP.
    ; http_listener_port = 9000

    ;# {ExternalHostNameForLSL} {} {Hostname to use for HTTP-IN URLs. This should be reachable from the internet.} {}
    ;; Hostname to use in llRequestURL/llRequestSecureURL
    ;; if not defined - default machine name is being used
    ;; (on Windows this mean NETBIOS name - useably only inside local network)
    ; ExternalHostNameForLSL = &quot;127.0.0.1&quot;

    ;# {shard} {} {Name to use for X-Secondlife-Shard header? (press enter if unsure)} {} OpenSim
    ;; What is reported as the &quot;X-Secondlife-Shard&quot;
    ;; Defaults to the user server url if not set
    ;; The old default is &quot;OpenSim&quot;, set here for compatibility
    ;; The below is not commented for compatibility.
    shard = &quot;OpenSim&quot;

    ;# {user_agent} {} {User agent to report to web servers?} {} OpenSim LSL (Mozilla Compatible)
    ;; What is reported as the &quot;User-Agent&quot; when using llHTTPRequest
    ;; Defaults to not sent if not set here. See the notes section in the wiki
    ;; at http://wiki.secondlife.com/wiki/LlHTTPRequest for comments on adding
    ;; &quot; (Mozilla Compatible)&quot; to the text where there are problems with a web server
    ; user_agent = &quot;OpenSim LSL (Mozilla Compatible)&quot;</pre>
<p><strong>OpenSim.ConsoleClient.ini</strong>は、OpenSim.ConsoleClient.ini.exampleから複製します。</p>
<p>修正箇所は</p>
<pre class="brush: jscript; title: ; notranslate">[Startup]
    ; Set here or use the -user command-line switch
    user = username　;;ここをOpenSim.iniに書いた名前にする

    ; Set here or use the -host command-line switch
    host = localhost

    ; Set here or use the -port command-line switch
    port = 8003

    ; Set here or use the -pass command-line switch
    ; Please be aware that this is not secure since the password is in the clear
    ; we recommend the use of -pass wherever possible
    pass = **********　;;ここをOpenSim.iniに書いたパスワードにする</pre>
<p>準備が終わったら起動してみる。</p>
<pre class="brush: jscript; title: ; notranslate">/usr/local/opensim/bin$ sudo mono OpenSim.ConsoleClient.exe</pre>
<p>うまくいけば OpenSim.exeの時と同じRegionサーバーのコマンド待ち状態になります。</p>
<pre class="brush: jscript; title: ; notranslate">Region(MichieIsland)&gt;</pre>
<p>ここでコマンドを入力するのですが、qはConsoleClientの終了になります、Region serverを止めるにはshutdownの方をつかいます。</p>
<p>さて、サーバーコマンドはどのような物があるのでしょうか、<a href="http://opensimulator.org/wiki/%E3%82%B5%E3%83%BC%E3%83%90%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89" title="サーバーコマンド" target="_blank">詳細は本家を参照</a>してください。</p>
<p>私がすぐ使ったコマンドは土地の整地に関する物でした。</p>
<p>とにかく平らな土地にしたかった（２５mの平地をつくる）</p>
<pre class="brush: jscript; title: ; notranslate">terrain fill 25</pre>
<p>全体をかさ上げする（全体を３m上げる）</p>
<pre class="brush: jscript; title: ; notranslate">terrain elevate 3</pre>
<p>全体を一律に低くする（全体を１m下げる）</p>
<pre class="brush: jscript; title: ; notranslate">terrain lower 1</pre>
<p>現在の地形に乗算する（現在の地形の高さを半分にする）</p>
<pre class="brush: jscript; title: ; notranslate">terrain multiply 0.5</pre>
<p>指定したファイルから地形を読み込みます。（myterrain.bmpという地形ファイルを読み込みます）</p>
<pre class="brush: jscript; title: ; notranslate">terrain load myterrain.bmp</pre>
<p>余談ですが、いろんなファイルフォーマットに対応してるのですが、私の環境ではBMPがいちばん綺麗に読み込めました、もっと調べる必要がありますね。</p>
<p>９連シムなど簡単にできるのですから、それを大きな地形ファイル一つで管理したくなります。画像をシムの数で格子状に分割して一部を読み込むコマンド<br />
<code>terrain load-tile</code> ＜filename＞ ＜imageX＞ ＜imageY＞ ＜bottomleftsimX＞ ＜bottomleftsimY＞<br />
これが理解しにくいのですが３x３の９連シムで考えると<br />
NW,N,NE<br />
W,C,E<br />
SW,S,SE<br />
このような配列の場合南西のはずれが原点となりますので<br />
SWのサーバーの場合</p>
<pre class="brush: jscript; title: ; notranslate">terrain load-tile &lt;filename&gt; 3 3 0 0</pre>
<p>Wのサーバーの場合</p>
<pre class="brush: jscript; title: ; notranslate">terrain load-tile &lt;filename&gt; 3 3 0 -1</pre>
<p>と３分割X３分割して画像の原点のXは同じ、Yが自分より一つ下の区画にあると指定すると理解したのですが、ウエーブ上を探してみると何種類かの説明がみつかるので、何度か仕様がかわってるのか、私が勘違いしてるのかなー未検証:-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=744</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS FTPサービスを追加</title>
		<link>http://www.umino-ie.com/mm/?p=624</link>
		<comments>http://www.umino-ie.com/mm/?p=624#comments</comments>
		<pubDate>Fri, 03 Feb 2012 03:00:31 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=624</guid>
		<description><![CDATA[OpenSimに直接関係ないけど、色々試すのにファイルを送るのが大変なので、いまだけFTPサービスをいれたメモ。 利用者は自分一人でいい vsftpdインストール vsftpd停止 設定ファイル編集 vsftpdを起動]]></description>
			<content:encoded><![CDATA[<p>OpenSimに直接関係ないけど、色々試すのにファイルを送るのが大変なので、いまだけFTPサービスをいれたメモ。<br />
利用者は自分一人でいい<br />
vsftpdインストール</p>
<pre class="brush: jscript; title: ; notranslate">/usr/local$ sudo apt-get install vsftpd</pre>
<p>vsftpd停止</p>
<pre class="brush: jscript; title: ; notranslate">/usr/local$ sudo /etc/init.d/vsftpd stop</pre>
<p>設定ファイル編集</p>
<pre class="brush: jscript; title: ; notranslate">/usr/local$ sudo vi /etc/vsftpd.conf</pre>
<p>vsftpdを起動</p>
<pre class="brush: jscript; title: ; notranslate">/usr/local$ sudo /etc/init.d/vsftpd start</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=624</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSimのバックグラウンド起動</title>
		<link>http://www.umino-ie.com/mm/?p=665</link>
		<comments>http://www.umino-ie.com/mm/?p=665#comments</comments>
		<pubDate>Wed, 01 Feb 2012 15:49:18 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=665</guid>
		<description><![CDATA[東京情報大学の&#8221;OpenSimサーバシステム構築入門　(v0.7.2対応） PDF版v1.1.0&#8243;に詳しく書かれていますp58前後　たいへん参考になりました。ありがとうございます 私はスクリプト書 [...]]]></description>
			<content:encoded><![CDATA[<p>東京情報大学の&#8221;OpenSimサーバシステム構築入門　(v0.7.2対応） PDF版v1.1.0&#8243;に詳しく書かれていますp58前後　たいへん参考になりました。ありがとうございます</p>
<p>私はスクリプト書けないのでそのまま使わせて頂きました。<br />
screenコマンドでバックグラウンド起動できるが、あとあと地形をいじったりするときサーバーコマンドなど入力できるようにRestConsoleモードと合わせたスクリプトの方を使う。マニュアル内に書かれていますが、同大学が提供されているopensim.nsl.pach-0.7をダウンロードしてきて中のconfigデレクトリーにあるopensim_region_restを/etc/ini.d/にコピーして使っている。（opensim_server_restはOSgridではRoubust saverは使わないのでいらない）</p>
<p>修正箇所は<br />
OpenSimをインストールしたところへのパスは正しかったのでそのまま<br />
MONOへのパスは/usr/bin/mono自分に合せて変更。<br />
マネーサーバーは使ってないので該当する部分を＃でコメントアウトにした、自信がないんですが、start()のなかの最後の2行、stop()内の最初の2行。</p>
<p>いっぽう、RestConsoleモードで利用するためOpensim.iniに書き加える変更だが、起動スクリプト内からコマンドラインのオプションで指定して起動するため書き加える必要はないみたい。その方がバックグラウンドを止めて通常に起動させるときも書き換え必要ないのでいい。</p>
<p>準備がおわったら起動してみる</p>
<pre class="brush: jscript; title: ; notranslate">sudo /etc/init.d/opensim_region_rest start</pre>
<p>終了は</p>
<pre class="brush: jscript; title: ; notranslate">sudo /etc/init.d/opensim_region_rest stop</pre>
<p>これでssh接続切ってもopensimは動いてるので、いつでも遊べる　ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=665</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSimを起動してOSgridに接続</title>
		<link>http://www.umino-ie.com/mm/?p=658</link>
		<comments>http://www.umino-ie.com/mm/?p=658#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:02:29 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=658</guid>
		<description><![CDATA[OpenSimの最初の起動 インストールしたopensim/binに移動 エラーが出ていなければRegionの設定になります、Regions.iniがあれば読み込まれRegionの管理者を訪ねてきますので、OSgridに [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSimの最初の起動</p>
<p>インストールしたopensim/binに移動</p>
<pre class="brush: jscript; title: ; notranslate">cd /usr/local/opensim/bin
sudo mono OpenSim.exe</pre>
<p>エラーが出ていなければRegionの設定になります、Regions.iniがあれば読み込まれRegionの管理者を訪ねてきますので、OSgridに登録したアバター名登録パスワードを順に記入します。また一番最初ときエステートの名前と管理者を訪ねてきたと思います。エステートとは自分のRegionのグループ名だと理解すればよいでしょう。2番目のRegion以降は＊＊エステートに加えてもよいですか？と聞かれるようになります。そのときはYと認証することになります。入力後問題なければサービスが開始されてRegionのコマンド待ちの状態になるはずです。</p>
<pre class="brush: jscript; title: ; notranslate">Region (Simの名前) #</pre>
<p>となってれば成功です。Simの名前のとこは複数Regionを設定してる場合はRootまたはそれぞれのSimの名前になります（サーバーコマンドで選択）。</p>
<p>成功したら、終了方法です。</p>
<pre class="brush: jscript; title: ; notranslate">Region (Simの名前) # shutdown</pre>
<p>このままでは、OpenSimを実行しているシェルウィンドウを閉じてしまうとサービスも終了してしまいます。VPS借りているのですから常時稼動してもらわないとこまります。次回はその設定　ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=658</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSimのOSgrid用設定ファイルを準備</title>
		<link>http://www.umino-ie.com/mm/?p=616</link>
		<comments>http://www.umino-ie.com/mm/?p=616#comments</comments>
		<pubDate>Wed, 01 Feb 2012 05:57:21 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=616</guid>
		<description><![CDATA[設定ファイルは最初ないので、ひな形から複製します。 色々でてきますがOpenSim.ini.exampleをつかいますます これらもOSgridのテキストからコピペしました。 GridCommon.iniは変更するとこが [...]]]></description>
			<content:encoded><![CDATA[<p><strong>設定ファイルは最初ないので、ひな形から複製します。</strong></p>
<pre class="brush: jscript; title: ; notranslate">/usr/local/opensim/bin# ls *ini*</pre>
<p>色々でてきますが<code>OpenSim.ini.example</code>をつかいますます</p>
<pre class="brush: jscript; title: ; notranslate">cp OpenSim.ini.example OpenSim.ini
vi OpenSim.ini[/cod]

とここで編集してスンドアローンで立ち上げるテストをしてもいいですがOSgridにつなぐ目的なので省略、ログインサーバーなどの働きをするRoubustサーバーも省略前回ソースをとってきたwww.OSgrid.orgのダウンロードページに、設定ファイルもおいてあったので、それをコピペしちゃいました。あとで変更ヶ所がでてくるけど、最初はそのままでOK（GridHypergrid.iniを読み込む設定）。

さらにconfig-includeに移動してGridCommon.iniとFlotsamCache.iniをコピー
1cd config-include</pre>
<pre class="brush: jscript; title: ; notranslate">cp GridCommon.ini.example GridCommon.ini
cp FlotsamCache.ini.example FlotsamCache.ini</pre>
<p>これらもOSgridのテキストからコピペしました。</p>
<p>GridCommon.iniは変更するとこがあります。<br />
先頭のセクションでデーターベースを指定します。</p>
<pre class="brush: jscript; title: ; notranslate">;[DatabaseService]
;
; ### Choose the DB
;
; SQLite
;Include-Storage = &quot;config-include/storage/SQLiteStandalone.ini&quot;;コメントアウトします
; Unfortunately the current SQLite database plugin is not compatible with Mac OSX. You can still use the older
; legacy sqlite library if you are using Mono 2.4. Please see the notes in OpenSim.ini (search for sqlite)
; for more details
;Include-Storage = &quot;config-include/storage/SQLiteLegacyStandalone.ini&quot;;
; MySql
; Uncomment these lines if you want to use mysql storage
; Change the connection string to your db details
;;コメントアウトをはずしてパスワードを設定します。MySQLにopensimと言うユーザー作ったのでそのパスワードです。
StorageProvider = &quot;OpenSim.Data.MySQL.dll&quot;
ConnectionString = &quot;Data Source=localhost;Database=opensim;User ID=opensim;Password=***;&quot;
; Uncomment this line if you are using MySQL and want to use a different database for estates
;下はエステートの管理を他のサーバーのデーターベースで管理するときか？とりあえずそのまま
;EstateConnectionString = &quot;Data Source=localhost;Database=opensim;User ID=opensim;Password=***;&quot;;</pre>
<p><code>FlotsamCache.ini</code>はそのまま</p>
<p><strong>さて、次はOSgridにつなげる自分のシムの情報を書いた設定ファイルを作成します</strong><br />
予め用意しておかなくても、OpenSim起動したときに、聞いてくるので、それに答えていけば自動に製作されます。<br />
場所はbin\regions\Region.ini<br />
内容は、1SIMあたり下記のような内容で、複数SIMを作りたいときは、ここに追記するだけです。最初は１つで試してみました。</p>
<pre class="brush: jscript; title: ; notranslate">[MichieIsland]
RegionUUID = 122345ab-cdef-1234-5648-9abcdef12345
Location = 10123,10123
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = ***.***.***.***</pre>
<p>一番最初がRegionの名前（SIMの名前）<br />
２番目はRegionごとに設定するユニークなID　起動した際に入力しているならば、自動に生成されているとおもうけど、あらかじめ用意しておくときは<code>uuidgen -t</code>コマンドで生成しておく。<br />
3番目はOSgridのマップで探したあいてる場所の座標を指定する。中心は10000,10000なので離れすぎるとハイパーリンクで移動できない<br />
4番目はそのまま<br />
5番目はひとつ目はそのまま、追加するば場合はかぶらないように変更していく。<br />
6番目はそのまま。<br />
7番目に自分のサーバーのアドレスを指定する。</p>
<p>現在、ひとつのRegionにたいしてこれだけのセットをしていしてあればいいみたいだ。<br />
管理者やエステートなどは初回に尋ねられるので、そのとき入力する。Regions.iniにはのこらないみたい。</p>
<p>もう早く起動したい？回はOpenSimをスタートさせてOSgridにつなげてみます。ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=616</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS OpenSimソースコードからコンパイル</title>
		<link>http://www.umino-ie.com/mm/?p=612</link>
		<comments>http://www.umino-ie.com/mm/?p=612#comments</comments>
		<pubDate>Wed, 01 Feb 2012 02:00:04 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=612</guid>
		<description><![CDATA[私は/usr/local 下で管理者権限で作業しています。 ソースコードはOSgridにつなげる目標なのでOSgridからもってきました。現時点で本家は0.7.2でOSgridは0.7.3dev www.osgrid.o [...]]]></description>
			<content:encoded><![CDATA[<p>私は/usr/local 下で管理者権限で作業しています。<br />
ソースコードはOSgridにつなげる目標なのでOSgridからもってきました。現時点で本家は0.7.2でOSgridは0.7.3dev<br />
www.osgrid.orgのダウンロードページのCurrent Release source code only tar.gzから(ファイル名は変わるのでページをみてリンクアドレスをコピペ)</p>
<pre class="brush: jscript; title: ; notranslate">wget http://osgrid.googlecode.com/files/opensim-38db874.tar.gz</pre>
<p>ダウンロードしたソースコードを展開する</p>
<pre class="brush: jscript; title: ; notranslate">tar -xvzf opensim-38db874.tar.gz</pre>
<p>終えるてlsで確認すると、作業デレクトリー/usr/localに新しいopensim-38db874（名前はダウンロードファイルによる）デレクトリーができてるので、名前をopensimに変更</p>
<pre class="brush: jscript; title: ; notranslate">mv opensim-38db874 opensim</pre>
<p>opensimデレクトリーに移動してコンパイル作業に移ります。</p>
<pre class="brush: jscript; title: ; notranslate">cd opensim</pre>
<pre class="brush: jscript; title: ; notranslate">./runprebuild.sh</pre>
<p>しばらくすると準備がととのいますので</p>
<pre class="brush: jscript; title: ; notranslate">xbuild</pre>
<p>でコンパイルが始まります。私の時は警告が３７エラー０で終了。xbuildのかわりにnantを使うと警告は出なかったような記憶がある。</p>
<p>コンパイルが終了したらopensim/binデレクトリーに実行ファイルが出来てるはずです。</p>
<pre class="brush: jscript; title: ; notranslate">cd bin
ls *.exe</pre>
<p>これでコンパイルは終了です。起動まであと一歩、つぎは設定ファイルを準備します。　ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=612</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS MySQL Serverのインストール</title>
		<link>http://www.umino-ie.com/mm/?p=582</link>
		<comments>http://www.umino-ie.com/mm/?p=582#comments</comments>
		<pubDate>Tue, 31 Jan 2012 14:01:04 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=582</guid>
		<description><![CDATA[インストール インストールの途中でのroot管理者パスワードを設定することになります。 インストールが終わるとubuntuの場合すでにサービスは起動していますので、コマンドで確認します。 MySQLの設定はMySQLデー [...]]]></description>
			<content:encoded><![CDATA[<p>インストール</p>
<pre class="brush: jscript; title: ; notranslate">usr/local# apt-get install mysql-server</pre>
<p>インストールの途中でのroot管理者パスワードを設定することになります。</p>
<p>インストールが終わるとubuntuの場合すでにサービスは起動していますので、コマンドで確認します。</p>
<pre class="brush: jscript; title: ; notranslate"># mysql -u root -p
Enter password:</pre>
<p>MySQLの設定はMySQLデーターベースの中にはいってるので、データーベースを切り替えます。</p>
<pre class="brush: jscript; title: ; notranslate">mysql&amp;gt; use mysql;</pre>
<p>登録されてるユーザーとパスワードの確認</p>
<pre class="brush: jscript; title: ; notranslate">mysql&amp;gt; select host,user,password from user;
+----------------------+------------------+-------------------------------------------+
| host                 | user             | password                                  |
+----------------------+------------------+-------------------------------------------+
| localhost            | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| ubuntu-32-serversman | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| 127.0.0.1            | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| localhost            | debian-sys-maint | *6789ABCDEF123456789ABCDEF123456789ABCDEF |
| 123.456.789.101      | root             | *123456789ABCDEF123456789ABCDEF123456789A |
+----------------------+------------------+-------------------------------------------+</pre>
<p>参考にしたサイトによると、パスワードなどがないユーザーを削除などするとなっていたが、正しいのでいじる必要はなかった。</p>
<p>Opensimが利用するユーザー名をつくる<br />
コマンドは</p>
<pre class="brush: jscript; title: ; notranslate">mysql&amp;gt; grant all on *.* to ユーザ@ホスト名 identified by 'パスワード';</pre>
<p>で、ユーザ@ホスト名は、ユーザ名@localhost、ユーザ名@IPアドレスとする場合もあるが、決められない外部サーバーから利用するには、ユーザ名@&#8221;%&#8221;のワイルドカードをつかえる。ユーザー名はrootの凡例が多いが、OSgritのテンプレートがopensimなのでopensim@&#8221;%&#8221;でopensim用のユーザーを作った。</p>
<pre class="brush: jscript; title: ; notranslate">mysql&amp;gt; grant all on *.* to opensim@&quot;%&quot; identified by '********';
+----------------------+------------------+-------------------------------------------+
| host                 | user             | password                                  |
+----------------------+------------------+-------------------------------------------+
| localhost            | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| ubuntu-32-serversman | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| 127.0.0.1            | root             | *123456789ABCDEF123456789ABCDEF123456789A |
| localhost            | debian-sys-maint | *6789ABCDEF123456789ABCDEF123456789ABCDEF |
| %                    | opensim          | *ABCDEF123456789ABCDEF123456789ABCDEF1234 |
| 123.456.789.101      | root             | *123456789ABCDEF123456789ABCDEF123456789A |
+----------------------+------------------+-------------------------------------------+</pre>
<p>OpenSim用のデーターベースを作っておく</p>
<pre class="brush: jscript; title: ; notranslate">mysql&amp;gt; create database opensim;
mysql&amp;gt; show databases;</pre>
<p>これでデーターベースの準備は終わりかな、なんか忘れているようなきもするけど　ミチエ</p>
<p>いまさらだけど、MySQLのコマンドラインの最後の<code>；</code>を忘れずに、MySQLからぬけるのは
<pre>\q</pre>
<p>（バックスラッシュ＋ｑ）</p>
<p>追伸　やっぱり忘れていた<br />
MySQL設定ファイルを修正して、外部からのアクセスを可能にしておかないと。ユーザー作っただけではだめだ。</p>
<pre class="brush: jscript; title: ; notranslate">sudo vi /etc/mysql/my.cnf</pre>
<p>以下に該当する部分</p>
<pre class="brush: jscript; title: ; notranslate">bind-address = 127.0.0.1</pre>
<p>ローカルアクセスに限定してるところをコメントアウトする<br />
#bind-address = 127.0.0.1[/cod]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=582</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS OpenSimに必要な物を集める</title>
		<link>http://www.umino-ie.com/mm/?p=565</link>
		<comments>http://www.umino-ie.com/mm/?p=565#comments</comments>
		<pubDate>Mon, 30 Jan 2012 10:20:58 +0000</pubDate>
		<dc:creator>Michie</dc:creator>
				<category><![CDATA[OpenSim]]></category>
		<category><![CDATA[OSgrid]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.umino-ie.com/mm/?p=565</guid>
		<description><![CDATA[OpenSimに必要な物を集めていきます。 本来、/home/user/以下のデレクトリーで作業するべきなのでしょうか、調べてると２つにわかれるので、OSgridにあるそのまま使うことにして、 管理者権限で/usr/lo [...]]]></description>
			<content:encoded><![CDATA[<p>OpenSimに必要な物を集めていきます。<br />
本来、/home/user/以下のデレクトリーで作業するべきなのでしょうか、調べてると２つにわかれるので、OSgridにあるそのまま使うことにして、<br />
管理者権限で/usr/local下で作業してます。SU使えない場合sudoを加えて読み取ってください。</p>
<p>参考にした資料<br />
本家<a title="wiki/ビルド手順" href="http://opensimulator.org/wiki/%E3%83%93%E3%83%AB%E3%83%89%E6%89%8B%E9%A0%86" target="_blank">opensimulator</a></p>
<p>東京情報大学 ネットワークシステム研究室（NSL）の<a title="OpenSimサーバシステム構築入門　(v0.7.2対応） PDF版v1.1.0" href="http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&amp;cid=8&amp;lid=30">マニュアルPDF版v1.1.0</a></p>
<p>OSgrid利用するなら、一番<a title="OSgrid" href="http://wiki.osgrid.org/index.php/Main_Page" target="_blank">OSgridのwiki</a>は設定が分類されて説明されてます。</p>
<p>ubuntuでは、最低限、opensimのソースとmono-completeがあればあとは、gurid接続に必要なMySQLをいれればOKのようです。<br />
ネットで調べるといろいろ出てきますが、mono関連のライブラリーやコンパイルに必要なxbuildも含まれているので、nantは必要ありません。しかしxbuildは警告が３０何個もでた。nantの方がいっぱい情報がでてるのでつかいやすいかも。どちらでもOKでした。</p>
<p>mono-completeのインストール<br />
<code>apt-get install mono-complete</code></p>
<p>subversion のインストール<br />
ソースファイルなどのリポジトリ管理のツール、必要になるかもしれないので入れとく</p>
<pre class="brush: jscript; title: ; notranslate">apt-get install subversion</pre>
<p>patch のインストール<br />
東京情報大学のパチをあてる場合必要なので入れとく。</p>
<pre class="brush: jscript; title: ; notranslate">apt-get install patch</pre>
<p>ビルドツールにnantを使う場合インストール</p>
<pre class="brush: jscript; title: ; notranslate">apt-get install nant</pre>
<p>この時点で調べた情報で必要とかかれていたものは以下</p>
<pre class="brush: jscript; title: ; notranslate">apt-get install mono-gmcs
apt-get install libmono-microsoft8.0-cil
apt-get install libmono-oracle2.0-cil
apt-get install libmono-system-runtime2.0-cil
apt-get install libgdiplus
apt-get install ruby</pre>
<p>ruby以外はすでにインストール済みとなっていたのでrubyをインストール</p>
<p>あとはMySqlとOpensimのソースだけど、次回へ ミチエ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.umino-ie.com/mm/?feed=rss2&#038;p=565</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

