install opensimulator local on pc [debian, ubuntu mate, windows]

based on:
http://www.freiesmagazin.de/ftp/2016/freiesMagazin-2016-03.pdf (page 4,5)
https://fredfire1.wordpress.com/2015/11/30/opensimulator-server-on-rpi2-raspberrypi/
https://fredfire1.wordpress.com/2014/07/20/opensim-raspberrypi/

==============================
for debian and ubuntu (linux):
==============================

install mono-complete:
sudo apt install mono-complete screen -y

install opensim:
based on:http://opensimulator.org/dist/
cd
#wget -qO - http://opensimulator.org/dist/opensim-0.8.2.1.tar.gz | tar xzf -
wget -qO - http://opensimulator.org/dist/opensim-0.9.0.0-rc2.tar.gz | tar xzf -

start local opensim server:
cd ~/opensim-0.9*/bin/ && ./opensim-ode.sh

choose your own region_name eg:region_name
and your own password eg:testpw
everything else works with default params

now you are able to login with firestorm or singularity with username: Test User and password testpw and you have to choose the grid localhost

grid url:
http://localhost:9000

stop local opensim server:
shutdown

create a launcher to run opensim:
sudo apt-get install screen #used to run a program in background

mkdir -p ~/.local/share/icons
cd ~/.local/share/icons
wget http://opensimulator.org/images/8/88/Opensimulator.svg
cd ~/.local/share/applications
nano Opensimulator.desktop

[Desktop Entry]
Name=Opensimulator
Comment=start Opensimulator
Exec=/usr/bin/screen -dmS opensim_run sh -c 'cd /home/xxUserxx/opensim-0.9.0.0-rc2/bin/;sh ./opensim-ode.sh'
Icon=/home/xxUserxx/.local/share/icons/Opensimulator.svg
Terminal=false
Type=Application
Categories=Application;Network;
StartupNotify=true
X-Desktop-File-Install-Version=3.0

use the correct username in starter:
cd ~/.local/share/applications
sed -i 's/xxUserxx/'$USER'/' Opensimulator.desktop

to quit it run in terminal:
screen -S opensim_run -x #gets you back the screen session
then run:
shutdown #shutdowns the opensim server

quit screen session:
exit #exits the screen session
or use the shortcut:
Ctrl+4

config show #to see the simulators ini file

enable groups:
nano ~/opensim-0.8.2.1/bin/OpenSim.ini
[Groups]
Enabled = true
Module = "Groups Module V2"
MessagingModule = "Groups Messaging Module V2"
ServicesConnectorModule = "Groups Local Service Connector"

server commands:
http://opensimulator.org/wiki/Server_Commands
https://fredfire1.wordpress.com/2015/11/30/opensimulator-server-on-rpi2-raspberrypi/

save inventory folder backup from console:
get back the console in screen:
screen -r
then run:
save iar Test User "backup/" testpw backup.iar
now it is located in:
~/opensim-0.8.2.1/bin/backup.iar

========================================================
or if you like to try also Osgrid (debian, ubuntu):
========================================================

based on:
http://www.osgrid.org/index.php/downloads

get it and prepare it:
cd
mkdir ~/osgrid
cd ~/osgrid
#wget http://danbanner.onikenkon.com/osgrid/osgrid-opensim-10022016.v0.9.0.f3e7603.zip
wget http://danbanner.onikenkon.com/osgrid/osgrid-opensim-01222017.v0.9.1.c673ef7.zip
unzip osgrid-opensim-*zip
rm osgrid-opensim-*.zip
chmod +x ~/osgrid/bin/opensim-ode.sh

replace OpenSim.ini and StandaloneCommon.ini from opensim folder:
cp ~/opensim-0.9.0.0-rc2/bin/OpenSim.ini ~/osgrid/bin/OpenSim.ini
cp ~/opensim-0.9.0.0-rc2/bin/config-include/StandaloneCommon.ini ~/osgrid/bin/config-include/StandaloneCommon.ini

start it once: #(use the same settings as for the tutorial above)
cd ~/osgrid/bin/ && ./opensim-ode.sh

create a starter:
mkdir -p ~/.local/share/icons
cd ~/.local/share/icons
wget -O OSgrid.png http://www.osgrid.org/favicon.ico
cd ~/.local/share/applications
nano OSgrid.desktop

[Desktop Entry]
Name=OSgrid
Comment=start OSgrid
Exec=/usr/bin/screen -dmS opensim_run sh -c 'cd /home/xxUserxx/osgrid/bin/;sh ./opensim-ode.sh'
Icon=/home/xxUserxx/.local/share/icons/OSgrid.png
Terminal=false
Type=Application
Categories=Application;Network;
StartupNotify=true
X-Desktop-File-Install-Version=3.0

use the correct username in starter:
cd ~/.local/share/applications
sed -i 's/xxUserxx/'$USER'/' OSgrid.desktop

====================
windows:
====================

instruction:
http://www.outworldz.com/outworldz_installer/

file:
http://www.outworldz.com/cgi/GetOutWorldz.plx?File=/Outworldz.zip

technical:
http://www.outworldz.com/outworldz_installer/Technical.htm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s