# サーバを停止させる
# cd /usr/local/opensim
# \rm -r opensim.nsl.patch
# rm update
新しいNSLツールのダウンロードと準備†[edit]
# svn update opensim.* # ツールの更新
# svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.nsl.tools/trunk opensim.nsl.tools
# svn co http://www.nsl.tuis.ac.jp/svn/opensim/opensim.osprofile/trunk opensim.osprofile
# ln -s ./opensim.nsl.tools/update .
# ln -s ./opensim.nsl.tools/gitup .
OpenSim の更新†[edit]
# ./gitup # 作業ブランチを保存してmasterブランチに戻る
# git pull # masterブランチを更新
# git branch branch_name # ブランチを作る
# get checkout branch_name # 以降の作業はブランチで行う
- branch_name には分かり易い名前を自分でつける.
- git branch コマンドで存在するブランチの一覧が表示される.
パッチの適用とコンパイル†[edit]
# ./opensim.currency/latest_update
# ./opensim.nsl.tools/latest_update
# ./update
設定ファイルの更新†[edit]
# cp ./opensim.nsl.tools/config/OpenSim.ini bin
# cp ./opensim.nsl.tools/config/OpenSim.ini bin/config-include
# cp bin/config-include/FlotsamCache.ini.example bin/config-include/FlotsamCache.ini
# vi bin/OpenSim.ini # OpenSim.ini の編集
# cp opensim.nsl.tools/config/opensim_region /etc/init.d/
# chmod a+rx /etc/init.d/opensim_region
# /etc/init.d/opensim_region start
Jpegの処理でエラーが出る場合 (Vine4.2などの場合に行う.CentOSでは不必要)†[edit]
# cd /usr/local
# svn co http://openmetaverse.org/svn/omf/libopenmetaverse/trunk libopenmetaverse
# cd libopenmetaverse/openjpeg-dotnet
# make
# cp libopenjpeg-dotnet-*.so ../../opensim/ # 一旦ここに保存する
# cd ../../opensim
# cp libopenjpeg-dotnet-*.so bin