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