Change font size
It is currently Wed May 22, 2013 6:25 am

Forum rules


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



Post a new topicPost a reply Page 1 of 3   [ 26 posts ]
Go to page 1, 2, 3  Next
Author Message
 Post subject: Setting up opensim on ubuntu
PostPosted: Fri May 07, 2010 9:48 am 

Joined: Fri Nov 06, 2009 8:38 pm
Posts: 2
Tested on 9.04, 9.10, 10.04
First we are going to get packages for mono compile (2.6.3 at the time of this writing.)
Code:
sudo apt-get install libtool libpng3 libpng-dev libjpeg-dev libtiff-dev libexif-dev libgif-dev bison automake xorg-dev libgtk2.0-dev


libgdiplus from Tarball:
http://ftp.novell.com/pub/mono/sources-stable/
download the snapshot (libgdiplus-xxxxxx.tar.bz2) for libgdiplus that is available at the time you click the link above.

tar xfv libgdiplus-xxxxxx.tar.bz2
cd libgdiplus-xxxxxx
./configure --prefix=/home/<user>/bin/mono
make
make install

Mono From Tarball:
http://ftp.novell.com/pub/mono/sources-stable/
download the snapshot (mono-xxxxxx.tar.bz2) for mono that is available at the time you click the link above.

tar xfv mono-xxxxxx.tar.bz2
cd mono-xxxxxx
./configure --prefix=/home/<user>/bin/mono
make
make install

edit the .bashrc file in your /home/<user> and insert and adjust the following for your specific install
Code:
export PATH="/home/<user>/bin/mono/bin:$PATH"
export PKG_CONFIG_PATH="/home/<user>/bin/mono/lib/pkgconfig:$PKG_CONFIG_PATH"
export MANPATH="/home/<user>/bin/mono/share/man:$MANPATH"
export LD_LIBRARY_PATH="/home/<user>/bin/mono/lib:$LD_LIBRARY_PATH"
export MONO_THREADS_PER_CPU=75

if you have trouble compiling check the responses below for some fixes.

Next we are going to setup mysql, its going to ask you to set the root password
sudo apt-get install mysql-server mysql-client

next login to mysql.
Code:
mysql -u root -p

next create opensim database
Code:
create database opensim;

type quit to exit mysql command line

download the latest osgrid build from http://www.osgrid.org/elgg/pg/utilities/software


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Thu May 27, 2010 10:01 pm 
Site Admin
User avatar

Joined: Sun Feb 22, 2009 1:39 pm
Posts: 342
Location: Wisconsin, USA
To finish this topic, if I may, before you quit mysql you next need to create a user. I called mine "osgrid".
Code:
create user ‘osgrid’@’localhost’ identified by ‘passxxxx';

Next, you give the user full privileges:
Code:
grant all on *.* to ‘osgrid’@’localhost’;

You can quit now, then go to OpenSim.ini and edit the MySQL storage lines for storage_plugin & storage_connection_string on about line #140.
Be sure to put a ; (comment character, which disables a line) in front of the two lines for sqlite's lines just above this, and uncomment the ones for mysql.

_________________
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 Sep 29, 2010 4:00 pm 

Joined: Sun Feb 21, 2010 11:52 am
Posts: 6
I will just ask polite if somebody can make a tutorial STEP BY STEP about installing OpenSim (osgrid only) in UBUNTU ... You see...English it is not my first language (it is even not the lastone) and i will realy need somebody to explain me complet , step by step like for a novice , how to set up in UBUNTU. I dont wan to be a bad person when i said this but you guys are look so profesional making this tutorial in two words ...it is just like when you've drop't a note somewhere just like that to not loose the ideea.. I need a tutorial , not a tentative ...lol . Look to the Whitestar tutorials ! Are impecable ! Personal i dont understand nothing from this tutorial (and be shure it is not the firstone that i see ) . I think if you dont like to write , better to not start to make atutorial... thisone i can consider it a shame , but not a tutorial... If somebody know how to do i will ask to do it , because here are com a loat of ppl that realy need a tutorial... Learn how to keep him here and dont force him to go in another grids looking for a gud tutorial...


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Thu Sep 30, 2010 2:51 pm 
User avatar

Joined: Mon Jan 04, 2010 9:04 am
Posts: 27
Sim on Osgrid with Ubuntu tutorial:

http://freecultureopensim.blogspot.com/2010/02/sim-on-osgrid-with-ubuntu.html

_________________
3D painting artist and free culture freak
http://www.rubendehaan.com.ar/


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Thu Oct 07, 2010 9:49 am 

Joined: Fri Nov 06, 2009 8:38 pm
Posts: 2
I am making a more user friendly version will post when its done.


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Tue Oct 12, 2010 9:45 am 
Furious Typer

Joined: Sat Sep 19, 2009 5:49 am
Posts: 84
It is quite easy to set up a region using the 10.0.4 LTS Ubuntu server

I made a pdf file - look here -

http://cid-d7da4d5bde817887.office.live ... Osgrid.pdf

this version of the server already has a useable mono, so no need to compile your own. It works very well even on very old hardware.


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Thu Oct 21, 2010 1:42 pm 
Site Admin
User avatar

Joined: Sun Feb 22, 2009 1:39 pm
Posts: 342
Location: Wisconsin, USA
So when you create your database, and don't create a mysql user, what do you put for user in the connection string of the ini file? I assume it would be the root user, but is that a good idea? or not?
Not sure myself, just curious.

_________________
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: Thu Oct 21, 2010 7:22 pm 
Furious Typer
User avatar

Joined: Fri Oct 17, 2008 11:30 am
Posts: 299
Location: Yorkshire, England
FWIW, I create a new user, "opensim", in MySQL, give that user full access to the opensim database only, and use that in the connection strings. It strikes me as inadvisable to use root for the opensim database, but I don't know specifically what problems that could cause.

_________________
John
UK resident; OSGrid & Second Life: "Barrington John"; code monkey in RL
OSGrid region server: P4/3.6GHz/2GB, Ubuntu Karmic/Mono 2.6/MySQL 14.14v5.1.37, home ADSL (~8.5Mbps/0.85Mbps), 8-14 regions, 2 users


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Sat Sep 17, 2011 8:59 am 
User avatar

Joined: Sat Sep 17, 2011 8:50 am
Posts: 7
Location: Caerdydd, Cymru, DU
I can only echo cristian raremaster's comments... this tutorial is not good... it's confusing, and as is all too common, assumes too much prior knowledge. It also makes things far more complicated than needs be, Mono does not need to be compiled in Ubuntu 10.04 Server... it's already in the repository. Open Source software deserves to be more widely used, but unless people have a 'way in' it is just not going to happen. I shall put my mouth where my money isn't and post an easy 'step-by-step' tutorial once I have managed to get a region up and running, and my tutorial will have been tested on a completely non-techie person to the point of success

_________________
The only safe assumption that can be made is to make no assumptions at all.


Top
 Profile  
 
 Post subject: Re: Setting up opensim on ubuntu
PostPosted: Sat Sep 17, 2011 12:40 pm 
Furious Typer
User avatar

Joined: Fri Oct 17, 2008 11:30 am
Posts: 299
Location: Yorkshire, England
Susannah Avonside wrote:
Open Source software deserves to be more widely used, but unless people have a 'way in' it is just not going to happen. I shall put my mouth where my money isn't and post an easy 'step-by-step' tutorial once I have managed to get a region up and running, and my tutorial will have been tested on a completely non-techie person to the point of success
This is exactly the kind of thing that OpenSim needs - a lowering of the technical barrier so more people can get into it and start using it. I have my own grid up and running, but I feel nervous whenever a new version comes out because I simply don't understand half of what I did to get to that stage. :)

_________________
John
UK resident; OSGrid & Second Life: "Barrington John"; code monkey in RL
OSGrid region server: P4/3.6GHz/2GB, Ubuntu Karmic/Mono 2.6/MySQL 14.14v5.1.37, home ADSL (~8.5Mbps/0.85Mbps), 8-14 regions, 2 users


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


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