VMUbuntuCoreServer
Version 7 (molator, 02/16/2011 04:47 pm)
1 | 1 | molator | h1. Virtual Machine Ubuntu Core Server |
---|---|---|---|
2 | 1 | molator | |
3 | 7 | molator | {{>toc}} |
4 | 7 | molator | |
5 | 1 | molator | h2. What you need |
6 | 1 | molator | |
7 | 4 | molator | h3. Ubuntu basic knowledge |
8 | 4 | molator | |
9 | 4 | molator | You might need Ubuntu basic knowledge to adapt the Virtual Machine to your needs. |
10 | 4 | molator | |
11 | 6 | molator | If you can't stand "vi", install "nano". |
12 | 6 | molator | |
13 | 1 | molator | h3. VirtualBox |
14 | 1 | molator | |
15 | 1 | molator | > http://www.virtualbox.org/wiki/Downloads |
16 | 1 | molator | |
17 | 1 | molator | h3. The Virtual Machine |
18 | 1 | molator | |
19 | 1 | molator | It's an english Ubuntu Server LTS 10.04 based Virtual Machine. |
20 | 1 | molator | > http://ks35074.kimsufi.com:8080/ryzom_core_server.7z |
21 | 1 | molator | |
22 | 1 | molator | h2. Settings |
23 | 1 | molator | |
24 | 1 | molator | h3. Memory |
25 | 1 | molator | |
26 | 1 | molator | You will need about 1.5Gb of memory (RAM + swap). |
27 | 1 | molator | |
28 | 1 | molator | By default, the Virtual Machine is using a 1Gb swap file, so you will need to declare at least 512Mb of RAM in VirtualBox. |
29 | 1 | molator | If you want to remove or change the swap file, follow that wiki: |
30 | 1 | molator | > http://dev.ryzom.com/wiki/ryzom/MemoryToBuildLinuxServer |
31 | 1 | molator | |
32 | 1 | molator | h3. Logon |
33 | 1 | molator | |
34 | 1 | molator | You can log on the Virtual Machine using: |
35 | 1 | molator | > user: ryzom |
36 | 1 | molator | |
37 | 1 | molator | > password: ryzom |
38 | 1 | molator | |
39 | 1 | molator | If you need root access, use "sudo". |
40 | 1 | molator | |
41 | 1 | molator | h3. Networking |
42 | 1 | molator | |
43 | 1 | molator | By default, the Virtual Machine is using the following static ip: |
44 | 1 | molator | > 192.168.1.100 |
45 | 1 | molator | |
46 | 4 | molator | gateway: |
47 | 4 | molator | > 192.168.1.1 |
48 | 4 | molator | |
49 | 4 | molator | and DNS |
50 | 4 | molator | > 192.168.1.1 |
51 | 4 | molator | |
52 | 1 | molator | You can connect on the Virtual Machine using "ssh" and "sftp". |
53 | 1 | molator | |
54 | 4 | molator | If you want to change the ip and gateway, edit: |
55 | 1 | molator | > /etc/network/interface |
56 | 4 | molator | |
57 | 4 | molator | If you want to change the DNS, edit: |
58 | 4 | molator | > /etc/resolv.conf |
59 | 1 | molator | |
60 | 1 | molator | But don't forget to update FSHost in: |
61 | 1 | molator | > /home/ryzom/ryzom/code/ryzom/server/frontend_service.cfg |
62 | 3 | molator | |
63 | 3 | molator | h3. MySQL |
64 | 3 | molator | |
65 | 3 | molator | You can access to the MySQL server using: |
66 | 3 | molator | > user: root |
67 | 3 | molator | |
68 | 3 | molator | > password: ryzom |
69 | 3 | molator | |
70 | 3 | molator | You can use PHPMyAdmin too: |
71 | 3 | molator | > http://192.168.1.100/phpmyadmin |
72 | 5 | molator | |
73 | 3 | molator | with the default ip. |
74 | 1 | molator | |
75 | 1 | molator | h2. Running the shard |
76 | 1 | molator | |
77 | 1 | molator | To run the shard, connect to Virtual Machine using the "ryzom" account, and use the following command: |
78 | 1 | molator | > shard start |
79 | 1 | molator | |
80 | 1 | molator | To stop the shard: |
81 | 1 | molator | > shard stop |
82 | 1 | molator | |
83 | 1 | molator | Ignore the various warnings. |
84 | 1 | molator | |
85 | 1 | molator | You can monitor your shard using the webtool: |
86 | 1 | molator | > http://192.168.1.100 |
87 | 5 | molator | |
88 | 1 | molator | with the default ip. |
89 | 1 | molator | |
90 | 1 | molator | h2. Connecting a client |
91 | 1 | molator | |
92 | 6 | molator | If you don't have a client, use that one (windows): |
93 | 1 | molator | > https://docs.google.com/leaf?id=0B3LX3q7MsUEGN2UwMGY3MjAtYzlmZS00Yjg4LTljYTgtNDA3MmFiNWQ1Nzg5 |
94 | 1 | molator | |
95 | 1 | molator | Edit client.cfg to match your server ip: |
96 | 1 | molator | > StartupHost = "192.168.1.100:40916"; |
97 | 5 | molator | |
98 | 1 | molator | with the default ip. |
99 | 1 | molator | |
100 | 1 | molator | That's all folks!!! |