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