$ /usr/local/mysql/bin/mysql -u root -p Enter password: パスワード mysql> create database opensim_db; mysql> grant all on opensim_db.* to opensim_username identified by 'opensim_password'; mysql> flush privileges; mysql> exit
# cat /etc/my.cnf [mysql] default-character-set=utf8 [mysqld] default-character-set=utf8
bin/OpenSim.ini | SIM の設定.ここでのポート指定はTCP用 |
bin/Regions/Regions.ini | 土地の設定,Region毎に設定.ここでのポート指定はUDP用 |
bin/config-include/GridCommon.ini | Inventory Server, Asset Server の設定 |
bin/config-include/FlotsamCache.ini | Asset Server のキャッシュ指定 |
bin/UserServer_Config.xml | User Server の設定 |
bin/GridServer_Config.xml | Grid Server の設定 |
bin/InventoryServer_Config.xml | Inventory Server の設定 |
bin/AssetServer_Config.xml | Asset Server の設定 |
bin/MessagingServer_Config.xml | Messaging Server の設定 |
bin/MoneyServer.ini | DTL Mony Server の設定 (オプション) |
# cd share/sql # mysql -u root -p mysql> create database opensim; mysql> use opensim; mysql> source mysql-agents.sql; mysql> source mysql-inventoryfolders.sql; mysql> source mysql-inventoryitems.sql; mysql> source mysql-logs.sql; mysql> source mysql-regions.sql; mysql> source mysql-users.sql; mysql> grant all on opensim.* to <sim_user> identified by '<sim_pass>'; mysql> flush privileges; mysql> quit # cd ../../bin # vi mysql_connection.ini
# sqlite3 -init share/sql/sqlite3-prims.sql bin/opensim.db sqlite> .exit # vi bin/OpenSim.ini storage_plugin = "OpenSim.DataStore.MonoSqlite.dll"