[GeoNode-users] Answer: Installing Geonode on Windows 7 - my workflow
Florian Hoedt
florian.hoedt at hs-owl.de
Mon Sep 7 04:21:51 PDT 2015
Since it was asked how to install geonode on a windows 7 os and I just done it, look here for my instructions:
This was my workflow to get geonode running in a virtual machine on a win7 64bit OS. The postgis DB geonode / geoserver are using is accessible through win7, too:
· Install Oracle VM
· Download ubuntu 14.04LTS 64bit image
· Create VM
Network Settings:
NAT, PortForwarding: (1.Geonode , 2.PostgreSQL)
HostIP: 127.0.0.1 Port: 80
GuestIP: 10.0.2.15 Port: 80
HostIP: 127.0.0.1 Port: 5433
GuestIP: 10.0.2.15 Port: 5432
· Install Ubuntu - User: geonode ; password: YOURPASSWORD
· Install VirtualBox Guest Additions
· Restart VM and resize the screen
Open Terminal:
$ sudo add-apt-repository ppa:geonode/testing ## Proxy Errors, see below!
$ sudo apt-get update
$ sudo apt-get install geonode
$ sudo geonode-updateip 127.0.0.1
$ geonode createsuperuser
username: admin
pass: YOURPASSWORD
· Start geoserver admin (localhost/geoserver)
· Set Proxy-Base URL to:
http://127.0.0.1/geoserver
· Edit /etc/postgresql/9.3/main/
o postgresql.conf
listen_addresses = '*' #adress postgres should listen to
o pg_hba.conf
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 10.0.2.2/24 md5 #external access
· Edit /etc/geonode/local_settings.py
ALLOWED_HOSTS=['localhost', '127.0.0.1', ]
PROXY_ALLOWED_HOSTS = ('localhost', '127.0.0.1')
###
PROXY ERRORS:
sudo update-ca-certificates
export http_proxy=http://<proxy>:<port>
export https_proxy=http://<proxy>:<port>
sudo -E add-apt-repository ppa:geonode/testing
###
________________________________________
Von: geonode-users-bounces at lists.osgeo.org [geonode-users-bounces at lists.osgeo.org]" im Auftrag von "geonode-users-request at lists.osgeo.org [geonode-users-request at lists.osgeo.org]
Gesendet: Montag, 7. September 2015 12:12
An: geonode-users at lists.osgeo.org
Betreff: geonode-users Digest, Vol 8, Issue 4
Send geonode-users mailing list submissions to
geonode-users at lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
or, via email, send a message with subject or body 'help' to
geonode-users-request at lists.osgeo.org
You can reach the person managing the list at
geonode-users-owner at lists.osgeo.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of geonode-users digest..."
Today's Topics:
1. QGIS GeoServer/PostGIS Tools missing Sextante? (Florian Hoedt)
2. Re: QGIS GeoServer/PostGIS Tools missing Sextante? (Paras Talwar)
3. Layer upload and enabling django-notification (Seno Adiwicaksono)
4. Re: Layer upload and enabling django-notification
(Simone Dalmasso)
5. Re: Layer upload and enabling django-notification
(Seno Adiwicaksono)
6. Re: Layer upload and enabling django-notification
(Simone Dalmasso)
----------------------------------------------------------------------
Message: 1
Date: Thu, 3 Sep 2015 12:00:26 +0200
From: Florian Hoedt <gannebamm at gmail.com>
To: Geonode Mailing List <geonode-users at lists.osgeo.org>
Subject: [GeoNode-users] QGIS GeoServer/PostGIS Tools missing
Sextante?
Message-ID:
<CAOvXDtH1-T7SWYv3g6TmuXBrsjmb6sGjouynu8Pep5OOvV2omw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
I can not find the GeoServer Tools which are shown in the Geonode docu:
http://geonode.readthedocs.org/en/latest/tutorials/users/processing/sextante.html
I am using QGIS 2.8 Wien.
Where are those tools? They seem to be quite handy for most common tasks!
greetings,
Florian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150903/b612d5d1/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 7 Sep 2015 10:52:14 +0530
From: Paras Talwar <paras.talwar at adyait.in>
To: Florian Hoedt <gannebamm at gmail.com>
Cc: Geonode Mailing List <geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] QGIS GeoServer/PostGIS Tools missing
Sextante?
Message-ID:
<CAOuA9r1kgfXfA=UMuNhiUbj=PnhbzHbV+D_u_VWcmK2vJ-G_iQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
Can anyone know how to install Geonode in Windows 7????
greetings,
Paras
On Thu, Sep 3, 2015 at 3:30 PM, Florian Hoedt <gannebamm at gmail.com> wrote:
> Hi,
> I can not find the GeoServer Tools which are shown in the Geonode docu:
>
> http://geonode.readthedocs.org/en/latest/tutorials/users/processing/sextante.html
>
> I am using QGIS 2.8 Wien.
>
> Where are those tools? They seem to be quite handy for most common tasks!
>
> greetings,
> Florian
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150907/d9d3b39c/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 7 Sep 2015 16:05:20 +0700
From: Seno Adiwicaksono <senoadiw at gmail.com>
To: geonode-users at lists.osgeo.org
Subject: [GeoNode-users] Layer upload and enabling django-notification
Message-ID:
<CABeCtKXkgFm03KRo=gk5sCzhDC9hL77TA-0rubnVV_HaiJ+Gaw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear GeoNode users,
I'm trying to enable notifications on my GeoNode install however met with
the same lockfile error as pointed out by Hugo in this thread
http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html.
I also tried setting the NOTIFICATION_LOCK_LOCATION variable as well as
chown the /var/www/geonode folder to www-data and create a notification
folder in it with 777 permissions which did not work in my case. I also
tried setting NOTIFICATION_QUEUE_ALL = True so the notifications are sent
later but the error just came up faster.
As for now I commented out notification in INSTALLED_APPS to allow layer
uploads to complete. Is anyone else having the same issue and are there any
other workarounds? I would greatly appreciate any input provided.
Regards,
SN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150907/9f8b5cdd/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 7 Sep 2015 11:39:04 +0200
From: Simone Dalmasso <simone.dalmasso at gmail.com>
To: Seno Adiwicaksono <senoadiw at gmail.com>
Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] Layer upload and enabling
django-notification
Message-ID:
<CAAHAC+c0yGE1-4Mw-x3HrTJEbdupzZNWB=29hLAdb3n4F7dDQw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
what installation did you do?
2015-09-07 11:05 GMT+02:00 Seno Adiwicaksono <senoadiw at gmail.com>:
> Dear GeoNode users,
>
> I'm trying to enable notifications on my GeoNode install however met with
> the same lockfile error as pointed out by Hugo in this thread
> http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html.
> I also tried setting the NOTIFICATION_LOCK_LOCATION variable as well as
> chown the /var/www/geonode folder to www-data and create a notification
> folder in it with 777 permissions which did not work in my case. I also
> tried setting NOTIFICATION_QUEUE_ALL = True so the notifications are sent
> later but the error just came up faster.
>
> As for now I commented out notification in INSTALLED_APPS to allow layer
> uploads to complete. Is anyone else having the same issue and are there any
> other workarounds? I would greatly appreciate any input provided.
>
> Regards,
>
> SN
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150907/e1743edb/attachment-0001.html>
------------------------------
Message: 5
Date: Mon, 7 Sep 2015 16:59:47 +0700
From: Seno Adiwicaksono <senoadiw at gmail.com>
To: Simone Dalmasso <simone.dalmasso at gmail.com>
Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] Layer upload and enabling
django-notification
Message-ID:
<CABeCtKUZub83_keepnzgoQfZDLdXCAkfU+pTwkZvVkZvjpnPUA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Simone,
I did the complete install from
https://geonode.readthedocs.org/en/2.0/tutorials/admin/install/complete_install.html.
I have the main geonode installation in /var/www/geonode/ and a geonode
project in /var/www/my_geonode/. GeoNode is running under Apache www-data
user. I can see the layer files written in the uploaded dir but then the
lockfile error happens.
Regards,
SN
On Mon, Sep 7, 2015 at 4:39 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:
> Hi,
> what installation did you do?
>
> 2015-09-07 11:05 GMT+02:00 Seno Adiwicaksono <senoadiw at gmail.com>:
>
>> Dear GeoNode users,
>>
>> I'm trying to enable notifications on my GeoNode install however met with
>> the same lockfile error as pointed out by Hugo in this thread
>> http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html.
>> I also tried setting the NOTIFICATION_LOCK_LOCATION variable as well as
>> chown the /var/www/geonode folder to www-data and create a notification
>> folder in it with 777 permissions which did not work in my case. I also
>> tried setting NOTIFICATION_QUEUE_ALL = True so the notifications are sent
>> later but the error just came up faster.
>>
>> As for now I commented out notification in INSTALLED_APPS to allow layer
>> uploads to complete. Is anyone else having the same issue and are there any
>> other workarounds? I would greatly appreciate any input provided.
>>
>> Regards,
>>
>> SN
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>
>>
>
>
> --
> Simone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150907/9a1211d4/attachment-0001.html>
------------------------------
Message: 6
Date: Mon, 7 Sep 2015 12:11:53 +0200
From: Simone Dalmasso <simone.dalmasso at gmail.com>
To: Seno Adiwicaksono <senoadiw at gmail.com>
Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] Layer upload and enabling
django-notification
Message-ID:
<CAAHAC+eBURV5RzgOnnLjPT_9EqrTc7XKTZXy7QVqnuRaQzSfLQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Ok, tested on a Virtual machine. I had to make sure that www-data has the
rights to write in the /var/www folder. Tested changing the ownership and
works.
2015-09-07 11:59 GMT+02:00 Seno Adiwicaksono <senoadiw at gmail.com>:
> Hi Simone,
>
> I did the complete install from
> https://geonode.readthedocs.org/en/2.0/tutorials/admin/install/complete_install.html.
> I have the main geonode installation in /var/www/geonode/ and a geonode
> project in /var/www/my_geonode/. GeoNode is running under Apache www-data
> user. I can see the layer files written in the uploaded dir but then the
> lockfile error happens.
>
> Regards,
>
> SN
>
> On Mon, Sep 7, 2015 at 4:39 PM, Simone Dalmasso <simone.dalmasso at gmail.com
> > wrote:
>
>> Hi,
>> what installation did you do?
>>
>> 2015-09-07 11:05 GMT+02:00 Seno Adiwicaksono <senoadiw at gmail.com>:
>>
>>> Dear GeoNode users,
>>>
>>> I'm trying to enable notifications on my GeoNode install however met
>>> with the same lockfile error as pointed out by Hugo in this thread
>>> http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html.
>>> I also tried setting the NOTIFICATION_LOCK_LOCATION variable as well as
>>> chown the /var/www/geonode folder to www-data and create a notification
>>> folder in it with 777 permissions which did not work in my case. I also
>>> tried setting NOTIFICATION_QUEUE_ALL = True so the notifications are sent
>>> later but the error just came up faster.
>>>
>>> As for now I commented out notification in INSTALLED_APPS to allow layer
>>> uploads to complete. Is anyone else having the same issue and are there any
>>> other workarounds? I would greatly appreciate any input provided.
>>>
>>> Regards,
>>>
>>> SN
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150907/9f5a4184/attachment.html>
------------------------------
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
End of geonode-users Digest, Vol 8, Issue 4
*******************************************
More information about the geonode-users
mailing list