• Need to report a player? Or a server issue? Or just need help? Use our helpdesk! Click here and open a ticket for faster response times!

BFV dedicated server tutorial Linux

PhaI

Normal Poster
BATTLEFIELD VIETNAM ADMIN
-[HELLO]-BFV
-[HELLO]-BF1942
REGISTERED
Local time
1:13 PM
Joined
Nov 21, 2015
Messages
318
Reaction score
330
Age
30
Location
Bamberg, Upper Franconia, Bavaria, Germany
Steam
 m2332
This tutorial will show you how to set up a dedicated Linux server, using the Battlefield Vietnam Server Manager and LinuxGSM.

You will have to download the Battlefield Vietnam Server Manager from https://www.bf-games.net/downloads/1080/battlefield-vietnam-server-manager-v201-linux.html

And the Battlefield Vietnam Remote Manager to connect to your server from https://www.bf-games.net/downloads/1081/battlefield-vietnam-remote-manager-v201-win32.html

If you want your server to appear in the in-game list you will have to add the following entries to the file /etc/hosts

134.122.16.249 bfvietnam.available.gamespy.com
134.122.16.249 bfvietnam.master.gamespy.com
134.122.16.249 bfvietnam.ms0.gamespy.com

First, add a new user to your system, using adduser your username (bfvserver being the example username)

bfvlinux1.png


Now add sudo rights for your new user, you will only need them for the installation process to automatically install the missing dependencies.

bfvlinux2.png


Now switch to your new user, using the command su - username

bfvlinux3.png


Now you'll have to install the server files from LinuxGSM using the following command: curl -Lo linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh bfvserver

bfvlinux4.png


Now enter the command ./bfvserver install and enter Y when prompted to continue and also when asked whethet the installation was successful and n for allow anonymous statistics. You may have to enter your password.

bfvlinux5.png


Now enter the command ./bfvserver start

bfvlinux10.png


This will sometimes be necessary to download files still missing, since we'll be switching from LinuxGSM to using the server manager this is a good idea. Now enter the command ./bfvserver stop

bfvlinux11.png


Switch back to your root user with the command su - root

bfvlinux12.png


Enter the command deluser username sudo to remove sudo rights from your server user

bfvlinux13.png


Create a folder in your user directory, name it whatever way you like, this will be the folder used for the server manager. Now extract the server manager files to your newly created directory. Copy the files servermanager.con, useraccess.con and playermenu.con to your Battlefield Vietnam settings folder /home/your username/serverfiles/bfvietnam/settings/

Now enter the command (replacing username and directory name with your own) chmod 755 /home/username/directory name/

bfvlinux17.png


Swith back to your server user using the command su - your username and navigate to your newly created server manager folder using the command cd /home/your username/your server folder/

bfvlinux18.png


Now start your server using the command ./bvsmd -path /home/your username/serverfiles/

bfvlinux19.png


Your server should be running now. Now open Battlefield Vietnam Remote Manager on your PC and click Connect. Enter your server IP, the username admin and the password, just plain password

You should now be connected to your server, but it isn't running yet. Enter your server IP and click save

bfvlinux21.png


Go to your Users tab and change the password and click save, now go to Maps and choose a rotation. Save and finally click Start. Your server is running now.

bfvlinux22.png
 
Last edited:
Back
Top