Linux Gridserver
From OpenSimulator
(Difference between revisions)
m (→Step 3:Adding custom textures) |
(→Step 3:Adding custom textures) |
||
Line 27: | Line 27: | ||
* Copy the jp2 files into the /opt/opensim/library directory | * Copy the jp2 files into the /opt/opensim/library directory | ||
* Create the appropriate xml storage files using the [[assets_generator|Asset Generator]] script | * Create the appropriate xml storage files using the [[assets_generator|Asset Generator]] script | ||
+ | * Edit the opensim inventory library reference file | ||
+ | nano /opt/opensim/production/bin/inventory/Libraries.xml | ||
+ | * Add the inventory reference | ||
+ | <Section Name="OpenSim Custom Library"> | ||
+ | <Key Name="foldersFile" Value="MyCoolOpenSimLibrary/3DDCInventoryFolders.xml"/> | ||
+ | <Key Name="itemsFile" Value="MyCoolOpenSimLibrary/3DDCInventoryItems.xml"/> | ||
+ | </Section> | ||
+ | * Edit the opensim assets library reference file | ||
+ | nano /opt/opensim/production/bin/assets/AssetSets.xml | ||
+ | * Add the asset reference | ||
+ | <Section Name="OpenSim Custom Asset Set"> | ||
+ | <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/> | ||
+ | </Section> |
Revision as of 06:44, 20 February 2008
Step 1: Install the software
We are going to install the opensim server(0.5 stable) in the /opt directory from the terminal...
su root cd /opt svn co http://opensimulator.org/svn/opensim/tags/0.5.0-release opensim
Step 2: Binary/Library preparation
- We build opensim, and create the proper directory structure for future updates...
cd opensim sh ./runprebuild.sh nant
- After a succesful build, we are going to create additional directories...
mkdir library mkdir production mv OpenSim production mv bin production
- Testrun opensim by executing it:
mono /opt/opensim/production/bin/OpenSim.exe
You will be asked to enter some initial settings. Just hit enter all the time, until the default region is served... You can try connecting the secondlife client by launching the executable like this:
/pathtoslclient/secondlife -loginuri http://localhost:9000 -loginpage http://localhost:9000/?method=login
Step 3:Adding custom textures
- Download the blender texture cd (as an example)
- Create jpeg2000 files from regular jpg files, using a perl jp2 batch converter (based on Jasper)
- Copy the jp2 files into the /opt/opensim/library directory
- Create the appropriate xml storage files using the Asset Generator script
- Edit the opensim inventory library reference file
nano /opt/opensim/production/bin/inventory/Libraries.xml
- Add the inventory reference
<Section Name="OpenSim Custom Library"> <Key Name="foldersFile" Value="MyCoolOpenSimLibrary/3DDCInventoryFolders.xml"/> <Key Name="itemsFile" Value="MyCoolOpenSimLibrary/3DDCInventoryItems.xml"/> </Section>
- Edit the opensim assets library reference file
nano /opt/opensim/production/bin/assets/AssetSets.xml
- Add the asset reference
<Section Name="OpenSim Custom Asset Set"> <Key Name="file" Value="MyCoolOpenSimAssetSet/3DDCAssetSet.xml"/> </Section>