#author("2024-09-02T04:13:11+00:00","default:iseki","iseki") ** ツールの切り替え [#f2a4043f] *** 旧ツールの削除 [#j0bf7ab1] # サーバを停止させる # cd /usr/local/opensim # \rm -r opensim.nsl.patch # rm update *** 新しいNSLツールのダウンロードと準備 [#sde804a4] # 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 の更新 [#u5767f27] # ./gitup # 作業ブランチを保存してmasterブランチに戻る # git pull # masterブランチを更新 # git branch branch_name # ブランチを作る # get checkout branch_name # 以降の作業はブランチで行う - ''branch_name'' には分かり易い名前を自分でつける. - '' git branch'' コマンドで存在するブランチの一覧が表示される. #br *** パッチの適用とコンパイル [#i3ec5485] # ./opensim.currency/latest_update # ./opensim.nsl.tools/latest_update # ./update *** 設定ファイルの更新 [#g0e92542] # 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 の編集 *** 起動 [#i52f1a8a] # 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では不必要)[#d25fd239] # 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