41
Installing Diva Distro (OpenSim) Private Sandbox - Standalone Sim Chris Collins (SL: Fleep Tuque) Ohio Learning Network, University of Cincinnati ~ [email protected]

Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Embed Size (px)

DESCRIPTION

Slides from the Ohio Learning Network Second Life Monthly Meetup - November 2010: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Citation preview

Page 1: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Installing Diva Distro (OpenSim)Private Sandbox - Standalone Sim

Chris Collins (SL: Fleep Tuque)

Ohio Learning Network, University of Cincinnati ~ [email protected]

Page 2: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Why Diva? What do I need? Diva Distro is a much simpler installation Good to have a private FREE sandbox if you

build Allows your content to be portable to other

grids Viewing the console has much to teach about

OpenSim AND Second Life

For standalone mode, need machine running Windows or Linux. (Sorry Mac users! Though if you have bootcamp, still should be able to do in Windows mode.)

Page 3: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

STEP 1: Download Diva Distro Download the Diva Distro from GitHub

https://github.com/diva/d2/downloads

Select the “Preconfigured Hypergridded Standalone” version

Unzip the packaged file on your computer

If on Linux, must install Mono 2.4.2 or higher

Page 4: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Linux Users Only – Install Mono Instructions depend on your flavor of Linux

Need Mono 2.4.2 or higher, older versions won’t work

Mono project includes many components, if you don’t plan to do dev work, only need the mono framework itself

http://www.go-mono.com/mono-downloads/download.html

Page 5: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Step 2 – Install MySQL & MySQLAdmin http://dev.mysql.com/downloads/ (MySQL 5 or higher) Select Community

Start MySQL server > start command line for root $: mysql -u root –p –h localhost mysql> create database opensim; mysql> create user opensim identified by

‘yourpassword’; mysql> create user 'opensim'@'localhost' identified by 'your_password_here'; mysql> grant all on opensim.* to opensim; mysql> grant all on opensim.* to ‘opensim’@’localhost’; mysql> FLUSH PRIVILEGES;

Page 6: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

MySQL Downloads – Community Server

Page 7: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Download MySQL Community Server

Page 8: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Download MySQL Community Server

Page 9: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Choose a Mirror and Download

Page 10: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Save Download File

Page 11: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Install MySQL – Start Install

Page 12: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Install MySQL – Setup Type Choose “Typical”

Page 13: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Install MySQL – Finish Install

Page 14: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Install MySQL – Skip the offers

Page 15: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Install MySQL – Finish Install & Configure

Page 16: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL - Wizard

Page 17: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Config Type Select “Detailed Configuration”

Page 18: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Server Type Select “Developer Machine”

Page 19: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Database Usage Select “Multifunctional Database”

Page 20: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Installation Path Leave at default setting

Page 21: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Concurrent Connections Select “Decision Support”

Page 22: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Networking Options Select “Enable TCP/IP Networking” (Port 3306) Check “Add Firewall exception for this port” Select “Enable Strict Mode”

Page 23: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Character Set Select “Standard Character Set”

Page 24: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Windows Options Select “Install as a Windows Service” Select “Launch MySQL Server automatically” Select “Include Bin Directory in Windows

PATH”

Page 25: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Security Options Select “Modify Security Settings” and choose

password DO NOT FORGET THIS PASSWORD!!! DO NOT ENABLE ROOT ACCESS FROM

REMOTE MACHINES!!!

Page 26: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL - Execute Make it happen! Click Execute!

Page 27: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Configure MySQL – Finish Wizard Click “Finish”

Page 28: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Open Command Line Window Windows Start > Run > cmd

Page 29: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Enter Command Line MySQL Type: mysql –u root –p –h localhost Enter Password

Page 30: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Create Database Opensim From mysql prompt type: create database

opensim;

Page 31: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Create User OpenSim Type: create user opensim identified by

‘yourpassword’;

Page 32: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Create User opensim@localhost Type: create user 'opensim'@'localhost'

identified by 'your_password_here';

Page 33: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Grant Permissions to opensim Type: grant all on opensim.* to opensim;

Page 34: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Grant permissions to opensim@localhost Type: grant all on opensim.* to

‘opensim’@’localhost’;

Page 35: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Flush Privileges Type: FLUSH PRIVILEGES;

Close the window

Page 36: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Step 3 – Run Configure.exe Locate the /bin directory in your unzipped

Diva Distro and run configure.exe

Answer the questions it asks with your preferences, can change these later if needed

Config options can be edited in bin/config-include/MyWorld.ini

Page 37: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Find your Internal IP Address Open Command line: Windows Start Menu >

Run > Cmd Type: ipconfig

Note your IPv4 Address – mine is 192.168.1.6

Page 38: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Step 3 – Diva Distro - Configure Locate the /bin directory of your Diva Distro

Page 39: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Run Configure.exe Name of your world: [Enter your region

name] Enter MySQL password Enter your internal IP address noted in earlier

step Choose 1 for Windows or 2 for Unix Hit enter through all the wifi options (leave at

defaults)

Page 40: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Step 4 – Run OpenSim.exe Locate the /bin directory in your unzipped Diva Distro

Run the OpenSim.exe file If on Win7 64-bit run OpenSim.32BitLaunch.exe

Estate – NO New Estate Name: Your region name Estate Owner First Name: Your avatar first name Estate Owner Last Name: Your avatar last name Password: Your password Email: Your email address

(Repeat 4 times)

Page 41: Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox

Step 5 – Connect to your sim! Download the Imprudence viewer at

http://imprudenceviewer.org/wiki/Downloads

Install Imprudence and run it, click the “Grid Manager” button > Add New Grid

Grid Name: Your grid name Loginuri: http://yourlocalIPaddress:9000 Example: http://192.168.1.6:9000

Log in!