Install a bunch of programs you will need

From Open Metaverse Wiki

Opensimulator: Grid Owners: Install a bunch of programs you will need

There are a bunch of utilities that you will need to run the grid, here are are some you will probably want:


PHP came installed, but was missing many libraries

Run this from the root account:

   apt install php-mbstring
   apt install php-zip
   apt install php-gd
   apt install php-json
   apt install php-curl

Install WEBmin, if it is not installed already

WEBmin is a web based utility for managing many things about your system. It has a nice graphical display showing how busy your server is. It can do system upgrades for you. It has a WEB interface for setting up cron jobs. And many more tasks. Make sure curl and gpg are installed then from the root account:

   curl -fsSL https://download.webmin.com/jcameron-key.asc | gpg --dearmor -o /usr/share/keyrings/webmin.gpg
   	;edit /etc/apt/sources.list with your favorite editor and insert this line on the end:
   deb [signed-by=/usr/share/keyrings/webmin.gpg] http://download.webmin.com/download/repository sarge contrib
   apt update
   apt install webmin
   	;then look at your domain:10000 on a browser.

Install Image Magick

OpenSim stores all images in the assets as JPEG 2000 images, but very few programs can handle these images. Image Magick is one, and it also has a plug-in to PHP to allow scripts to handle these images.

   apt install libopenjp2-tools
   apt install imagemagick-6.q16
   apt install php-imagick

Install PHPmyAdmin so you can manage your databases from a WEB page

From the root account:

   apt install phpmyadmin
   	;Warning: This uses a terrible text interface, you must use SPACE to
   	;select apache2 TAB to get to the ok button and ENTER to execute.
   ;now in a browser you can go to https://your.domain/phpmyadmin
   ;Log into phpmyadmin using the osuser and password set above

Install mono

Mono is the compiler/library that OpenSim is built around. This is an open-source reverse-engineered version of the MicroSoft "dotnet" framework. Mono allows you to run C# programs on Windows, Mac or Linux. From the root account (these are the instructions for installing on Ubuntu 22.04, check mono-project.com for the latest information). Note the long lines, keep those together:

   apt install ca-certificates gnupg
   gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
   echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
   apt update
   apt install mono-complete
   mono -V
       ;it should be version 6.12 or better

Install dotnet

This is going to replace mono soon, we are compiling OpenSim on it already. From the Linux root account:

   snap install dotnet-sdk --classic
   dotnet --version	;it should be 7.0 or better

Install git

This is a source management tool. You will be using it to get the sources of OpenSim. Install from the linux root account:

   apt install git

Install 'screen'

Screen is a way to leave programs, like OpenSim.exe, running in the background. We are going to need it a lot! Install from the Linux root account:

   apt install screen

Next: Setting up an account for OpenSim