[mapserver-users] Map Server configuration in Ubuntu 18.04lts

Passmore, James H. jpass at bgs.ac.uk
Thu Jan 24 01:55:45 PST 2019


It's a bit out of date now, but as your reference is MS4W you could look at the old OneGeology cookbook section below

http://onegeology.org/wmsCookbook/4_4_2_1.html

James

-----Original Message-----
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On Behalf Of mapserver-users-request at lists.osgeo.org
Sent: 24 January 2019 09:09
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 132, Issue 11

Send mapserver-users mailing list submissions to
mapserver-users at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-request at lists.osgeo.org

You can reach the person managing the list at
mapserver-users-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of mapserver-users digest..."


Today's Topics:

   1. Re: Map Server configuration in Ubuntu 18.04lts
      (Stefanos Anastasiou)
   2. Re: Map Server configuration in Ubuntu 18.04lts
      (Stathis G. Arapostathis)
   3. Re: Map Server configuration in Ubuntu 18.04lts
      (Stefanos Anastasiou)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Jan 2019 20:09:16 +0000 (UTC)
From: Stefanos Anastasiou <emperor_stef at yahoo.gr>
To: mapserver-users at lists.osgeo.org,  "Stathis G. Arapostathis"
<e.arapostathis at gmail.com>
Subject: Re: [mapserver-users] Map Server configuration in Ubuntu
18.04lts
Message-ID: <977377599.4432064.1548274156423 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

 HI Stathis,   I think you need to create a symlink between the installed mapserv and the the directory that points to cgi-bin in your webserver. Something like:  ln -s /usr/local/bin/mapserv /usr/lib/cgi-bin/mapserv.
Regarding the installation you probably installed version 7.0.4 while the developers team have announced the release of 7.2 which supports php- mapscript for  php7.* now, which is cool. I haven't tried it in my machine yet.
Stefanos
    Στις Τετάρτη, 23 Ιανουαρίου 2019, 9:19:45 μ.μ. EET, ο χρήστης Stathis G. Arapostathis <e.arapostathis at gmail.com> έγραψε:

 Hello all,

I decided to change operating system and installed Ubuntu 18.04lts in an old computer I have.

I successfully installed apache with a sudo command, I can see that is running by typing localhost in a browser.

I also installed cgi-mapserver package with a sudo command however I am not sure that it is somehow connected to apache. Is there any certain configuration that needs to be done for having a mapserv url like in Windows when using the ms4w package? (Something like http://localhost/cgi-bin/mapserv ?)

Thank you

Λήψη του BlueMail για Android _______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190123/9785b687/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 24 Jan 2019 00:46:33 +0200
From: "Stathis G. Arapostathis" <e.arapostathis at gmail.com>
To: Stefanos Anastasiou <emperor_stef at yahoo.gr>
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Map Server configuration in Ubuntu
18.04lts
Message-ID: <137bdada-e304-4c33-a44f-0907e8c247e4 at gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Stefanos,

I ran that command the link existed already. I deleted it and re-executed the command so the link is re created. But still when i type http://localhost/cgi-bin/mapserv I am receiving an error message that the url/mapserv was not found on this server

Any ideas or knowledge on what could be the problem?

Thank you
Stathis

⁣Λήψη του BlueMail για Android ​

Στις 23 Ιαν 2019, 22:09 ,και ώρα 22:09 ,Stefanos Anastasiou <emperor_stef at yahoo.gr> έγραψε:
>HI Stathis,   I think you need to create a symlink between the
>installed mapserv and the the directory that points to cgi-bin in your
>webserver. Something like:  ln -s /usr/local/bin/mapserv
>/usr/lib/cgi-bin/mapserv.
>Regarding the installation you probably installed version 7.0.4 while
>the developers team have announced the release of 7.2 which supports
>php- mapscript for  php7.* now, which is cool. I haven't tried it in my
>machine yet.
>Stefanos
>Στις Τετάρτη, 23 Ιανουαρίου 2019, 9:19:45 μ.μ. EET, ο χρήστης Stathis
>G. Arapostathis <e.arapostathis at gmail.com> έγραψε:
>
> Hello all,
>
>I decided to change operating system and installed Ubuntu 18.04lts in
>an old computer I have.
>
>I successfully installed apache with a sudo command, I can see that is
>running by typing localhost in a browser.
>
>I also installed cgi-mapserver package with a sudo command however I am
>not sure that it is somehow connected to apache. Is there any certain
>configuration that needs to be done for having a mapserv url like in
>Windows when using the ms4w package? (Something like
>http://localhost/cgi-bin/mapserv ?)
>
>Thank you
>
>Λήψη του BlueMail για Android
>_______________________________________________
>mapserver-users mailing list
>mapserver-users at lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190124/6d5106ae/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 24 Jan 2019 09:08:39 +0000 (UTC)
From: Stefanos Anastasiou <emperor_stef at yahoo.gr>
To: "Stathis G. Arapostathis" <e.arapostathis at gmail.com>
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Map Server configuration in Ubuntu
18.04lts
Message-ID: <2004320883.290836.1548320919871 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

 Hi Stathis,        please try mapserv -v at your terminal.
Also: you need to copy your installed mapserv to cgi-bin directory:  cp mapserv /usr/lib/cgi-bin/mapservThen I think you need to create a Directory block in your apache config file that points to /usr/lib/cgi-binand then symlink again.
Try to restart you apache: sudo service apache2 restart Stefanos
    Στις Πέμπτη, 24 Ιανουαρίου 2019, 12:46:37 π.μ. EET, ο χρήστης Stathis G. Arapostathis <e.arapostathis at gmail.com> έγραψε:

 Hi Stefanos,

I ran that command the link existed already. I deleted it and re-executed the command so the link is re created. But still when i type http://localhost/cgi-bin/mapserv I am receiving an error message that the url/mapserv was not found on this server

Any ideas or knowledge on what could be the problem?

Thank you
Stathis

Λήψη του BlueMail για Android Στις 23 Ιαν 2019 ,και ώρα 22:09 ,Stefanos Anastasiou <emperor_stef at yahoo.gr> έγραψε:
   HI Stathis,      I think you need to create a symlink between the installed mapserv and the the directory that points to cgi-bin in your webserver. Something like:   ln -s /usr/local/bin/mapserv /usr/lib/cgi-bin/mapserv.
   Regarding the installation you probably installed version 7.0.4 while the developers team have announced the release of 7.2 which supports php- mapscript for  php7.* now, which is cool. I haven't tried it in my machine yet.
   Stefanos
    Στις Τετάρτη, 23 Ιανουαρίου 2019, 9:19:45 μ.μ. EET, ο χρήστης Stathis G. Arapostathis <e.arapostathis at gmail.com> έγραψε:

     Hello all,

   I decided to change operating system and installed Ubuntu 18.04lts in an old computer I have.

   I successfully installed apache with a sudo command, I can see that is running by typing localhost in a browser.

   I also installed cgi-mapserver package with a sudo command however I am not sure that it is somehow connected to apache. Is there any certain configuration that needs to be done for having a mapserv url like in Windows when using the ms4w package? (Something like http://localhost/cgi-bin/mapserv ?)

   Thank you

   Λήψη του BlueMail για Android  _______________________________________________
mapserver-users mailing list
 mapserver-users at lists.osgeo.org
 https://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190124/4304851c/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

------------------------------

End of mapserver-users Digest, Vol 132, Issue 11
************************************************


This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system.
UK Research and Innovation has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UK Research and Innovation does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
Opinions, conclusions or other information in this message and attachments that are not related directly to UK Research and Innovation business are solely those of the author and do not represent the views of UK Research and Innovation.



More information about the MapServer-users mailing list