Page 1 of 1

VServer how?

Posted: Thu Jun 04, 2015 8:49 pm
by Alexandre24
Hi!

I am trying to understand how can we create 3 virtual servers on the same machine running Ubuntu . And that all its virtual servers communicate. I saw that Vserver could make this work , in addition to securing the system. Someone would be how to create such a system in Ubuntu ?

Thank you !

Re: VServer how?

Posted: Thu Jun 04, 2015 11:19 pm
by TeoTwawki
Why run 3 vm's when you can just exec multiple instances of the same exe? There is really not much point to that unless you like bragging about wasting cpu/ram on irc (hi nasomi! :lol: ).

name_of_executable --ip 127.0.0.1 --port 54230 --log path_to_log_file1
name_of_executable --ip 127.0.0.1 --port 54330 --log path_to_log_file2
name_of_executable --ip 127.0.0.1 --port 54430 --log path_to_log_file3

Re: VServer how?

Posted: Fri Jun 05, 2015 3:15 am
by Alexandre24
lol. No, I do not want a heavy OS like Windows Server 2012, as Nasomi uses . I will do the same thing but more intelligently . I want someone to explain how to use very little resources (CPU, RAM ). You can see by yourself: http://en.wikipedia.org/wiki/Linux-VServer

Everything would be virtualized

Re: VServer how?

Posted: Sun Jun 07, 2015 12:08 am
by TeoTwawki
Even under linux there really isn't a need to run multiple VMs when Kj gave us multiple exec support already. See the 3 examples in my above post - you can run 3 map servers from one location and assign each of them to a different cpu core. They can even be the same file, and it won't complain or crash from that. It just needs a different port for each, and then you set the ports in the zone settings sql table to match up your zones with the desired server.