新浪博客

、需求
Gccg++mononant
Apt get install gcc
Apt get install g++
Apt get install monodevelop
Apt get install nant
Apt get install mysql-server
Apt get install subversion
3、安装
//apt-get install subversion nant mono-gmcs libmono-microsoft8.0-cil //libmono-system-runtime2.0-cil libgdiplus libmono-i18n2.0-cil
svn co http://opensimulator.org/svn/opensim/trunk opensim
cd opensim
./runprebuild.sh
Nant
4、安装过程troubleshooting
Channel.tcp 无法找到,确认命名空间
Jscript 无法找到,确认命名空间
等类似问题,说明 mono 某些组件没有装全,
The type or namespace name JScript does not exist in the namespace Microsoft
Note that it says Jscript over and over again. Hint perhaps?

apt-get install mono-mjs libmono-microsoft8.0-cil

The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels
apt-get install libmono-system-runtime2.0-cil

5、配置
nant succssed
cd opensim/bin
cp opensim.ini.example opensim.ini
cp mysql_connection.ini.example mysql_connection.ini
vi mysql_connection.ini
[mysqlconnection]
hostname=localhost
database=opensim
user id = <your user id>
password= <your pswd>
保存,退出
vi opensim.ini
[Startup]
gridmode = false

; ##
; ## STORAGE
; ##
; --- To use MySQL storage, supply your own connectionstring (this is only an example):
; note that the supplied account needs create privilegies if you want it to auto-create needed tables.
storage_plugin='OpenSim.Data.MySQL.dll'
storage_connection_string='Data Source=localhost;Database=opensim;User ID=<your user id>;Password=<user passwd>;';
regions.
;asset_database = 'local'
;asset_database = 'grid'
asset_database = 'mysql'


; ##
; ## PHYSICS
; ##

;meshing = ZeroMesher
meshing = Meshmerizer

; Choose one of the physics engines below
;physics = basicphysics
;physics = POS
physics = OpenDynamicsEngine
;physics = modified_BulletX


startup_console_commands_file = 'startup_commands.txt'
shutdown_console_commands_file = 'shutdown_commands.txt'

;permissionmodules

我的更多文章

下载客户端阅读体验更佳

APP专享