VMUbuntuCoreServer

Version 19 (molator, 02/17/2011 10:35 pm)

1 10 molator
h1. Ryzom Core Server on Ubuntu Virtual Machine
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 1 molator
h3. VirtualBox
12 1 molator
13 1 molator
> http://www.virtualbox.org/wiki/Downloads
14 1 molator
15 1 molator
h3. The Virtual Machine
16 1 molator
17 8 molator
It's an english Ubuntu Server LTS 10.04 x86 based Virtual Machine.
18 1 molator
> http://ks35074.kimsufi.com:8080/ryzom_core_server.7z
19 1 molator
20 18 molator
The file is compressed, you will need about 3.34Gb.
21 18 molator
22 1 molator
h2. Settings
23 1 molator
24 11 molator
h3. VirtualBox
25 11 molator
26 11 molator
Click on New to create your Virtual Machine.
27 15 molator
The next time, you will click on Start instead.
28 11 molator
29 17 molator
!virtualbox00b.jpg!
30 1 molator
31 13 molator
Name your Virtual Machine, select "Linux" and "Ubuntu".
32 13 molator
33 13 molator
!virtualbox01.jpg!
34 13 molator
35 1 molator
You will need about 1.5Gb of memory (RAM + swap).
36 1 molator
37 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.
38 1 molator
If you want to remove or change the swap file, follow that wiki:
39 1 molator
> http://dev.ryzom.com/wiki/ryzom/MemoryToBuildLinuxServer
40 1 molator
41 14 molator
!virtualbox02.jpg!
42 14 molator
43 19 molator
Select the file you previously downloaded, ryzom_core_server.vdi.
44 14 molator
45 14 molator
!virtualbox03.jpg!
46 14 molator
47 1 molator
h3. Logon
48 1 molator
49 1 molator
You can log on the Virtual Machine using:
50 1 molator
> user: ryzom
51 1 molator
52 1 molator
> password: ryzom
53 1 molator
54 14 molator
!virtualbox04.jpg!
55 14 molator
56 1 molator
If you need root access, use "sudo".
57 1 molator
58 1 molator
h3. Networking
59 1 molator
60 1 molator
By default, the Virtual Machine is using the following static ip:
61 1 molator
> 192.168.1.100
62 1 molator
63 4 molator
gateway:
64 4 molator
> 192.168.1.1
65 4 molator
66 4 molator
and DNS
67 4 molator
> 192.168.1.1
68 4 molator
69 1 molator
You can connect on the Virtual Machine using "ssh" and "sftp".
70 1 molator
71 4 molator
If you want to change the ip and gateway, edit:
72 1 molator
> /etc/network/interface
73 4 molator
74 4 molator
If you want to change the DNS, edit:
75 4 molator
> /etc/resolv.conf
76 1 molator
77 1 molator
But don't forget to update FSHost in:
78 1 molator
> /home/ryzom/ryzom/code/ryzom/server/frontend_service.cfg
79 18 molator
80 18 molator
If you can't stand "vi", install "nano".
81 18 molator
> sudo apt-get install nano
82 3 molator
83 3 molator
h3. MySQL
84 3 molator
85 3 molator
You can access to the MySQL server using:
86 3 molator
> user: root
87 3 molator
88 3 molator
> password: ryzom
89 3 molator
90 3 molator
You can use PHPMyAdmin too:
91 3 molator
> http://192.168.1.100/phpmyadmin
92 5 molator
93 3 molator
with the default ip.
94 1 molator
95 1 molator
h2. Running the shard
96 1 molator
97 9 molator
To run the shard, connect to the Virtual Machine using the "ryzom" account, and use the following command:
98 1 molator
> shard start
99 14 molator
100 14 molator
!virtualbox05.jpg!
101 1 molator
102 16 molator
Ignore the various warnings.
103 16 molator
104 1 molator
To stop the shard:
105 1 molator
> shard stop
106 1 molator
107 16 molator
To forcefully stop the Virtual Machine, click on the "Machine" menu and "Close".
108 16 molator
109 16 molator
!virtualbox07.jpg!
110 16 molator
111 16 molator
Then "Power off the machine".
112 16 molator
113 16 molator
!virtualbox08.jpg!
114 1 molator
115 1 molator
You can monitor your shard using the webtool:
116 1 molator
> http://192.168.1.100
117 5 molator
118 1 molator
with the default ip.
119 17 molator
120 17 molator
!virtualbox09b.jpg!
121 1 molator
122 1 molator
h2. Connecting a client
123 1 molator
124 6 molator
If you don't have a client, use that one (windows):
125 1 molator
> https://docs.google.com/leaf?id=0B3LX3q7MsUEGN2UwMGY3MjAtYzlmZS00Yjg4LTljYTgtNDA3MmFiNWQ1Nzg5
126 1 molator
127 1 molator
Edit client.cfg to match your server ip:
128 1 molator
> StartupHost          = "192.168.1.100:40916";
129 5 molator
130 1 molator
with the default ip.
131 1 molator
132 1 molator
That's all folks!!!