Howto:Set up a multiplayer server: Difference between revisions

Jump to navigation Jump to search
Line 79: Line 79:


== Compiling FGMS ==
== Compiling FGMS ==
Follow the steps in the file README.cmake. README.cmake is inside the folder just got from git.


(In general, on any current machine this should ''not'' take any longer than 30-60 seconds)
NOTE: In general, on any current machine this process should not take longer than about 60 seconds.
 
* Once you have the source code, 'cd' into the ~/fgms/fgms-0-x/ directory and note the presence of the CMakeLists.txt file and the README.cmake file. Open the README.cmake file and take a minute to read it over. Also, note the path to the CMakeLists.txt file, as you will need this in the following steps.
 
* Now create a build-fgms directory in your home directory, and 'cd' into it. From inside the ~/build-fgms/ directory, run the cmake command using the path to the CMakeLists.txt as an argument. For example: cmake /home/<user_name>/fgms/fgms-0-x/
 
* Once the build finishes, you can either run the "cmake --build ..." command as shown in the README.cmake file, or you can simply use "make" to build the program.
 
* Once the compilation process finishes, you need to install the program using "make install" (as user), or you can also install as root.
 
* Once the program has been installed, you need to copy the fgms_example.conf file from the /fgms/fgms-0-x/src/server directory, into the build-fgms directory. To do this from inside the /fgms/fgms-0-x/src/server directory, you can use this command: cp ./fgms_example.conf ~/build-fgms/
 
* Now 'cd' into the build-fgms directory, and rename the file you just copied as "fgms.conf" so that fgms can find the proper configuration.


== Setting up the config file ==
== Setting up the config file ==
20

edits

Navigation menu