Jump to content
Sign in to follow this  
soulfly83

New server on linux vps

Recommended Posts

Is there any good step by step guides for installing on linux? I think ive got the idea what to do but a detailed guide would be great help for a noob lol.

step 2 on the guide at armaholic.com/page.php?id=10926

Copy the whole "ArmA 2 Operation Arrowhead" directory from Windows to some Linux-directory

this may sound daft, but does this mean copy it all from pc, zip and upload to linux server? if so it will take me about 20 hours lol

any help is appreciated, cheers

Share this post


Link to post
Share on other sites

also do i need to buy a key to run the server?

---------- Post added at 23:17 ---------- Previous post was at 21:32 ----------

ok it says the server installed(message on putty)

still having problems though, think it maybe related to NSCD deamon. i see the config file for it but dont know if its enabled

when i try ./server

i get

/arma2arrowhead/arma2arrowhead]# ./server

./server: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./server)

./server: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./server)

./server: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./server)

Share this post


Link to post
Share on other sites

You need a newer compiler (GCC). Guess you have to upgrade (or your host).

Share this post


Link to post
Share on other sites

thanks for the reply mate, looks like ill have to figure out how to update it lol. this server stuff isnt easy lol

am still not sure the server is installed right to be honest

step 2 on the guide at armaholic.com/page.php?id=10926

Copy the whole "ArmA 2 Operation Arrowhead" directory from Windows to some Linux-directory

this may sound daft, but does this mean copy it all from pc, zip and upload to linux server?

was i right in the above quote?

also do you know if its possible to to check if NSCD deamon is enabled?

i was told i may need a key to run a server, is this true?

Edited by soulfly83

Share this post


Link to post
Share on other sites

If you don't have root access to the server, you'll need server admin to upgrade necessary libs.

In addition, you need to upload your whole game to server (+ OA if you wanna run OA). All mods you wanna use must also be present on server. You don't need any key/licence for a normal linux server, but you'll need the bisign files (which is already present in your game folder). You'll also need server keys for any mods you wanna run, should be in your keys folder.

Why would you need NSCD? You define your server name in server config file anyway.

Edited by Overlord
additionals

Share this post


Link to post
Share on other sites

dam both arma and oa. the guide i linked says only oa.

so i should have it setup like steam has it on my pc (arma 2 and oa are seperate), or should i move all files into the one folder?

would you mind telling me how to update ggc?

cheers

i dont get why bi only let you upload your own game files. surly it would be better for them/comunity if they provideda full sever download.

Edited by soulfly83

Share this post


Link to post
Share on other sites

i dont get why bi only let you upload your own game files. surly it would be better for them/comunity if they provideda full sever download.

Yeah, it's stupid. But don't even start with that or you will receive an infriction like I did. Had a nice "discussion" with one of the mods about that topic.

Anyways, back to gcc.

You could try the following:

Add this ppa:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

and after that run:

sudo apt-get update
sudo apt-get upgrade

if that doesnt work, try:

sudo apt-get install gcc-4.6
sudo apt-get install g++-4.6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

Share this post


Link to post
Share on other sites

no problem, am finaly getting some where. well the download is taking ages but ive a better idea what to do now.

am still very new to all this mate so please bare with me, where do i add the above?

putty> root>

thanks for the help

Share this post


Link to post
Share on other sites

Yes, log onto your server with putty with your root account. After that enter the commands I posted above (you dont need to type the "sudo" in front of every command, since you are root anyways)

Share this post


Link to post
Share on other sites

root@ [~]# sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo: add-apt-repository: command not found

still uploading OA lol taking ages, everytime i return to pc winscp has disconected at somepoint :( once ive uplpoaded the complete OA files, are you guys sure i need to upload arma to? if i only want to run a OA server

Edited by soulfly83

Share this post


Link to post
Share on other sites

The methode Stuffy describe only works if you run Ubuntu... Not sure if I've got what distro you use. Please post taht, will you?

You WILL need Arma too I guess, at least if you want to use missions found on internet.

Share this post


Link to post
Share on other sites

i think CentOS 64 Bit cPanel PHP 5.3.8 Optimized ?

i thought id come home to the uploadfinished, disconnected again :(

Share this post


Link to post
Share on other sites

Did you try this:

sudo apt-get install gcc-4.6
sudo apt-get install g++-4.6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

Not sure if that works an centos tho, but it's definitely worth a try.

Share this post


Link to post
Share on other sites

copy and paste it all? i have all files uploaded, so good to go once i sort gcc

Share this post


Link to post
Share on other sites
Did you try this:

sudo apt-get install gcc-4.6
sudo apt-get install g++-4.6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

Not sure if that works an centos tho, but it's definitely worth a try.

Nope. You will need to work out what equivalent RPM packages you need and installed them using yum.

It isn't so much gcc that you are needing to run the server binary anyway. It is the C libraries it was built with that you need (which in turn will be bundled with / require gcc).

I don't know just how version specific the libc needs of server binary are but, you should at least start with:

sudo yum install gcc gcc-c++ compat-gcc-34 compat-gcc-34-c++ glibc glibc-devel libstdc++ libstdc++-devel compat-libstdc++-33

I imagine there will be a bunch of other dependency packages that get auto included to that bundle.

Share this post


Link to post
Share on other sites

am fecking sick, i spent ages uploading the game files now it looks like i cant run the game on server as centos dont do GLIBC_2.7'

Share this post


Link to post
Share on other sites

i got the arma 2 server to run but cant get the arrowhead server to run:

./server start
./server: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./server)
./server: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./server)
./server: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./server)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×