User Tools

Site Tools


goldeneye:server_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
goldeneye:server_install [2018/08/31 17:07]
soupcan [Accessing Your Server From the Internet]
goldeneye:server_install [2021/04/04 21:23] (current)
soupcan Added highly-visible links to the Troubleshooting page
Line 1: Line 1:
 ======= Windows Server Install ======= ======= Windows Server Install =======
  
-<WRAP round important>​ +===== System Requirements ​=====
-This article is currently being overhauled and may be inaccurate or missing important information. +
-</​WRAP>​ +
- +
-===== Before You Begin =====+
  
 /​************************************************** /​**************************************************
Line 13: Line 9:
 ***************************************************/​ ***************************************************/​
  
-If you wish to run public (Internet) ​server, here are some important recommendations for you to consider before you install your server. ​+The system requirements of SrcDS server are pretty low nowadays:
  
-<​sup>​(If your intention is to run LAN serverthis section may not apply to you)</​sup>​+  * CPU: Basically anything will do nowadays. When it comes to hosting multiple servers from single machinewe recommend limiting the load to one SrcDS instance (serverper core. Higher specced machines you may be able to get away with more than one SrcDS instance per core.\\ \\ We recommend starting off with at least 2 cores for performance reasons.
  
-  * **It is recommended that the server has a static IP address**\\ If your public-facing IP address changes, it will make it hard for returning players to find your server. When self-hosting,​ you typically need to pay your provider extra for a Static IP.+  * RAM: You're looking at less than 512MB of RAM usage per SrcDS instance.
  
-  * **It is required that your Internet is fast enough**\\ This means not just speedbut latency ​as well. Speedtest.net or the DSLReports Speedtest can show you your Internet speed and latency (ping).\\ \\ Recommended Internet ​Speed: 1Mbps download, 8Mbps upload (16-player ​server).\\ \\ Recommended Ping (round-trip time)No more than 25ms to a nearby speedtest ​server. More will work, but players who are distant or have less capable connections will suffer.+  * Network: 
 +    ​Static IP: If you're hosting a public serverwe recommend a static IP as it will make it easier for returning players to find your server. 
 +    * Speed: ​At least 1Mbps download, 8Mbps upload (16-slot server). 
 +    * LatencyLower is better! We recommend less than 100ms between the client and the server ​for an optimal experience.
  
-If you don't have a capable ​Internet connection ​or the instructions seem daunting to you, you are encouraged to use services provided by a game server host such as [[https://jestservers.com/panel/​cart.php?​gid=16|Jest]].+If you don't have a capable ​setup or the instructions seem daunting to you, you are encouraged to use a game hosting company ​such as NFO Servers. 
 + 
 +Having issues? Please check our [[goldeneye/server/troubleshooting/start|troubleshooting]] articles.
  
 =====File Paths in This Guide===== =====File Paths in This Guide=====
Line 44: Line 45:
 Download and install the 32-bit [[https://​www.microsoft.com/​en-us/​download/​details.aspx?​id=30679|Visual Studio C++ 2012 redistributable]]. Make sure you choose ''​vcredist_x86.exe''​. Download and install the 32-bit [[https://​www.microsoft.com/​en-us/​download/​details.aspx?​id=30679|Visual Studio C++ 2012 redistributable]]. Make sure you choose ''​vcredist_x86.exe''​.
  
-=====Download ​Source 2007 Dedicated Server=====+=====Source 2007 Dedicated Server=====
  
 To download Source 2007 Dedicated Server, you need SteamCMD, the command-line version of Steam. You can download SteamCMD from the following URL: https://​steamcdn-a.akamaihd.net/​client/​installer/​steamcmd.zip To download Source 2007 Dedicated Server, you need SteamCMD, the command-line version of Steam. You can download SteamCMD from the following URL: https://​steamcdn-a.akamaihd.net/​client/​installer/​steamcmd.zip
Line 72: Line 73:
 You can automate all of the above at the command line. Simply run the executable, appending the commands in the order you want them to run in, with a plus sign (+) before each command. This is useful for automating future installations and updates of the server. For example: You can automate all of the above at the command line. Simply run the executable, appending the commands in the order you want them to run in, with a plus sign (+) before each command. This is useful for automating future installations and updates of the server. For example:
  
-  steamcmd +logon anonymous +force_install_dir "C:\server\GEServer"​ +app_update 310 validate +quit+  steamcmd +logon anonymous +force_install_dir "C:\servers\GEServer"​ +app_update 310 validate +quit
  
-=====Set Up GoldenEye: Source=====+=====GoldenEye:​ Source=====
  
-Grab the Server install archive from the [[r:​server_download|Server Downloads]] page. Then, extract ​the files: +Grab the Server install archive from the [[r:​server_download|Server Downloads]] page. Then, extract the ''​gesource''​ folder to ''​C:​\servers\GEServer\gesource''​.
- +
-  * If the downloaded archive contains ​the ''​gesource''​ folder, extract it to ''​C:​\servers\GEServer\gesource''​+
- +
-  * If it doesn'​t contain a ''​gesource''​ folder but instead a bunch of files and folders at the root directory, create the ''​gesource''​ folder and then extract the contents of the archive to it.+
  
 With the files in place, you are now ready to run the server. With the files in place, you are now ready to run the server.
Line 90: Line 87:
 Run ''​start.bat''​ and if all goes well, your server is now running. If you are on the same LAN as the game server, you should see the server pop up under the "​LAN"​ tab of the server browser. Run ''​start.bat''​ and if all goes well, your server is now running. If you are on the same LAN as the game server, you should see the server pop up under the "​LAN"​ tab of the server browser.
  
-====Accessing Your Server From the Internet====+ 
 +=====Running as a Windows Service===== 
 + 
 +To install the server as a Windows service, try using [[https://​nssm.cc|NSSM]]. 
 + 
 +Download and put it at a permanent location on your server, as the created service will refer to the nssm.exe executable. 
 + 
 +Then, using an Administrator command prompt, change to your NSSM directory and execute the following command: 
 + 
 +  nssm install geserver "​c:​\servers\GEServer\srcds.exe"​ "​-console -condebug -game gesource +maxplayers 16 +map ge_archives"​ 
 + 
 +Afterwards, to edit any properties of your service, you can execute the following command (either in the NSSM directory or with it in your %PATH%): 
 + 
 +  nssm edit geserver 
 +   
 +//​geserver//​ is the Windows service name; you can change it to be anything you want. Also, we add the -condebug option here as it will output the console to `gesource\console.log` and allow us to see the console even with the server running in the background. 
 + 
 +If you have any issues with launching your service, check the Windows Event Viewer. 
 + 
 +=====Accessing Your Server From the Internet====
 + 
 +/​************************************************** 
 +NOTE 
 +This section is included in the Linux server page 
 +Keep that in mind before changing or renaming it 
 +***************************************************/​
  
 To access your server over the Internet, you need to allow port 27015 TCP **and** UDP through any firewalls. If you're behind a NAT router, you also need to forward these ports to the device hosting your server. To access your server over the Internet, you need to allow port 27015 TCP **and** UDP through any firewalls. If you're behind a NAT router, you also need to forward these ports to the device hosting your server.
  
-If you're running multiple servers from a single host, you may want to specify a custom port number for each server. In this case, you can use the ''​-port''​ launch option ​to specify a port for a given server. For example, ​ you would add ''​-port''​ to the script ​you created earlier in this guide+**Note:** A local server will //always// appear under the LAN tab, not the Internet tab. The best way to verify the server is reachable online is for a friend to connect to it. 
-====Configuring Your Server====+ 
 +If you're running multiple servers from a single host, you may want to specify a custom port number for each server ​using the ''​-port''​ launch option. For example, ​ you would add ''​-port ​27016''​ to the launch parameters. You do, of course, need to whitelist/​forward whatever port number(s) ​you decide to use. 
 + 
 +=====Configuring Your Server====
 + 
 +/​************************************************** 
 +NOTE 
 +This section is included in the Linux server page 
 +Keep that in mind before changing or renaming it 
 +***************************************************/​ 
 + 
 +After you have a functional GoldenEye: Source server, you can customize settings to your liking. For information on server customization,​ please check the [[goldeneye/​server/​start]] page.
  
-After you have a functional GoldenEye: Source server, you can customize settings to your liking. ​For information on server customization, please check the [[goldeneye/​server/​start]] page. +For common issues, including VAC or Steam connection issues, please check the [[goldeneye/​server/​troubleshooting/start|troubleshooting]] page.
goldeneye/server_install.1535735248.txt.gz · Last modified: 2019/01/01 21:42 (external edit)