OpenSimulator (or just OpenSim) is an open-source 3D virtual world simulation server platform. It allows multiple users to custom-build a virtual environment, and to interact with each other in real-time, much like in Second Life. The virtual world simulated by OpenSim can be accessed by multi-platform viewer clients. This guide shows you how to set up a single node OpenSim server, and how to use OpenSim viewer client to access the virtual world simulated by the server.
OpenSim Server installation
The following set-up has been tested on 64-bit Ubuntu 12.10 Server machine. Hardware requirements for OpenSim server vary depending on the number of avatars and complexity of virtual worlds, but in general multi-core hardware is recommended. Check OpenSim website for detailed hardware requirements.
First, install prerequisites for OpenSim.
$ sudo apt-get install libmono-microsoft8.0-cil
Download the latest OpenSim binaries, and start the OpenSim server.
$ tar xvfvz opensim-0.7.4.tar.gz
$ cd opensim-0.7.4/bin
The first time you run OpenSim server, it will ask you various questions setting up regions, etc. Make a note of "First name", "Last name" and "Password" you entered. Once it successfully goes through initial configuration, you will get OpenSim Prompt:
OpenSim Client installation
The following OpenSim viewer client set-up has been tested on 32-bit Ubuntu Desktop 12.04.
The official Second Life viewer which is provided by Linden Lab no longer works with OpenSim, as they dropped support for OpenSim recently. There are several alternative OpenSim viewers you can use. In this example, I am going to use Imprudence OpenSim viewer.
Download Imprudence viewer binary from their website, and run it as follows.
$ cd Imprudence-1.3.2b-Linux-x86
If you are getting "libjpeg.so.62 not found" error while running Imprudence, install the following package.
Once Imprudence viewer is successfully run, you will see "First Name", "Last Name", "Password" blanks toward the bottom of Imprudence GUI. Before proceeding, you need to configure the grid information of your OpenSim server. For that, click on "Grid Manager" button at the bottom of the screen. It will open up Grid Manager window, as shown below.
Click on "Add new grid" menu on the left, and fill in the following information.
- Grid name: opensim
- Login URI: http://192.168.233.138:9000/
- Login page: http://192.168.233.138:9000/?method=login
Replace 192.168.233.138 with the IP address of your OpenSim server.
Finally, to log in, choose "opensim" grid that you just set up, and type in First/Last name and password.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to switch from NetworkManager to systemd-networkd on Linux - August 31, 2015
- How to set up a system status page of your infrastructure - August 25, 2015
- How to configure virtual hosts in Apache HTTP server - August 24, 2015