OK, lava will use a VM exclusive, thanks very much.

2016-12-20 21:13 GMT+08:00 Neil Williams <neil.williams@linaro.org>:
On 20 December 2016 at 12:55, Zechao Wang <zwang@ucrobotics.com> wrote:
> The gitweb  (depend apache2)  and lava is installed on same host.

This might not be the best setup. A VM running gitweb may be a better option.

> But the 80 port is used by lava, so gitweb cannot be visited with browser.
>
> So i want to change the lava‘s port to another one, such as 8088, but after
> changed the file:
> /etc/apache2/sites-enabled/lava-server.conf,  lava can not works.
>
> Does anyone know how to make lava-server use another port ?

Not recommended - various parts of the dispatcher expect to find
things on port 80 to download during the testjob. A virtual host is
probably better or change the port of gitweb.

Public instances of LAVA should also be using https:// to protect the
transmission of the authentication tokens, with a redirect or proxy to
handle the step from from http:// to https://.

> Btw, i can not find out the "DocumentRoot" of lava-server . The config file
> is defined the "DocumentRoot" is
> "/usr/share/lava-server/static/lava-server/", but i can not see the default
> index.html.   ( Only see  the templates file in
> /usr/lib/python2.7/dist-packages/lava_server/templates/index.html )
>
> Could someone tell me where is the lava-server's default index page ?

lava-server is a django application, using gunicorn as well. The
templates provide the pages dynamically. If you are not familiar with
django application setup, I would not advise trying to change the
example apache config.

--

Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/



--
王泽超
TEL: 13718389475
北京威控睿博科技有限公司