Steps to FGS Installation
FGS Base
1. Download the self-extracting file to your local directory.
For example:
- $ wget http://dl.maptools.org/dl/fgs/releases/1.0/1.0.0/self-installers/
fgs-mapserver_5.0.2-fgs_1.0.0-linux-i386.bin - Run it with: $ sh fgs-mapserver_5.0.2-fgs_1.0.0-linux-i386.bin
2. Press to begin the installer
3. Enter the path to where you want to install
*note that pressing will accept the default path displayed
*your path will become $FGS_HOME for the purpose of this doc
*extraction process will then begin
4. Specify the TCP Port that you want to use
*note that if you are installing this as a regular user Port 80
and any port under 1024 are restricted to root access
5. Install complete
6. To test your installation of MapServer/GMap, in a browser goto
- http://yourserver:port/cgi-bin/mapserv/
*you should see the following message displayed:
“No query information to decode. QUERY_STRING is set, but empty”.
7. For more up-to-date information please see the README.txt in your FGS distribution.
Modules
Modules are individual components of the FGS package, and can be found here by selecting the “modules” directory under a specific version. It is better to stop apache before a module installation and to restart it after.
To install a specific module in the FGS environment, execute the following command:
- $ fgs install module-name:version from-where
- An example command could be:
- $ fgs install tilecache-base:2.10 http://dl.maptools.org/dl/fgs/releases/9.5/modules/
- You can view your list of installed modules in $FGS_HOME/etc/fgs/pkgs/
- To upgrade an existing module you have to use the following command:
- $ fgs force-install module-name:version from-where
An example could be: - $ fgs force-install tilecache-base:2.10 http://dl.maptools.org/dl/fgs/releases/9.5/modules/
- Setting up PGSQL driver for FGS
- Add line ‘extension = pgsql.so’ to file php5.ini.template. Path for this file is
- FGSINSTALLTIONFOLDER /www/conf
- Copy files pgsql.so ,pdo_pgsql.so and pdo.so to FGSINSTALLTIONFOLDER /www/lib from /usr/lib/php5 folder
- Restart server.
No comments:
Post a Comment