Fall2009/Infrastructure Setup Additional Material
From OpenSourceSoftwarePractice
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
- Obtain an Ubuntu disk.
- Installation slides: http://files.robescriva.com/ossp/ubuntu-install.pdf
- Make sure to have at least a 2.5 GB flash drive.
- Helpdesk information on setting up wireless (802.1x): http://helpdesk.rpi.edu/update.do?artcenterkey=762
- Helpdesk information on setting up vpnc: http://helpdesk.rpi.edu/update.do?artcenterkey=709
- Note that you can also use network-manager-vpnc to configure this with a GUI.
- Connect to sambasrv for printers/samba shares: http://helpdesk.rpi.edu/update.do?artcenterkey=765
Installing Additional Packages
Second Life Viewer
- Download from
- http://secondlife.com/support/downloads.php
- Select: SecondLife-i686-1.23.4.123908.tar.bz2
- Expand in some directory
- cd into that directory
- cd SecondLife-i686-1.23.4.123908
- launch with the command: ./secondlife
- Get your free SecondLife account at
- https://join.secondlife.com/?lang=en-US
- Log in and pass the training session.
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.
