OpenSim 0.9.0 on FreeBSD 11.1: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
In the past, I ran into issues with lang/mono and core dumps, memory leaks and so on, but now it seems that there have been some improvements with mono and also with the OpenSim developers to deliver a reliable platform that even works on FreeBSD. | In the past, I ran into issues with lang/mono and core dumps, memory leaks and so on, but now it seems that there have been some improvements with mono and also with the OpenSim developers to deliver a reliable platform that even works on FreeBSD. | ||
To get started, setup a FreeBSD system running version 11.1 amd64. I use vmWare to create a virtual machine for this configured with 1536MB Ram, 2 CPU cores and 32GB of diskspace. Use GPT for the partitions and accept the default sizes for boot, swap and root. | To get started, setup a FreeBSD system running version 11.1 amd64. I use vmWare to create a virtual machine for this configured with 1536MB Ram, 2 CPU cores and 32GB of diskspace. Use GPT for the partitions and accept the default sizes for boot, swap and root. I also use a separate server running MySQL Database server (percona56-server). Instructions for Standalone and Grid/Robust are included. | ||
After the initial base install of FreeBSD 11.1, run the updates: | After the initial base install of FreeBSD 11.1, run the updates: | ||
| Line 26: | Line 26: | ||
<nowiki> | <nowiki> | ||
pkg install git | pkg install git | ||
pkg install | pkg install wget | ||
pkg install | pkg install mysql56-client | ||
pkg install screen | pkg install screen | ||
pkg install mono | pkg install mono | ||
pkg install libgdiplus | pkg install libgdiplus | ||
| Line 38: | Line 36: | ||
pkg install libtool | pkg install libtool | ||
pkg install gmake | pkg install gmake | ||
pkg install gcc | |||
</nowiki> | |||
|} | |||
If you are running a Grid, also install the following on the Robust server: | |||
{| | |||
|- | |||
| | |||
<nowiki> | |||
pkg install apache24 | |||
pkg install php56 | |||
pkg install mod_php56 | |||
pkg install php56-xmlrpc | pkg install php56-xmlrpc | ||
pkg install php56-curl | pkg install php56-curl | ||
pkg install php56-mysqli | pkg install php56-mysqli | ||
</nowiki> | </nowiki> | ||
|} | |} | ||
| Line 74: | Line 83: | ||
# | # | ||
linux_enable="YES" | linux_enable="YES" | ||
</nowiki> | |||
|} | |||
Login to the MySQL Server and create the databases: | |||
{| | |||
|- | |||
| | |||
<nowiki> | |||
create database opensim01; | |||
grant all on opensim01.* to opensim01@'opensim01.yourdomain.com' identified by 'Passw0rd'; | |||
create database robust01; | |||
grant all on robust01.* to robust01@'robust01.yourdomain.com' identified by 'Passw0rd'; | |||
</nowiki> | |||
|} | |||
Download the opensim-0.9.0.0 binaries and source: | |||
{| | |||
|- | |||
| | |||
<nowiki> | |||
wget http://opensimulator.org/dist/opensim-0.9.0.0.tar.gz | |||
wget http://opensimulator.org/dist/opensim-0.9.0.0-source.tar.gz | |||
</nowiki> | |||
|} | |||
Extract the opensim-0.9.0.0.tar.gz and opensim-0.9.0.0-source.tar.gz files to / then create a link for opensim: | |||
{| | |||
|- | |||
| | |||
<nowiki> | |||
cp opensim-0.9.0.0.tar.gz / | |||
cp opensim-0.9.0.0-source.tar.gz / | |||
cd / | |||
gunzip opensim-0.9.0.0.tar.gz | |||
gunzip opensim-0.9.0.0-source.tar.gz | |||
tar -xvf opensim-0.9.0.0.tar | |||
tar -xvf opensim-0.9.0.0-source.tar | |||
rm opensim-0.9.0.0.tar opensim-0.9.0.0-source.tar | |||
ln -s /opensim-0.9.0.0 /opensim | |||
</nowiki> | </nowiki> | ||
|} | |} | ||