« Previous - Version 25/40 (diff) - Next » - Current version
molator, 02/22/2011 03:35 pm


Ryzom Core Server on Ubuntu Virtual Machine

It's a draft document.
The Virtual Machine is in testing stage.

What you need

Ubuntu basic knowledge

You might need Ubuntu basic knowledge to adapt the Virtual Machine to your needs.

VirtualBox

http://www.virtualbox.org/wiki/Downloads

The Virtual Machine

It's an english Ubuntu Server LTS 10.04 x86 based Virtual Machine.

http://ks35074.kimsufi.com:8080/server_virtualbox-0.7.0.1351.7z

The file is compressed, you will need about 3.34Gb.

Settings

VirtualBox

Click on New to create your Virtual Machine.
The next time, you will click on Start instead.

Name your Virtual Machine, select "Linux" and "Ubuntu".

You will need about 1.5Gb of memory (RAM + swap).

By default, the Virtual Machine is using a 1Gb swap file, so you will need to declare at least 512Mb of RAM in VirtualBox.
If you want to remove or change the swap file, follow that wiki:

http://dev.ryzom.com/wiki/ryzom/MemoryToBuildLinuxServer

Select the file you previously downloaded, ryzom_core_server.vdi.

Validate your Virtual Machine and click on "Settings" to change the network settings.
For "Adapter 1", select Attached to "Bridged Adapter".
Click on "Advanced" to display the advanced settings.
Set the "Mac Address" to:

080027018C16

If you don't specify the Mac Address, the Virtual Machine will detect a new network adapter and ignore the network settings.

Logon

You can log on the Virtual Machine using:

user: ryzom

password: ryzom

If you need root access, use "sudo".

Networking

By default, the Virtual Machine is using the following static ip:

192.168.1.100

gateway:

192.168.1.1

and DNS

192.168.1.1

You can connect on the Virtual Machine using "ssh" and "sftp".

If you want to change the ip and gateway, edit:

/etc/network/interfaces

If you want to change the DNS, edit:

/etc/resolv.conf

But don't forget to update FSHost in:

/home/ryzom/ryzom/code/ryzom/server/frontend_service.cfg

You can use "vi" or "nano" to edit the settings.

MySQL

You can access to the MySQL server using:

user: root

password: ryzom

You can use PHPMyAdmin too:

http://192.168.1.100/phpmyadmin

with the default ip.

Running the shard

To run the shard, connect to the Virtual Machine using the "ryzom" account, and use the following command:

shard start

Ignore the various warnings.

To stop the shard:

shard stop

To forcefully stop the Virtual Machine, click on the "Machine" menu and "Close".

Then "Power off the machine".

You can monitor your shard using the webtool:

http://192.168.1.100

with the default ip.

Connecting a client

If you don't have a client, use that one (windows):

https://docs.google.com/leaf?id=0B3LX3q7MsUEGN2UwMGY3MjAtYzlmZS00Yjg4LTljYTgtNDA3MmFiNWQ1Nzg5

Edit client.cfg to match your server ip:

StartupHost = "192.168.1.100:40916";

with the default ip.

That's all folks!!!

virtualbox00.jpg (125.6 kB) molator, 02/17/2011 07:44 pm

virtualbox01.jpg (84.4 kB) molator, 02/17/2011 07:44 pm

virtualbox02.jpg (65.2 kB) molator, 02/17/2011 07:44 pm

virtualbox03.jpg (90.9 kB) molator, 02/17/2011 07:44 pm

virtualbox04.jpg (34.2 kB) molator, 02/17/2011 07:45 pm

virtualbox05.jpg (47.9 kB) molator, 02/17/2011 07:45 pm

virtualbox06.jpg (169.7 kB) molator, 02/17/2011 07:45 pm

virtualbox07.jpg (57.1 kB) molator, 02/17/2011 07:45 pm

virtualbox08.jpg (25.6 kB) molator, 02/17/2011 07:45 pm

virtualbox00b.jpg (19.5 kB) molator, 02/17/2011 08:07 pm

virtualbox09b.jpg (156.6 kB) molator, 02/17/2011 08:08 pm

virtualbox010.jpg (97.3 kB) molator, 02/18/2011 02:25 pm

virtualbox09.jpg (284.4 kB) molator, 02/24/2011 12:52 pm