グリッドモード(UGRM)
From OpenSimulator
(Difference between revisions)
(→User Server) |
(→bin/UserServer_Config.xml) |
||
Line 21: | Line 21: | ||
=== bin/UserServer_Config.xml === | === bin/UserServer_Config.xml === | ||
<Root> | <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_db;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> | </Root> | ||
Revision as of 19:48, 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
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_db;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>