Extracting the executable file "mapserv" from one of the above mentioned rpms and placing it in cgi-bin should give you a working MapServer CGI installation.

Peter

On 09/04/2012 04:20 PM, Saka Royban wrote:

----- Forwarded Message -----
*From:* Saka Royban <sakaroy...@yahoo.com>
*To:* Prabu Raja <prab.r...@gmail.com>
*Sent:* Tuesday, September 4, 2012 6:49 PM
*Subject:* Re: [mapserver-users] mapserver binary for CentOS?

Thanks for your help
I contacted host admin and he told me they don't allow ssh access because their host is of shared (!) one. I was thinking maybe there is a way to just copy the files into cgi-bin folder, as it is for mapserv.exe and its dependencies (dlls) in MS4W package. However, it seems if i want to use MapServer in CGI mode i have to use a Windows server. Otherwise, i must switch to MapScript which is not recommended for all applications.
If there is a way to use CGI Mapserver in this case, please inform me.

Regards


------------------------------------------------------------------------
*From:* Prabu Raja <prab.r...@gmail.com>
*To:* Peter Hopfgartner <peter.hopfgart...@r3-gis.com>
*Cc:* mapserver-users@lists.osgeo.org
*Sent:* Tuesday, September 4, 2012 12:12 PM
*Subject:* Re: [mapserver-users] mapserver binary for CentOS?

Find below the steps, which I followed to install mapserver on CentOS 6 64 bit

sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm

yum install mapserver

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/cfitsio-3.240-3.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fribidi-0.19.2-2.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libdap-3.11.0-1.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fcgi-2.4.0-10.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/librx-1.5-14.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libspatialite-2.4.0-0.6.RC4.el6.x86_64.rpm

sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/libgfortran-4.4.6-4.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/hdf5-1.8.5.patch1-7.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/netcdf-4.1.1-3.el6.2.x86_64.rpm

sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/expat-2.0.1-11.el6_2.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/ogdi-3.2.0-0.14.beta2.el6.x86_64.rpm

yum install mapserver

cp /usr/libexec/mapserv /var/www/cgi-bin/

On Tue, Sep 4, 2012 at 12:47 PM, Peter Hopfgartner <peter.hopfgart...@r3-gis.com <mailto:peter.hopfgart...@r3-gis.com>> wrote:

    On 09/04/2012 08:33 AM, Saka Royban wrote:
    Hi guys
    I'm a newbie to mapserver and i've been using MS4W for a while.
    Now, i'm gonna use MapServer CGI in my website. So, I asked my
    host admin of the version of Linux and he replied me that CentOS
    is running on the server.
    Searching internet, unfortunately, i didn't find mapserver binary
    for CentOS. I just found some instructions for building mapserver
    in Linux but i'm a windows follower and hence, not familiar with
    Linux.
    My host provider supports CGI applications. How can i get a
    binary MapServer compatible with Centos?

    Best Regards


    _______________________________________________
    mapserver-users mailing list
    mapserver-users@lists.osgeo.org  <mailto:mapserver-users@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/mapserver-users
    You'll find some GIS packages here: http://elgis.argeo.org/

-- Peter Hopfgartner
    web  :http://www.r3-gis.com  <http://www.r3-gis.com/>


    _______________________________________________
    mapserver-users mailing list
    mapserver-users@lists.osgeo.org
    <mailto:mapserver-users@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/mapserver-users




--
Regards,
Prabu Raja


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users






_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Peter Hopfgartner
web  : http://www.r3-gis.com

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to