Change font size
It is currently Fri May 24, 2013 3:56 pm

Forum rules


Image
. please keep questions related to an OpenSimulator and OSgrid nature.



Post a new topicPost a reply Page 3 of 3   [ 26 posts ]
Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Wed Oct 26, 2011 9:05 pm 
Furious Typer
User avatar

Joined: Sat Jul 16, 2011 3:35 pm
Posts: 164
Bo Iwu wrote:
Exact documenting of every new parameter and creating of tutorials would slow down the release cycle.

I self run a grid too and the config files seems to be documented enough.

Bo


Last edited by Wolf Paws on Tue Feb 28, 2012 9:00 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Thu Oct 27, 2011 1:55 am 
OSG Elite
User avatar

Joined: Sat Nov 06, 2010 10:19 am
Posts: 1012
Location: Czech Republic
Hello,
that annotation was related to someone complaining about new services being not documented in wiki before OS release i believe.

I never discouraged people from adding stuff into the OpenSim wiki and even helping many here on forums to go over their installation troubles.

Bo

_________________
Helping people on OSG, giving my clothes&animations on Sulport@OSG[secondlife://Sulport/186/165]
, and also working for an another stable grid [ http://www.s-grid.net/about/ ]


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Tue Feb 28, 2012 10:22 am 

Joined: Thu Nov 18, 2010 5:49 pm
Posts: 8
I have transferred my sims to a Ubuntu Virtual server today and after its successfully running now (took me 6 hours as a Linux newbie), I thought I´d share how I finally succeeded. Please do not ask for any support, because beyond the process described below I don´t have a clue about Linux. I hope this helps though.

How I set-up a hosted Ubuntu Server for Opensim with remote access - for Win 7 clients

Recommended Set-up for:
Server: Hosted Virtual Server with Ubuntu 11.04 (Natty) minimal install and remote access via SSH terminal client (Putty & WinSCP) and fixed IP address.
Client: Windows 7

How to access the Ubuntu server via SSH (command line) on Win 7:
Install Putty for remote access to the server. http://www.chiark.greenend.org.uk/~sgta ... nload.html
Once installed, run Putty and open terminal window with server IP address (xx.xxx.xx.xxx), user (root) & password
You should see: (root)#

How to access the Ubuntu file system via SSH:
Install WinSCP. http://winscp.net/eng/download.php
Once installed, run WinSCP with server IP address (xx.xxx.xx.xxx), user (root) & password
You should see you local machine on the left and your server on the right.

Step 1: Installing necessary packages ontop of Ubuntu minimal install from online repository

HINT: To move between folders in Linux command line (Putty):
At the prompt# type: cd - for the root folder
At the prompt# type: Cd /usr - to move to the usr folder

a.) Run Putty, login to server

b.) To check repository - at the prompt# enter: sudo apt-get update
You should see a list of repositories (ex. deb http://archive.ubuntu.com/ubuntu natty main restricted universe)

c.) To install mono-complete - at the prompt# enter: sudo apt-get install mono-complete
This should automatically download mono from the repository and install it (will take some time)
If not, contact your provider.

Step 2: Installing OpenSim with SQLite:

a.) From Win 7: Download opensim-0.7.2-bin.tar.gz file from http://dist.opensimulator.org/opensim-0.7.3-rc2.tar.gz
With WinSCP: Copy the tar file to the server installation folder that you like (ex. cd /usr/opensim). WinSCP also supports folder creation.

b.) In Putty: Unpack the tar in the folder file with command: tar xfv opensim-0.7.2-bin.tar.gz
This should create a folder with all the subfolders and files on the server - check with WinSCP

c.) With WinSCP: Customize opensim.ini, gridcommon.ini and flotsamcache.ini. You can get the .ini files from you favorite grid.

d.) In Putty: Start Opensim in the installation bin folder with command: mono OpenSim.exe (be aware of capital letters!!)

e.) Follow the instructions for Opensim installation. http://opensimulator.org/wiki/Configuration

Step 3: To upload oar/iar files:

With WinSCP: Copy oar/iar files from your hard drive to the server
In Putty: At the prompt# type: load oar /usr/opensim/example.oar - if oar files are at this location

Step 4:
Access your standalone or grid with the Imprudence viewer and check set-up.

Good luck!


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Tue Mar 06, 2012 6:08 am 

Joined: Mon Feb 20, 2012 3:21 pm
Posts: 15
I think Yanna's post deserves to be a topic on it's own, and a sticky.

The instructions are 100% accurate. They don't just work on a hosted Ubuntu server, but also on a server that you run yourself.
I used an old desktop, installed Xubuntu (a lighter version of Ubuntu, because I don't need all the extras of Ubuntu, and I hate Unity), and used Yanna's guide to install everything on my Xubuntu server.


The original post is outdated. You don't have to compile Mono.

Yanna's instructions is everything you need to get a sim running on any ubuntu flavor.


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Tue Mar 27, 2012 11:28 am 
Site Admin
User avatar

Joined: Sun Feb 22, 2009 1:39 pm
Posts: 343
Location: Wisconsin, USA
Folks if you are going to be running Opensim on a public server it is important to make is safe from breach of security by hackers, which are trying continuously night and day to find a vulnerable server to take control of.
Yanna's post does not cover security at all, no offense please but your server is wide open to attack. You should not run your VPS or dedicated server as root! Please take a look at, and follow, this accurate and well written tutorial posted by Fred Leftwich:
Guide for Security on an Unmanaged VPS for OpenSim

Also, to clarify about the original post, it was written about setting up Opensim with Mono installed in your user directory, which many prefer to do instead of relying on the system install of mono which often lags behind what Opensim best runs on and it allows greater flexibility. In that case, Mono does need to be compiled. These days, however, Ubuntu and a few other distros come with a more recent version of Mono in the package managers. Ubuntu 11.10 is currently provided with Mono 2.10.5.

_________________
Help keep our forums a pleasant place. Please report any issues, disputes or flame wars with the Image button, don't try to play moderator. That's our job :)


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Wed Mar 28, 2012 4:06 pm 
Furious Typer
User avatar

Joined: Fri Aug 19, 2011 7:10 pm
Posts: 144
Location: Oldham, UK
If it helps for those users trying to set up a Linux server, I'm (still) working on a pre-built Debian OSGrid server which, when I get it working (and it could take a while based on current experiences) should involve no more than installing the OS from an .iso and answering a few questions. I still need to get a working ISO before I start on the server setup scripts, but the intention is to make it as easy as possible.

Note - This will NOT be a full desktop system - it will be the minimum needed to run a server, with a couple of useful extras such as ssh and gnu screen. This should allow it to be remotely administered, meaning that all you will need post install is the box itself. No monitor, no keyboard, no mouse etc.

I will be including my own watchdog script that I use to automatically restart the server if it crashes, which should eliminate the need for a local robust installation (if I'm not wrong, that's all most people use a local robust server for anyway, and my script is about 10k and significantly faster in doing that one job:)

_________________
50's sim based at Rumbled on OSGrid
happily running on Arch Linux for 1 year +


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 3 of 3   [ 26 posts ]
Go to page Previous  1, 2, 3


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net