Ads 468x60px

วันอาทิตย์ที่ 1 พฤษภาคม พ.ศ. 2554

Installing Apache/Mapserver/PHP/Mapscript on linux (installing FGS)

Installing Apache/Mapserver/PHP/Mapscript on linux (installing FGS)

http://ka-map.ominiverdi.org/wiki/index.php/Installing_Apache/Mapserver/PHP/Mapscript_on_linux_(installing_FGS)

From Ka-Map Wiki

Jump to: navigation, search
If you don't already have a working Mapserver running on your linux system then FGS (FOSS GIS Suite) is likely your best bet. It will easily install a standalone Apache server with Mapserver and PHP already working. Read about it at http://www.maptools.org/fgs/
Installing FGS should be as simple as the following:
Note: A popular place to install FGS is at /opt/fgs. Or you could do it in your home directory. - I believe that the install script will detect if you already have a web server running and will default to an unused port number. If you do have a server already running on port 80 them make sure you give the installer an unused port.
  • echo ". /opt/fgs/setenv.sh" >> ~/.bashrc
  • /opt/fgs/www/bin/apachectl start
That should do it. You should now be able to add all your web content to /opt/fgs/www/htdocs, including PHP files.
Now, to install ka-Map check out: Preparing ka-Map

0 ความคิดเห็น: