BTW: Here is what happened after following your link step-by-step:

kuan@ubuntu:~$ sudo apt-get install qgis-server python-qgis
[sudo] password for kuan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-qgis : Depends: python-qgis-common (= 1:2.14.2+20trusty) but it is not 
going to be installed
               Depends: libqgispython2.14.2 but it is not going to be installed
               Depends: libqgis-analysis2.14.2 but it is not going to be 
installed
               Depends: libqgis-core2.14.2 but it is not going to be installed
               Depends: libqgis-gui2.14.2 but it is not going to be installed
               Depends: libqgis-networkanalysis2.14.2 but it is not going to be 
installed
               Depends: libqgis-server2.14.2 but it is not going to be installed
 qgis-server : Depends: qgis-providers (= 1:2.14.2+20trusty) but it is not 
going to be installed
               Depends: libgdal1h (>= 1.8.0) but it is not installable
               Depends: libqgis-analysis2.14.2 but it is not going to be 
installed
               Depends: libqgis-core2.14.2 but it is not going to be installed
               Depends: libqgis-gui2.14.2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



 

    On Thursday, May 12, 2016 5:56 PM, Nicolas Boisteault 
<[email protected]> wrote:
 

  Hi, You should follow this documentation : 
http://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_server_support.html
 ---

 Nicolas BOISTEAULT
 Développeur Web/WebSIG
 Observatoire Régional de l'Environnement
 Téléport 4 Antarès  - BP 50163 - 86962 Futuroscope Chasseneuil Cedex
 Tél : 05 49 49 71 18 Le 2016-05-12 11:22, Kuan Song a écrit :
Dear QGIS community, I hope to seek your help on how to deploy the QGIS Server 
on a ubuntu vmware instance.The QGIS server official guide is what I followed. 
It does not work!!!http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial 1. 
After I typed in firefox: 
http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
 this is what I got: Not Found

The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80 2. I made a QGIS project 
file with 1 shapefile in it, and put the project file and shapefile in 
/usr/lib/cgi-bin, as demonstrated in QGIS Server on Ubuntu Step-by-step
  
| 
| 
| 
|   |   |

 |

 |
| 
|   | 
QGIS Server on Ubuntu Step-by-step
This post summarizes my notes about installing QGIS Server on Ubuntu, adding a 
QGIS project file to the server a... |   |

 |

 |

 then I typed in firefox: 
http://localhost/cgi-bin/qgis_mapserv.fcgi 
 I still got this response: Not Found

The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
 I do not understand what went wrong or where can I get the right advice, as 
the QGIS server documentation is highly rare, and frankly dubious. I really 
love the stated feature of QGIS server: just place a QGIS project on a server, 
and users can see the contents with any web browser. Could someone in the 
community help me achieve this? And to the QGIS developers: please consider 
writing your documentation with more details and pictures. And it'll be much 
more helpful to include an executable readme/setup program in the QGIS server 
distribution, so that us users can have some clue. Thank you!

 
_______________________________________________
 Qgis-user mailing list
 [email protected]
 List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
 Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user


  
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to