<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1463205451117_4618">BTW: Here is what happened after following your link step-by-step:</div><div id="yui_3_16_0_ym19_1_1463205451117_4765"><br></div><div id="yui_3_16_0_ym19_1_1463205451117_4764"><br></div><div id="yui_3_16_0_ym19_1_1463205451117_4743" dir="ltr">kuan@ubuntu:~$ sudo apt-get install qgis-server python-qgis<br id="yui_3_16_0_ym19_1_1463205451117_4718">[sudo] password for kuan: <br id="yui_3_16_0_ym19_1_1463205451117_4719">Reading package lists... Done<br id="yui_3_16_0_ym19_1_1463205451117_4720">Building dependency tree       <br id="yui_3_16_0_ym19_1_1463205451117_4721">Reading state information... Done<br id="yui_3_16_0_ym19_1_1463205451117_4722">Some packages could not be installed. This may mean that you have<br id="yui_3_16_0_ym19_1_1463205451117_4723">requested an impossible situation or if you are using the unstable<br id="yui_3_16_0_ym19_1_1463205451117_4724">distribution that some required packages have not yet been created<br id="yui_3_16_0_ym19_1_1463205451117_4725">or been moved out of Incoming.<br id="yui_3_16_0_ym19_1_1463205451117_4726">The following information may help to resolve the situation:<br id="yui_3_16_0_ym19_1_1463205451117_4727"><br id="yui_3_16_0_ym19_1_1463205451117_4728">The following packages have unmet dependencies:<br id="yui_3_16_0_ym19_1_1463205451117_4729"> python-qgis : Depends: python-qgis-common (= 1:2.14.2+20trusty) but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4730">               Depends: libqgispython2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4731">               Depends: libqgis-analysis2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4732">               Depends: libqgis-core2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4733">               Depends: libqgis-gui2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4734">               Depends: libqgis-networkanalysis2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4735">               Depends: libqgis-server2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4736"> qgis-server : Depends: qgis-providers (= 1:2.14.2+20trusty) but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4737">               Depends: libgdal1h (>= 1.8.0) but it is not installable<br id="yui_3_16_0_ym19_1_1463205451117_4738">               Depends: libqgis-analysis2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4739">               Depends: libqgis-core2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4740">               Depends: libqgis-gui2.14.2 but it is not going to be installed<br id="yui_3_16_0_ym19_1_1463205451117_4741">E: Unable to correct problems, you have held broken packages.<br id="yui_3_16_0_ym19_1_1463205451117_4742"><br></div><div id="yui_3_16_0_ym19_1_1463205451117_4619"><br></div><div id="yui_3_16_0_ym19_1_1463205451117_4663"><br></div><div id="yui_3_16_0_ym19_1_1463205451117_4581"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Thursday, May 12, 2016 5:56 PM, Nicolas Boisteault <boisteault@observatoire-environnement.org> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv7996669469"><div>
<div> </div>
<div>Hi,</div>
<div> </div>
<div>You should follow this documentation : http://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_server_support.html</div>
<div> </div>
<div class="yiv7996669469yqt0524269487" id="yiv7996669469yqt17736"><div>---<br clear="none">
<div class="yiv7996669469pre" style="margin:0;padding:0;font-family:monospace;"><br clear="none"> Nicolas BOISTEAULT<br clear="none"> Développeur Web/WebSIG<br clear="none"> Observatoire Régional de l'Environnement<br clear="none"> Téléport 4 Antarès  - BP 50163 - 86962 Futuroscope Chasseneuil Cedex<br clear="none"> Tél : 05 49 49 71 18</div>
</div>
<div> </div>
<div>Le 2016-05-12 11:22, Kuan Song a écrit :</div>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0;">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3841">Dear QGIS community,</div>
<div id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3891"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3892">I hope to seek your help on how to deploy the QGIS Server on a ubuntu vmware instance.</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3953">The QGIS server official guide is what I followed. It does not work!!!</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3960"><a rel="nofollow" shape="rect" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3963" target="_blank" href="http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial">http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial</a></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_3982"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4005">1. After I typed in firefox: <a rel="nofollow" shape="rect" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4054" target="_blank" href="http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</a></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4055"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4056">this is what I got:</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4057"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4041">Not Found<br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4020" clear="none"><br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4021" clear="none">The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.<br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4022" clear="none">Apache/2.4.18 (Ubuntu) Server at localhost Port 80</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4076"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4077">2. I made a QGIS project file with 1 shapefile in it, and put the project file and shapefile in <code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4125">/usr/lib/cgi-bin, as demonstrated in <a rel="nofollow" shape="rect" class="yiv7996669469enhancr2_46488487-db8b-1319-a45a-092bd810c900" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4447" target="_blank" href="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/">QGIS Server on Ubuntu Step-by-step</a><br clear="none"></code></div>
<div> </div>
<div class="yiv7996669469yahoo-link-enhancr-card yiv7996669469ymail-preserve-class yiv7996669469ymail-preserve-style" dir="ltr" id="yiv7996669469enhancr2_46488487-db8b-1319-a45a-092bd810c900" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;"><a rel="nofollow" shape="rect" class="yiv7996669469yahoo-enhancr-cardlink" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4470" style="text-decoration:none;color:#000;" target="_blank" href="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/"> </a>
<table class="yiv7996669469card-wrapper yiv7996669469yahoo-ignore-table" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4469" style="max-width:400px;" border="0" cellpadding="0" cellspacing="0"><tbody id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4468"><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4467"><td colspan="1" rowspan="1" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4466" width="400">
<table class="yiv7996669469card yiv7996669469yahoo-ignore-table" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4465" style="max-width:400px;" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4464"><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4463"><td colspan="1" rowspan="1" class="yiv7996669469card-primary-image-cell" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4462" style="background:#000 no-repeat center center;background-size:cover;height:200px;position:relative;" bgcolor="#000000" valign="top">
<table class="yiv7996669469yahoo-ignore-table" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4461" style="width:100%;" border="0" cellpadding="0" cellspacing="0"><tbody id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4460"><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4459"><td colspan="1" rowspan="1" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4458" style="background:transparent repeat left top;height:200px;" bgcolor="transparent" valign="top">
<table class="yiv7996669469yahoo-ignore-table" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4457" style="width:100%;height:185px;min-height:185px;"><tbody id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4456"><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4455"><td colspan="1" rowspan="1" class="yiv7996669469card-richInfo2" style="text-align:left;padding:15px 0 0 15px;vertical-align:top;"> </td><td colspan="1" rowspan="1" class="yiv7996669469card-actions" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4454" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;"> </td></tr></tbody></table>
</td></tr></tbody></table>
</td></tr><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4732"><td colspan="1" rowspan="1" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4731">
<table class="yiv7996669469card-info yiv7996669469yahoo-ignore-table" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4730" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;margin-top:-40px;margin-left:auto;margin-right:auto;" align="center" border="0" cellpadding="0" cellspacing="0"><tbody id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4729"><tr id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4728"><td colspan="1" rowspan="1" style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;"> </td><td colspan="1" rowspan="1" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4727" style="vertical-align:middle;padding:16px 12px;width:99%;">
<h2 class="yiv7996669469card-title" style="font-size:16px;line-height:19px;margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">QGIS Server on Ubuntu Step-by-step</h2>
<div class="yiv7996669469card-description" style="font-size:11px;line-height:15px;color:#999;">This post summarizes my notes about installing QGIS Server on Ubuntu, adding a QGIS project file to the server a...</div>
</td><td colspan="1" rowspan="1" style="text-align:right;padding:16px 12px 16px 0;"> </td></tr></tbody></table>
</td></tr></tbody></table>
</td></tr></tbody></table>
</div>
<div> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4184"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4125">then I typed in firefox: </code></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4189"><br clear="none"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4233"><a rel="nofollow" shape="rect" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4234" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi">http://localhost/cgi-bin/qgis_mapserv.fcgi </a></code><a rel="nofollow" shape="rect" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4235" target="_blank" onclick="return theMainWindow.showLinkWarning(this)" href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi"><br clear="none"></a><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4236"> I still got this response:</code></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4418"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4236"> </code></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4253"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4236">Not Found<br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4404" clear="none"><br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4405" clear="none">The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.<br id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4406" clear="none">Apache/2.4.18 (Ubuntu) Server at localhost Port 80<br clear="none"></code></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4239"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4633">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.</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4647"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4648">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?</div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4649"> </div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4650">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!<br clear="none"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4236"></code></div>
<div dir="ltr" id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4722"><code id="yiv7996669469yui_3_16_0_ym19_1_1463044097517_4236"><br clear="none"> </code></div>
</div>
<br clear="none">
<div class="yiv7996669469pre" style="margin:0;padding:0;font-family:monospace;">_______________________________________________<br clear="none"> Qgis-user mailing list<br clear="none"> <a rel="nofollow" shape="rect" ymailto="mailto:Qgis-user@lists.osgeo.org" target="_blank" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br clear="none"> List info: <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br clear="none"> Unsubscribe: <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote></div>
</div></div><br><br></div>  </div> </div>  </div></div></body></html>