arma2:linux-dedicated-server-install
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma2:linux-dedicated-server-install [2012/07/31 10:22] – created linux-dedicated-server-install initial page. snakeman | arma2:linux-dedicated-server-install [2024/08/02 12:18] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ArmA 2 Linux Dedicated Server Install ====== | ====== ArmA 2 Linux Dedicated Server Install ====== | ||
+ | |||
+ | [[https:// | ||
How to install ArmA 2 Linux Dedicated Server. | How to install ArmA 2 Linux Dedicated Server. | ||
Line 7: | Line 9: | ||
- install linux :) | - install linux :) | ||
- upload all ArmA 2 files including Expansion\Beta\ directory into your / | - upload all ArmA 2 files including Expansion\Beta\ directory into your / | ||
+ | - Or use [[arma2: | ||
- download arma2oa server binary from BIS. | - download arma2oa server binary from BIS. | ||
- unpack and run ./install | - unpack and run ./install | ||
Line 14: | Line 17: | ||
apt-get install build-essential | apt-get install build-essential | ||
apt-get install ia32-libs | apt-get install ia32-libs | ||
+ | </ | ||
+ | Edit: August 2016 latest ubuntu don't have ia32-libs package anymore. You can get ArmA 2 server running by installing lib32stdc++6 instead, like this: | ||
+ | < | ||
+ | apt-get install lib32stdc++6 | ||
</ | </ | ||
Line 52: | Line 59: | ||
You can query the status of the server with command: | You can query the status of the server with command: | ||
- | </code> | + | < |
./ | ./ | ||
</ | </ | ||
Line 73: | Line 80: | ||
There might be lot of garbage in the log, in this example " | There might be lot of garbage in the log, in this example " | ||
< | < | ||
- | tail -f log.bis.2302.txt | grep -v dubbingradio | + | tail -f log.bis.2302.txt | grep -v -e dubbing -e RadioProtocol -e "No speaker given" |
</ | </ | ||
+ | |||
+ | Use the -e parameter to add each string you want to skip, if its not a single word, use quotes like in the no speaker given string. | ||
Line 114: | Line 123: | ||
</ | </ | ||
**Remember** the above is just an **example** and your own server should use unique path + file names to make them random so that nobody can guess their names! | **Remember** the above is just an **example** and your own server should use unique path + file names to make them random so that nobody can guess their names! | ||
+ | |||
+ | |||
+ | ====== Howto Run Two Servers in One Computer ====== | ||
+ | |||
+ | So you want to run two ArmA 2 Dedicated Linux servers on one computer eh? Here is how you do it. | ||
+ | |||
+ | First of course you need to configure one basic working server (obvious). | ||
+ | |||
+ | Then you start to create additional directories for your second server, in our purpose we call that server directory " | ||
+ | |||
+ | So here we go, first go to your working default server directory and issue commands: | ||
+ | < | ||
+ | mkdir serverpmc | ||
+ | mkdir serverpmc/ | ||
+ | </ | ||
+ | |||
+ | Now you have the basic directories setup. | ||
+ | |||
+ | Then copy over the signature keys directory as most likely because you run two servers you run different addons (at least in our example) so you want individual keys directorys: | ||
+ | < | ||
+ | cp -r keys serverpmc/ | ||
+ | </ | ||
+ | |||
+ | Then we move the server config for your second server, in our example we call it server2.cfg: | ||
+ | < | ||
+ | mv server2.cfg serverpmc/ | ||
+ | </ | ||
+ | |||
+ | Also move the startup script which you use for second server, in our example we call it arma2oaserver2: | ||
+ | < | ||
+ | mv arma2oaserver2 serverpmc/ | ||
+ | </ | ||
+ | |||
+ | Now we are ready to go into the newly created directory, first we can make the symlinks there: | ||
+ | < | ||
+ | cd serverpmc | ||
+ | ln -s ../addons addons | ||
+ | ln -s ../ | ||
+ | ln -s ../common common | ||
+ | ln -s ../dta dta | ||
+ | ln -s ../ | ||
+ | ln -s ../server server | ||
+ | ln -s ../x x | ||
+ | </ | ||
+ | Notice the ' | ||
+ | |||
+ | Now you have created the necessary symlinks. Final step is to edit your arma2oaserver2 startup script and setup this new directory as home directory and possible the config as well as log file names. | ||
+ | |||
+ | All done, then just copy your individual missions into mpmissions/ dir for this server and run ./ | ||
+ |
arma2/linux-dedicated-server-install.1343730154.txt.gz · Last modified: 2012/07/31 10:22 by snakeman