グリッドモード(UGRM)
From OpenSimulator
(Difference between revisions)
(→MySQL Server) |
(→MySQL Server) |
||
Line 2: | Line 2: | ||
== MySQL Server == | == MySQL Server == | ||
* MySQL で OpenSim用データベースを作成し,OpenSimの管理ユーザを登録しておく. | * MySQL で OpenSim用データベースを作成し,OpenSimの管理ユーザを登録しておく. | ||
− | + | * 例:データベース名 '''opensim''', OpenSim管理ユーザ '''openwim_user''', OpenSim管理パスワード '''opensim_pass''' の場合. | |
$ /usr/local/mysql/bin/mysql -u root -p | $ /usr/local/mysql/bin/mysql -u root -p | ||
Enter password: データベース全体の管理者のパスワード | Enter password: データベース全体の管理者のパスワード |
Revision as of 19:56, 17 November 2009
Contents |
Linux/Unix
MySQL Server
- MySQL で OpenSim用データベースを作成し,OpenSimの管理ユーザを登録しておく.
- 例:データベース名 opensim, OpenSim管理ユーザ openwim_user, OpenSim管理パスワード opensim_pass の場合.
$ /usr/local/mysql/bin/mysql -u root -p Enter password: データベース全体の管理者のパスワード mysql> create database opensim; mysql> grant all on opensim.* 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>