krazey 1 Posted August 5, 2012 (edited) Hi,my DayZ-Server is running on Linux Debian Squeeze via VirtualBox (Win2003).Hardware: Intel i7 2600, 32gb RAM, ...1. I used "gnome" as desktop-environment and "vnc4server" with "VNC-Viewer" for virtualbox:~ # apt-get install gnome vnc4serverDownloadlink for the latest VNC-Viewer --> RealVNC2. Create a user for virtualbox + pwd~ # useradd -m username~ # passwd username3. Login with the new user and start vnc4server (choose a suitable resolution, in my case 1440x900)~ # vnc4server -geometry 1440x9004. Login via VNC-Viewer5. Download and install virtualbox6. Create a virtualmachine, in my case for win2003, 4gb ram, network host-only, 8x cpu, vt-x on7. iptables-nat, port forwarding via root~ # echo 1 > /proc/sys/net/ipv4/ip_forward~ # iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE~ # iptables -t nat -A PREROUTING -p udp --dport 2302 -j DNAT --to 192.168.56.101:2302~ # iptables -t nat -A PREROUTING -p udp --dport 2305 -j DNAT --to 192.168.56.101:2303~ # iptables -t nat -A PREROUTING -p udp --dport 2305 -j DNAT --to 192.168.56.101:23058. Reconfigure your network on your virtualmachine:Click Start, Control Panel, Network Connections.Right click on the connection, properties.Select Internet Protocol (TCP/IP), click properties.Select use the following IP address and enterIP address: 192.168.56.101Subnet mask: 255.255.255.0Default gateway: 192.168.56.1Preferred DNS server and Alternate DNS server: the addresses of the DNS of your provider.~ # nano /etc/resolv.confnameserver xx.xx.xx.xxnameserver yy.yy.yy.yynameserver zz.zz.zz.zzClick OK and again OK.9. Install and start you DayZ-Server =)9.1 Remove the "-ip xx.xx.xx.xx" parameter to start the server correctly or set the local IP, "-ip 192.168.56.101"10. recommendable:- disable root-login- reject all not needed incoming packets (to disable vnc login..)This is my way to provide an epic and fast DayZ-Server :DkraZey Edited September 23, 2012 by kraZey Share this post Link to post Share on other sites
jwiechers 92 Posted August 5, 2012 (edited) Hello kraZey,the team has been aware of this possibility (in fact, we have quite a few test servers run that way and we know that a few people are running DayZ servers semi-natively on *NIX using WINE, too.We nevertheless do not officially support or encourage this because it adds another unknown variable that is hard to account for, especially if you have people who are not very familiar with the *NIX environment. It also adds performance issues if things are not ideally configured. Edited August 5, 2012 by jwiechers Share this post Link to post Share on other sites
james222 49 Posted August 5, 2012 Hello kraZey,the team has been aware of this possibility (in fact, we have quite a few test servers run that way and we know that a few people are running DayZ servers semi-natively on *NIX using WINE, too.We nevertheless do not officially support or encourage this because it adds another unknown variable that is hard to account for, especially if you have people who are not very familiar with the *NIX environment. It also adds performance issues if things are not ideally configured.I'm not sure you read the OP.. he is suggesting virtualization.. not Wine. 1 Share this post Link to post Share on other sites
lacrosse1991 0 Posted August 6, 2012 pardon my french, by why in the fuck would you even bother with a setup like that? You would still be running the dayz server on shitty windows software, there would be absolutely no increase in performance or stability since you still would in essence be running the dayz server through windows :/ Now if there was dayz server software that natively supported linux, that would be fantastic, but what you have just described is completely and utterly pointless in any and all perspectives, having said that, why are you trying to do this? Share this post Link to post Share on other sites
Prion 61 Posted August 6, 2012 (edited) I'm not sure you read the OP.. he is suggesting virtualization.. not Wine.beans for you sirpardon my french, by why in the fuck would you even bother with a setup like that? You would still be running the dayz server on shitty windows software, there would be absolutely no increase in performance or stability since you still would in essence be running the dayz server through windows :/ Now if there was dayz server software that natively supported linux, that would be fantastic, but what you have just described is completely and utterly pointless in any and all perspectives, having said that, why are you trying to do this?its useful for a few reasons. virtualization technology has had hardware support for years, so the performance difference is <5% in most all scenarios.ever backup and restore using snapshots for VMs before? its pretty kickass and easy to do.in the event this server got into a bad state and totally fucked everything, you could spend 10 minutes restoring a snapshot and snap back to any hardware/software config and data you have.a great feature for server hosting.this thread has a misleading title though, it has nothing to do with running the server on linux. his answer is run it in a windows VM. Edited August 6, 2012 by Prion Share this post Link to post Share on other sites
jwiechers 92 Posted August 6, 2012 I'm not sure you read the OP.. he is suggesting virtualization.. not Wine.I read it -- but officially, virtual servers are not supported, either because many things can go wrong and performance can be suboptimal. I merely mentioned WINE because I had assumed that someone would bring it up sooner or later on this thread. 1 Share this post Link to post Share on other sites
phoenixf129@gmail.com 11 Posted August 6, 2012 I read it -- but officially, virtual servers are not supported, either because many things can go wrong and performance can be suboptimal. I merely mentioned WINE because I had assumed that someone would bring it up sooner or later on this thread.Wine. We all drink it, however I float my DayZ server on it. Share this post Link to post Share on other sites
suito 17 Posted August 6, 2012 I read it -- but officially, virtual servers are not supported, either because many things can go wrong and performance can be suboptimal. I merely mentioned WINE because I had assumed that someone would bring it up sooner or later on this thread.WINE - Wine Is Not an Emulatoras the name say wine is not an emulator, its a runtime system, and the way the OP says its the same way every DayZ hoster use, or u think there use for every dayz server a hardware server? this all justs VPS runing on one main system, and iam thinking its not a windows server ;-) Share this post Link to post Share on other sites
jwiechers 92 Posted August 6, 2012 Suito, WINE, despite its backronym and frequent claims to the contrary, is an emulator in the strict sense of the word. ;-)As for what hosters actually use: I actually know numbers -- and no, many servers are not VPS, but dedicated machines running Windows 2k8 R2, especially the machines hosted by a couple of the larger GSPs. We are of course aware that a number of hosters use virtual servers, some use Hyper-V and Win2k8R2 instances, some use vSphere, some virtualbox or XEN on *nix. I never said that this could not work or would not work, although we are seeing substantially higher numbers of crashes in these settings. All I said was that it is not generally supported or encouraged because it leads to additional issues we cannot currently provide tech support for. Share this post Link to post Share on other sites
krazey 1 Posted August 6, 2012 pardon my french, by why in the fuck would you even bother with a setup like that? You would still be running the dayz server on shitty windows software, there would be absolutely no increase in performance or stability since you still would in essence be running the dayz server through windows :/ Now if there was dayz server software that natively supported linux, that would be fantastic, but what you have just described is completely and utterly pointless in any and all perspectivesOk, sry. All VMs are crap. Do you ever used a VServer? As prion said..its useful for a few reasons. virtualization technology has had hardware support for years, so the performance difference is <5% in most all scenarios.ever backup and restore using snapshots for VMs before? its pretty kickass and easy to do.why are you trying to do this?..trying? I am doing this right now :/ ^^this thread has a misleading title though, it has nothing to do with running the server on linux. his answer is run it in a windows VM...you're right. Title changed =)Why I said "This is my way to provide an epic and fast DayZ-Server":-> I am not connecting 20 minutes to this server-> I have no connection interrupts or permanent lags-> Intel i7 2600 with vt-x support? This is a powerfull cpu dude :>Prerequisite to use this way of server hosting:-> Knowledge of Linux and VMs-> powerful serverI am using this kind of server hosting for years, e.g. in CoD4 - I always wanted to be up to date. Now I am hosting this CoD4-Server via Linux without a VM and I have no recent performance boosts. Why I use Windows VMs? No restrictions, no additional costs (I have two Windows Server licenses for 2003 & 2008). Share this post Link to post Share on other sites
krazey 1 Posted January 31, 2013 I added some things:HowTo: DayZ-Server via Windows VM (on Linux Debian)HowTo: Starting WindowsVM via putty + using Windows-Remotedesktop instead of VNCHowTo: Auto-Retart script + BEC + Scheduler for Auto-RestartHafe fun ;D Share this post Link to post Share on other sites
domistyle 221 Posted January 31, 2013 Running a server with Wine just fine.There are some challenges to go through but it is worth it. ;)How is the performance in a virtual machine? Share this post Link to post Share on other sites
krazey 1 Posted January 31, 2013 It is nice as well =) I am running three dayz server without issues and lags, as long as the hive is not laggy ;DMy private hive namalsk server is running 24/7 without lags =) Share this post Link to post Share on other sites