|
|
Line 59: |
Line 59: |
| $git clone git://gitorious.org/fgms/fgms-0-x.git | | $git clone git://gitorious.org/fgms/fgms-0-x.git |
|
| |
|
| * 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.
| |
|
| |
|
| * Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file. | | * Edit the fgms.conf file according to the instructions found elsewhere on this page, then save and close the file. |