Q-Sims - Installation: Difference between revisions
No edit summary
|Line 199:||Line 199:|
Latest revision as of 16:46, 27 October 2015
by AdNovea - May 2009
Q-Sims FULL edition installation
In order to run, Q-Sims needs the following QPKG packages to be installed on your server:
- Optware (Q-Sims will check if the screenand mysqlutilities are available or they will be installed through IPKG)
- Mono - The .NET FrameWork support for Linux
- FreeSwitch (optional) - for Voice chat
- Q-Sims FULL edition - The OpenSim simulator and QS-Manager web based interface
- OpenSim simulator binary available at OpenSimulator
IMPORTANT: Please read the section related to the Operating Modes before if not yet done.
- Install and Enable Mono QPKG
- Install FreeSwitch QPKG if you intend to use Voice chat in your metavers (see Add Voice Chat)
- Install but DO NOT Enable QSims (won't work anyway!)
IMPORTANT: Copy the OpenSim binary content into the /share/www_DATA/.qpkg/QSims/bin folder.
- Clik on the QSims Web Page link to start the QSA (Quick Start Assistant)
QS-Manager Quick Start Assistant
- Forward the ports on your router as mentioned on the welcome page
OpenSim listener port (used in Standalone mode and the remote administration)
UGAIM servers ports
OpenSim remoting listener port (not used in hypergrid mode)
SSL connections - one port per Grids
OpenSim remoting listener port (used for hypergrid mode)
Remote Grids data access (required to used the QS-Manager remote admin console)
FreeSwitch Voice chat port (only if you intend to use the voice chat and have installed FreeSwitch QPKG)
NOTE: QNAP UPnP MediaServer uses the port 9000.
If you have enabled this service, the port 9000 is already in use.
- The default default listener port can be redefined on the QSA page 3 to something else (e.g. 8500,9300, etc.).
- With a connection of your Sims to a public grid such as OSGrid.org you cannot change the default port 9000. Read the section about TwonkyMedia issues
- Select the mode you want to run (Normal mode is Grid mode) You shall click Apply to continue.
They are different modes but an easy start is to use the Standalone mode.
NOTE: OpenSim simulator can use either a SQLite or MySQL database. QS-Manager supports only the MySQL database. You can change without any troubles the type of database between two reinstallations. Available data are those present in the selected database only.
- Standalone mode (run a metaverse)
The "standalone" mode is well suited for a first installation and debug mode. No UGAIM servers are used. You can quickly entrer into the metavers (Sims) and play around.
- Grid mode (join a worldwide grid))
You will be able to connect your Q-Sims to other Sims running also the OpenSim simulator. In order to join a worldwide grid like osgrid.org for example and add your Q-Sims as a piece of a vast metaverse, you will have to register. You and your visitors will be able to navigate over the whole metaverse. UGAIM servers are managed by the Grid server.
- HyperGrid mode (navigate between grids)
HyperGrid mode allows teleportation between Sims (OpenSim). Hypergrid binds all OpenSims together into one vast metaverse. From now on, teleporting is possible from your viewer using the Map, to any other OpenSim including all Sims in an OS-Grid like osgrig.org for example or into a friend's standalone Sims if permitted. Before using the HyperGrid mode, you shall clearly understand the underlying implications.
- Check the default values (They are either the default during first installation or your previously entered values for reinstallation)
- Change here if needed the OpenSim default listener port (9000)
- Set your External Host Name, domain name or IP (eg. qnap.com)
- Default Master account password is "test" (Firstname=Test, Lastname=User, Password=test)
- Enter the A/C to access your MySQL (QNAP defaults are root/admin)
- OpenSim database default password is "os1234"
- QS-Manager default password is "test"
- Set your QSims admin e-mail address here
- Empty password are not allowed
- if a database already exists, you can erase it by typing "OK" (use cautiously)
- During the fifth step, the configuration files are created and FreeSwitch configuration updated (if FreeSwitch is installed)
- The following screen displays a waiting bar. While Q-Sims has not completed the database initialization, this screen is displayed. The database completion may took several minutes after you have launched Q-Sims especially in Mode 2 where OpenSim and the 5 UGAIM services will be started. Be patient!
- That' all folks !
Return to QPKG Admin page
Go back to the QNAP QPK administration page and ENABLE QSims.
You have to wait[*] for the Q-Sims servers to start. At the end of the starting process a "home" button is displayed. Click it to go to the QS-Manager Home page.
[*] This may take one or two minutes (the database initialization will be completed during the startup)
If you press instantaneously the Home button, you may get the message here below. Just wait 1 more minute and you will be sent to the Home page.
- You can login as administrator with your previous QS-Manager account (default A/C is admin/test).
On the administration page, the running servers are in green and the stop ones in red.
In Standalone mode only the OpenSim server is running whereas in other mode several ones are needed.
Enter your Sims for the first time
At this stage your Sims can be accessed.
Login using a viewer (eg. Hippo) and check you can get into it.
DO NOT RUSH ... some parameters have been determined and need to be applied.
- Therefore you must Exit the viewer, and Disable Q-Sims.
- Again, Enable Q-Sims and Restart the viewer to enter the metavers.
Only restarting Q-Sims is necessary. This is required to setup the permissions on your parcel and let you activate the Voice chat. Using the viewer is only suggested to check the correct behavior.
Complete the Master account in QS-Manager [Optional]
The Master account is created during the QSA installation process. Nevertheless, you may want to add additional information about this account.
- Edit the Master User (USER MANAGEMENT / Manage users and click on the edit icon) to make it the Banker.
- Enter the missing parameters such as name, etc.
How to Start/Stop QSims
Click on Home in the QS-Manager menu and check that all servers (OpenSim and UGAIM) are running (grid mode) or the OpenSim server only is up (Standalone mode)
- Should one or two servers goes down, click the Enable button on the QNAP QPKG admin page. This action restarts only the required servers that have been stopped.
- There is a watchdog to check every 5 minutes that all required servers are up and running.
- To Stop Q-Sims simply click the Disable button on the QNAP QPKG admin page.
Connect to your new QSims metavers
- Download and install Hippo or realXtend
- Read the instruction regarding the Viewer configuration on the QS-Manager Help pages or Configure the Viewers
Don't want to be Robinson Crusoé (quick way)
You feel alone on your island and want quickly some customization. The OpenSim community provides you some pre-configured lands.
- Download here the cyberlandia.tar.gz file for example and rename as cyberlandia.oar
- Stop QSims from the QPKG page
- From QS-Manager, run the Installation and select the Standalone mode
- Open a console and go to the "/bin" folder under Q"Sims
- Put the cyberlandia.oar file in it and type mono OpenSim.exe
- Check if you Master user exists or create one using create user Test User test and keep the other defaults.
- Once you get the prompt type load oar cyberlandia.oar
- After a couple of second the oar is loaded
- Open your viewer and log into your Q-Sims.
- You are on a much better island now!
Protect your Sims (Security)
Today, Q-Sims shall be considered as an experimental platform for testing virtual worlds.
If you have already done some nice work and want to protect it against visitor's aggressions or database corruption, here are below the instructions to save your data:
Saving a region
- start OpenSim in a console (stop first any previously running Q-Sims instance)# cd /share/xxx_DATA/.qpkg/QSims (or QSims_lite) # ./qsims.sh stop # cd bin # mono OpenSim.exe
- at the prompt access the region to saveRegions (<region_name># change region <region_to_save>
- Then save your region into the backup folderRegions (<region_name># save oar ../backup/myregion.oar
- in OpenSim.ini make the following changes:permissionmodules = "DefaultPermissionsModule" serverside_object_permissions = true allow_grid_gods = false
- set parcel permissions as desired with the estate and terrain menus for each parcel. Click World in the menu bar then select Region/Estate....
This gives you the full control over the parcel you own such as:
- defining the rights for Terraformation, avatar fly, damage, pushing
- management of your parcel
- limiting the number of simultaneous visitors (default is 40 visitors)
They are few features I added into QS-Manager regarding the current state of the art (OpenSimWI) to ease the installation on QNAP servers.
One shall understand that these developments are ALPHA ... and shall be considered kindly. The monetary system is implemented but fails to work so far (not a high priority for OpenSim community anyway)
- Remote console is able to send message but not to read data from the servers yet.
- Last but not least, I do encourage you to play with Q-Sims but keep in mind the Alpha status.
Your work is compatible with Second life so you must be able to move it into (visit the SL forums for more information about this topic)