Howto:Set up a multiplayer server: Difference between revisions

Jump to navigation Jump to search
m
→‎Getting & Building fgms: URL, syntaxhighlighting
No edit summary
m (→‎Getting & Building fgms: URL, syntaxhighlighting)
Line 46: Line 46:


== Getting & Building fgms ==
== Getting & Building fgms ==
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).
* You will need the build tools cmake and make, and also g++ to compile the fgms application. These can usually be found in the package manager for most the common Linux distributions. You will also need the git client to fetch the source code from the repository, if you plan to download it from the command line interface (see below).
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.
* Once the build tools are installed on your machine, create a directory to hold the source code. This could be named anything, such as fgms. Create it in your user home directory. Note that this WILL NOT be the directory where the program will be compiled.
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below).  
* Now 'cd' into the directory you just made, where you will run the command to fetch the source code from the git repository (see below).  
 
* To download the latest stable version via HTTP, you can use direct your browse to the URL https://gitlab.com/fgms/fgms-0-x. Download and unzip the source code, and place it in the directory you created above.
* To download the latest stable version via HTTP, you can use direct your browse to the URL http://gitorious.org/fgms/fgms-0-x/. Download and unzip the source code, and place it in the directory you created above.
 
* To download a file directly to your server from an ssh session, you can use git tools with the following command:
* To download a file directly to your server from an ssh session, you can use git tools with the following command:
 
:<syntaxhighlight lang="bash">git clone https://gitlab.com/fgms/fgms-0-x.git</syntaxhighlight>
$git clone https://gitlab.com/fgms/fgms-0-x.git


== Compiling FGMS ==
== Compiling FGMS ==

Navigation menu