グリッドモード(UGRM)
From OpenSimulator
(Difference between revisions)
(→bin/UserServer_Config.xml) |
(→User Server) |
||
Line 19: | Line 19: | ||
== User Server == | == User Server == | ||
+ | === 起動 === | ||
+ | # cd OPENSIM_TOP_DIR/bin | ||
+ | # mono OpenSim.Grid.UserServer.exe | ||
+ | |||
+ | === 初回起動時の設定 === | ||
+ | |||
+ | USER SERVER: Default Startup Message [Welcome to OGS]: Welcome to TEST Grid | ||
+ | USER SERVER: Default Grid Server URI [http://127.0.0.1:8001/]: | ||
+ | USER SERVER: Key to send to grid server [null]: | ||
+ | USER SERVER: Key to expect from grid server [null]: | ||
+ | USER SERVER: Default Inventory Server URI [http://127.0.0.1:8004/]: | ||
+ | USER SERVER: User Server (this) External URI for authentication keys [http://localhost:8002/]: | ||
+ | USER SERVER: Path to library control file [./inventory/Libraries.xml]: | ||
+ | USER SERVER: DLL for database provider [OpenSim.Data.MySQL.dll]: | ||
+ | USER SERVER: Connection String for Database []: Data Source=127.0.0.1;Database=opensim;User ID=opensim_user;Password=opensim_pass; | ||
+ | USER SERVER: Http Listener port [8002]: | ||
+ | USER SERVER: Use SSL? true/false [False]: | ||
+ | USER SERVER: Known good region X [1000]: | ||
+ | USER SERVER: Known good region Y [1000]: | ||
+ | USER SERVER: Enable LLSD login support [Currently used by libsl based clients/bots]? true/false [True]: | ||
+ | USER SERVER: Enable Hypergrid login support [Currently used by GridSurfer-proxied clients]? true/false [True]: | ||
+ | USER SERVER: Minimum Level a user should have to login [0 default] [0]: | ||
+ | USER SERVER: Remote console access user name [Default: disabled] []: | ||
+ | USER SERVER: Remote console access password [Default: disabled] []: | ||
+ | |||
=== bin/UserServer_Config.xml === | === bin/UserServer_Config.xml === | ||
<Root> | <Root> | ||
Line 25: | Line 50: | ||
default_authentication_server="http://127.0.0.1:8003/" library_location="./inventory/Libraries.xml" | default_authentication_server="http://127.0.0.1:8003/" library_location="./inventory/Libraries.xml" | ||
database_provider="OpenSim.Data.MySQL.dll" | database_provider="OpenSim.Data.MySQL.dll" | ||
− | database_connect="Data Source=127.0.0.1;Database= | + | database_connect="Data Source=127.0.0.1;Database=opensim;User ID=opensim_user;Password=opensim_pass;" |
http_port="8002" http_ssl="False" default_X="1000" default_Y="1000" enable_llsd_login="True" | http_port="8002" http_ssl="False" default_X="1000" default_Y="1000" enable_llsd_login="True" | ||
enable_hg_login="True" default_loginLevel="0" console_user="" console_pass="" /> | enable_hg_login="True" default_loginLevel="0" console_user="" console_pass="" /> |
Revision as of 19:55, 17 November 2009
Contents |
Linux/Unix
MySQL Server
- MySQL で OpenSim用データベースを作成し,OpenSimの管理ユーザを登録しておく.
- 例:データベース名 opensim_db, OpenSim管理ユーザ openwim_user, OpenSim管理パスワード opensim_pass の場合.
$ /usr/local/mysql/bin/mysql -u root -p Enter password: データベース全体の管理者のパスワード mysql> create database opensim_db; mysql> grant all on opensim_db.* to opensim_user identified by 'opensim_pass'; mysql> flush privileges; mysql> exit
- グループ理念などで日本語を表示できるようにするには,/etc/my.cnf を編集して文字コードを utf8 にする
# cat /etc/my.cnf [mysql] default-character-set=utf8 [mysqld] default-character-set=utf8
User Server
起動
# cd OPENSIM_TOP_DIR/bin # mono OpenSim.Grid.UserServer.exe
初回起動時の設定
USER SERVER: Default Startup Message [Welcome to OGS]: Welcome to TEST Grid USER SERVER: Default Grid Server URI [1]: USER SERVER: Key to send to grid server [null]: USER SERVER: Key to expect from grid server [null]: USER SERVER: Default Inventory Server URI [2]: USER SERVER: User Server (this) External URI for authentication keys [3]: USER SERVER: Path to library control file [./inventory/Libraries.xml]: USER SERVER: DLL for database provider [OpenSim.Data.MySQL.dll]: USER SERVER: Connection String for Database []: Data Source=127.0.0.1;Database=opensim;User ID=opensim_user;Password=opensim_pass; USER SERVER: Http Listener port [8002]: USER SERVER: Use SSL? true/false [False]: USER SERVER: Known good region X [1000]: USER SERVER: Known good region Y [1000]: USER SERVER: Enable LLSD login support [Currently used by libsl based clients/bots]? true/false [True]: USER SERVER: Enable Hypergrid login support [Currently used by GridSurfer-proxied clients]? true/false [True]: USER SERVER: Minimum Level a user should have to login [0 default] [0]: USER SERVER: Remote console access user name [Default: disabled] []: USER SERVER: Remote console access password [Default: disabled] []:
bin/UserServer_Config.xml
<Root> <Config default_startup_message="Welcome to TEST Grid" default_grid_server="http://127.0.0.1:8003/" grid_send_key="" grid_recv_key="" default_inventory_server="http://127.0.0.1:8003/" default_authentication_server="http://127.0.0.1:8003/" library_location="./inventory/Libraries.xml" database_provider="OpenSim.Data.MySQL.dll" database_connect="Data Source=127.0.0.1;Database=opensim;User ID=opensim_user;Password=opensim_pass;" http_port="8002" http_ssl="False" default_X="1000" default_Y="1000" enable_llsd_login="True" enable_hg_login="True" default_loginLevel="0" console_user="" console_pass="" /> </Root>