[GR] Daz

Linux Exile Server Setup CentOS 7

3 posts in this topic

Posted (edited)

Hi, I've not seen any tutorials on Centos i've only seen ubuntu so i'm going to show you how to create an centos 7 version on installing exile.

This is a non mysql version using root user

First you're going to need to install some dependencies 

 

"yum install tmux mailx postfix curl glibc.i686 libstdc++ libstdc++.i686 " you will need this to run arma3server.exe

"sudo yum install screen -y" This will allow you to run the server in the background

"yum install unzip" Allows you to unpack the files

"cd ~/ && wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" steam cmd obv needed to download the files
"tar xvf steamcmd_linux.tar.gz" unpacks the steam cmd
"./steamcmd.sh" runs the steam cmd
"login yourSteamUsername yoursteampassword" login to your steam account

Now go to your email copy the verification code if you're using steam code and paste back into centos


"force_install_dir /home/servers/arma3"   sets the install location of arma 3 server

"app_update 233780" This installs the files will take few mins to download

"exit" 

"cd location where you install arma 3"

If you don't have a config.cfg or basic.cfg you can get them from exile_server.zip

Go here to get the latest files, Exile Downloads

Right click on one of the Exile Client links and click copy location should look similar to this http://178.62.122.78/@Exile-1.0.0.zip

Now now do the same with the Server on the same page http://85.25.202.58/download-all-the-files/@ExileServer-1.0.0.zip

Don't use these links i provided as im not going to update them so always download latest version

now go back into centos7 and run "yum install wget" you should already have it but just to be sure

Once you copied both links type wget Your own updated link Example "wget http://178.62.122.78/@Exile-1.0.0.zip"

Do that with the server and client once downloaded type 

"unzip @Exile-1.0.0.zip" unzips the files

"unzip @ExileServer-1.0.0.zip" unzipes the files

Once you extracted these files you can find the config.cfg and basic.cfg into the @ExileServer directory

now you should have @Exile and @ExileServer folders make sure these are in the arma 3 directory

now you need to make a start.sh file to run the arma 3 server with the mods

"nano start.sh" creates the start file

Copy and paste this code into it

./arma3server -pid=2307 -cfg=basic.cfg -config=config.cfg -port=2307 -autoInit -profiles=@Profiles -name=server -ranking=plyrs.log -cpuCount=2 -mod=@exile -servermod=@exileserver

You can customize this how you like port etc

"once you pasted this code press ctrl+x then press y to save then type" saves it

"chmod 777 start.sh" this gives the start admin perms to run

Now you're set to go type 

"screen" opens the screen

then "./start.sh"

your server should launch if you're not familiar with screen visit this page Screen Tutorials

If you're server is running without any issues and you wish to close putty ssh what ever you're using without closing the server press

"ctrl+a then press D alone" detaches the screen

the screen should detach and your server will still be active but if you're wondering how to get back to that screen well type

"screen -r" list the screens active

if you're running 1 screen it will automatically open the 1 screen if you're running multiple screens then do the following

"screen -r thesceen.example" opens the screen selected

Then it will open.

I hope this hoped you guys linux isn't easy if you're new to it so if you have any issues don't be afraid to drop a comment thanks.

 

Edited by [GR] Daz

Share this post


Link to post
Share on other sites

Why not use code for the commands to separate text from actual shell commands?

Also, using chmod 777 on the file is stupid, as it would allow all users on the system access to edit the file, and compromise the account. Use this instead:

# chmod u+x start.sh (or 'chmod 700 start.sh' could also be used)

I can recommend using https://gameservermanagers.com/lgsm/arma3server/ for managing the server in general. It's a great tool. :) Also you can name your screen session by using:

# screen -S myname

Good effort on the documentation for CentOS 7. I'll contribute some when I have time!

Share this post


Link to post
Share on other sites

Do you have a further guide about configuring the server once it is installed.. when I test I just join and see grass and get nothing else

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.