diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -1,6 +1,7 @@ | |||
1 | Use this to create a sim that links into Infinite Grid from Linux. | 1 | Use this to create a sim that links into Infinite Grid from Linux. |
2 | 2 | ||
3 | It's only been tested on Ubuntu 10.04, YMMV. | 3 | It's only been tested on Ubuntu 10.04, YMMV. This is also a WIP, use it |
4 | at your own risk. | ||
4 | 5 | ||
5 | Follow these steps. | 6 | Follow these steps. |
6 | 7 | ||
@@ -12,9 +13,8 @@ and follow the directions to create an admin user account. You can skip | |||
12 | that bit if you already have a suitable user with sudo access. | 13 | that bit if you already have a suitable user with sudo access. |
13 | 14 | ||
14 | Note that these scripts pretty much follow that above wiki description, | 15 | Note that these scripts pretty much follow that above wiki description, |
15 | with some exceptions. REST is used for console access, instead of | 16 | with some exceptions. The configuration information per sim has been |
16 | screen. The configuration information per sim has been rearranged so | 17 | rearranged so that there is only ONE copy of the OpenSim installation. |
17 | that there is only ONE copy of the OpenSim installation. | ||
18 | 18 | ||
19 | Next you need to figure out what password you want to use for OpenSims | 19 | Next you need to figure out what password you want to use for OpenSims |
20 | access to the database. We will call this "DatabasePassword". Run the | 20 | access to the database. We will call this "DatabasePassword". Run the |
@@ -22,7 +22,7 @@ following script - | |||
22 | 22 | ||
23 | ./install_opensim.sh DatabasePassword | 23 | ./install_opensim.sh DatabasePassword |
24 | 24 | ||
25 | This will do most of the work fo you, except for creating sims. A | 25 | This will do most of the work for you, except for creating sims. A |
26 | separate script is here for sim creation, you can use it to create many | 26 | separate script is here for sim creation, you can use it to create many |
27 | sims. You will need - | 27 | sims. You will need - |
28 | 28 | ||
@@ -35,24 +35,20 @@ A location for your sim, we will use "1234,5678". You can use the | |||
35 | Infinite Grid web based map to poke around and find a good location. | 35 | Infinite Grid web based map to poke around and find a good location. |
36 | Choose an empty spot. | 36 | Choose an empty spot. |
37 | 37 | ||
38 | Optionally, you might need your IP address if you are creating more than | 38 | Once you have all that information sorted out, run this script - |
39 | one sim, we will use "1.2.3.4". | ||
40 | |||
41 | Once you have all that information sorted out, run this script if ONLY | ||
42 | hosting a single sim on this computer - | ||
43 | 39 | ||
44 | ./create_sim.sh "My new sim" "1234,5678" "sims.example.net" | 40 | ./create_sim.sh "My new sim" "1234,5678" "sims.example.net" |
45 | 41 | ||
46 | Or this if you plan on running more than one sim - | 42 | Or this if you want to override the detected IP address - |
47 | 43 | ||
48 | ./create_sim.sh "My new sim" "1234,5678" "sims.example.net" "1.2.3.4" | 44 | ./create_sim.sh "My new sim" "1234,5678" "sims.example.net" "1.2.3.4" |
49 | 45 | ||
50 | Now you can go to /opt/opensim/config/sim01 and run the following script | 46 | Now you can go to /opt/opensim/config/sim01 and run the following script |
51 | to start it up - | 47 | to start it up - |
52 | 48 | ||
53 | ./start-sim-in-rest | 49 | ./start-sim |
54 | 50 | ||
55 | You will see the REST console. You can run the REST console again by | 51 | You will see the screen console. You can run the screen console again by |
56 | running that command once more. | 52 | running that command once more. |
57 | 53 | ||
58 | Once it's all tested, you can use this to finish things off (back in | 54 | Once it's all tested, you can use this to finish things off (back in |
@@ -60,6 +56,8 @@ this directory) - | |||
60 | 56 | ||
61 | ./go_live.sh | 57 | ./go_live.sh |
62 | 58 | ||
59 | That last command has never been tested. lol | ||
60 | |||
63 | 61 | ||
64 | NOTES - | 62 | NOTES - |
65 | 63 | ||
@@ -68,6 +66,6 @@ are running one instance of OS for each sim though, as this prevents one | |||
68 | sim crashing from bringing down the others. OS however really wants to | 66 | sim crashing from bringing down the others. OS however really wants to |
69 | write data to directories within it's own bin directory. I'm not at all | 67 | write data to directories within it's own bin directory. I'm not at all |
70 | certian if that data can be shared. For the same reason, so far I've | 68 | certian if that data can be shared. For the same reason, so far I've |
71 | not been able to get to thepoint where we can make the OS directory read | 69 | not been able to get to the point where we can make the OS directory |
72 | only. This complicates things during upgrades. | 70 | read only. This complicates things during upgrades. |
73 | 71 | ||