Fall2009/Infrastructure Setup Additional Material

From OpenSourceSoftwarePractice

Jump to: navigation, search

Contents

Mailing List

  • Subscribing all students
  • Bookmarking the Wiki
  • Creating Wiki user accounts

Social Network

  • Create User Accounts
  • Create Groups
  • Build Census of Expertise
    • Who has installed Linux from scratch
    • Who has compiled the Linux Kernel
    • Who has modified the Linux Kernel
    • Who has installed mailman
    • Who has installed a Wiki
    • Programming Languages
      • Assembly
      • C
      • C++
      • PHP
      • Python
      • Java
      • C#
  • Connect Tutors with apprentices in all areas

Virtual Environment

  • Create User Accounts in the Science Simulator
  • Point to Second Life tutorial
    • World Navigation
    • Second Life Scripting

Installing Ubuntu on a USB Stick

Installing Additional Packages

Second Life Viewer

OpenSimulator

Downloading

  • Read instructions from:
  • Install additional packages
    • sudo apt-get install subversion nant mono-gmcs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil libgdiplus libmono-i18n2.0-cil libmono-oracle2.0-cil
  • Download opensim Source code
    • Use stable: 0.6.6-release (SVN version 9961)

Building

  • Build steps
    • cd opensim
    • ./runprebuild.sh
    • nant
    • cd bin
    • mono OpenSim.exe
      • or in 32 bits: mono OpenSim.32BitLaunch.exe

Configuring

  • Second Life partition the word into regions of 1000 meters x 1000 meters.
  • You must define the regions of your simulation
  • cd bin
  • cd Regions
  • and edit (or create this file if it is not there) the file: default.xml

Here is the content of mine:

 <Root>
 <Config sim_UUID="b951b4fd-1c3c-4f95-b008-57e26edafd30" sim_name="OpenSim Test" sim_location_x="1000" sim_location_y="1000" internal_ip_address="0.0.0.0" internal_ip_port="9000" allow_alternate_ports="false" external_host_name="127.0.0.1" master_avatar_uuid="00000000-0000-0000-0000-000000000000" master_avatar_first="test" master_avatar_last="user" master_avatar_pass="test" lastmap_uuid="1f28dfc0-e06a-4060-8f5c-1570bd70d88f" lastmap_refresh="1252162674" nonphysical_prim_max="0" physical_prim_max="0" clamp_prim_size="false" object_capacity="0" scope_id="00000000-0000-0000-0000-000000000000" />
 </Root>%


Note the fields

  • "sim name"
  • "sim_location_x"
  • "sim_location_y"

How to run in your own computer

  • From one terminal start the OpenSimulator
  • Wait until you see the text:
   10:57:54 - [!]:STARTUP COMPLETE
   10:57:54 - Currently selected region is OpenSim Test
   10:57:54 - [STARTUP]: Startup took 0m 10s
   Region (OpenSim Test) #  

The times in will be different for you (of course).

  • Type "help" to see all the possible commands
  • Create a user with the following command
      create user   Luke  Skywalker   secretpassword
  • See the list of users with the command
      show users
  • Then you can go to your SecondLife viewer directory
  • and launch it with the command:
    ./SecondLife-i686-1.23.4.123908/secondlife  -loginuri http://127.0.0.1:900


  • at that point you should be able to log in, in the simulator that is running in your own computer.
  • If you go back to the opensimulator terminal, and type "show users", you should see your name now.
  • You could log in other machines' simulators by replacing the localhost address "127.0.0.1" with the IP address of the machine that you want to connect to.
  • At this point you can start practicing with the SL Scripting language.
Personal tools