Re: [geonode] Re: Genode on Ubuntu 11.04
- From:
- s budiono
- Date:
- 2012-05-02 @ 08:09
sudo ./install.sh support/config-ubuntu.sh
Sourcing support/config-ubuntu.sh as the configuration file
heh
Running GeoNode installation ...
psql:/:0: could not read from input file: Is a directory
/spatial_ref_sys.sql: No such file or directory
ERROR: relation "geometry_columns" does not exist
ERROR: relation "spatial_ref_sys" does not exist
CREATE ROLE
patching file /etc/geonode/geonetwork/config.xml
patching file /etc/geonode/geoserver/web.xml
Hunk #1 succeeded at 39 with fuzz 2.
/var/lib/geonode ~/Desktop/GeoNode-1.1
Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Download error: [Errno 101] Network is unreachable -- Some packages may
not be found!
Reading http://pypi.python.org/simple/virtualenv/
Download error: [Errno 101] Network is unreachable -- Some packages may
not be found!
Couldn't retrieve index page for 'virtualenv'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
^Cinterrupted
Searching for pip
Reading http://pypi.python.org/simple/pip/
Download error: [Errno 101] Network is unreachable -- Some packages may
not be found!
Reading http://pypi.python.org/simple/pip/
Download error: [Errno 101] Network is unreachable -- Some packages may
not be found!
Couldn't retrieve index page for 'pip'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 101] Network is unreachable -- Some packages may
not be found!
Best match: pip 1.0
Adding pip 1.0 to easy-install.pth file
Installing pip script to /usr/local/bin
Using /usr/lib/python2.7/dist-packages
Processing dependencies for pip
Finished processing dependencies for pip
New python executable in ./bin/python
Installing
distribute....................................................................................................................................................................................done.
Installing pip...............done.
Unpacking ./geonode-webapp.pybundle
Obtaining gsconfig.py
Running setup.py egg_info for package gsconfig.py
Obtaining GeoNodePy
Running setup.py egg_info for package GeoNodePy
Obtaining nosexcover
Running setup.py egg_info for package nosexcover
Obtaining avatar
Running setup.py egg_info for package avatar
Downloading/unpacking django-appconf
Running setup.py egg_info for package django-appconf
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in
/usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): PasteDeploy in
/usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): Paste in
/usr/lib/python2.7/dist-packages
Downloading/unpacking nose
Running setup.py egg_info for package nose
Downloading/unpacking Django
Running setup.py egg_info for package Django
warning: no files found matching '*' under directory 'examples'
Requirement already satisfied (use --upgrade to upgrade): simplejson in
/usr/lib/python2.7/dist-packages
Downloading/unpacking OWSLib
Running setup.py egg_info for package OWSLib
Requirement already satisfied (use --upgrade to upgrade): httplib2 in
/usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): PasteScript in
/usr/lib/python2.7/dist-packages
Downloading/unpacking django-staticfiles
Running setup.py egg_info for package django-staticfiles
warning: no files found matching '*' under directory 'staticfiles/tests'
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Requirement already satisfied (use --upgrade to upgrade): PIL in
/usr/lib/python2.7/dist-packages/PIL
Downloading/unpacking werkzeug
Running setup.py egg_info for package werkzeug
warning: no files found matching '*' under directory
'werkzeug/debug/templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under
directory 'docs'
warning: no previously-included files matching '*.pyo' found under
directory 'docs'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
warning: no previously-included files matching '*.pyo' found under
directory 'tests'
warning: no previously-included files matching '*.pyc' found under
directory 'examples'
warning: no previously-included files matching '*.pyo' found under
directory 'examples'
no previously-included directories found matching 'docs/_build'
Downloading/unpacking dj.paste
Running setup.py egg_info for package dj.paste
Downloading/unpacking WebOb
Running setup.py egg_info for package WebOb
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Downloading/unpacking django-profiles
Running setup.py egg_info for package django-profiles
Downloading/unpacking coverage
Running setup.py egg_info for package coverage
no previously-included directories found matching 'test'
Downloading/unpacking mock
Running setup.py egg_info for package mock
Downloading/unpacking django-extensions
Running setup.py egg_info for package django-extensions
Downloading/unpacking nose-cover3
Running setup.py egg_info for package nose-cover3
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Downloading/unpacking django-registration
Running setup.py egg_info for package django-registration
Downloading/unpacking django-nose
Running setup.py egg_info for package django-nose
Installing collected packages: gsconfig.py, GeoNodePy, nosexcover, avatar,
django-appconf, nose, Django, OWSLib, django-staticfiles, werkzeug,
dj.paste, WebOb, django-profiles, coverage, mock, django-extensions,
nose-cover3, django-registration, django-nose
Running setup.py develop for gsconfig.py
Creating
/var/lib/geonode/lib/python2.7/site-packages/gsconfig.py.egg-link (link to
src)
Adding gsconfig.py 1.0 to easy-install.pth file
Installed /var/lib/geonode/src/gsconfig.py/src
Running setup.py develop for GeoNodePy
Creating
/var/lib/geonode/lib/python2.7/site-packages/GeoNodePy.egg-link (link to
.)
Adding GeoNodePy 1.1 to easy-install.pth file
Installed /var/lib/geonode/src/GeoNodePy
Running setup.py develop for nosexcover
Creating
/var/lib/geonode/lib/python2.7/site-packages/nosexcover.egg-link (link to
.)
Adding nosexcover 1.0.7 to easy-install.pth file
Installed /var/lib/geonode/src/nosexcover
Running setup.py develop for avatar
Creating
/var/lib/geonode/lib/python2.7/site-packages/django-avatar.egg-link (link
to .)
Adding django-avatar 2.0a1 to easy-install.pth file
Installed /var/lib/geonode/src/avatar
Running setup.py install for django-appconf
Running setup.py install for nose
Installing nosetests script to /var/lib/geonode/bin
Installing nosetests-2.7 script to /var/lib/geonode/bin
Running setup.py install for Django
changing mode of build/scripts-2.7/django-admin.py from 644 to 755
warning: no files found matching '*' under directory 'examples'
changing mode of /var/lib/geonode/bin/django-admin.py to 755
Running setup.py install for OWSLib
Running setup.py install for django-staticfiles
warning: no files found matching '*' under directory 'staticfiles/tests'
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Running setup.py install for werkzeug
warning: no files found matching '*' under directory
'werkzeug/debug/templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under
directory 'docs'
warning: no previously-included files matching '*.pyo' found under
directory 'docs'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
warning: no previously-included files matching '*.pyo' found under
directory 'tests'
warning: no previously-included files matching '*.pyc' found under
directory 'examples'
warning: no previously-included files matching '*.pyo' found under
directory 'examples'
no previously-included directories found matching 'docs/_build'
Running setup.py install for dj.paste
Skipping installation of
/var/lib/geonode/lib/python2.7/site-packages/dj/__init__.py (namespace
package)
Skipping installation of
/var/lib/geonode/lib/python2.7/site-packages/dj/paste/__init__.py
(namespace package)
Installing
/var/lib/geonode/lib/python2.7/site-packages/dj.paste-1.9-py2.7-nspkg.pth
Running setup.py install for WebOb
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Running setup.py install for django-profiles
Running setup.py install for coverage
building 'coverage.tracer' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/tracer.c -o
build/temp.linux-i686-2.7/coverage/tracer.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/coverage/tracer.o -o
build/lib.linux-i686-2.7/coverage/tracer.so
no previously-included directories found matching 'test'
Installing coverage script to /var/lib/geonode/bin
Running setup.py install for mock
Running setup.py install for django-extensions
Running setup.py install for nose-cover3
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
Running setup.py install for django-registration
Running setup.py install for django-nose
Successfully installed gsconfig.py GeoNodePy nosexcover avatar
django-appconf nose Django OWSLib django-staticfiles werkzeug dj.paste
WebOb django-profiles coverage mock django-extensions nose-cover3
django-registration django-nose
Cleaning up...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table registration_registrationprofile
Creating table avatar_avatar
Creating table core_objectrole_permissions
Creating table core_objectrole
Creating table core_userobjectrolemapping
Creating table core_genericobjectrolemapping
Creating table maps_contact
Creating table maps_layer
Creating table maps_map
Creating table maps_maplayer
Creating table maps_role_permissions
Creating table maps_role
Creating table maps_contactrole
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for avatar.Avatar model
Installing index for core.ObjectRole_permissions model
Installing index for core.ObjectRole model
Installing index for core.UserObjectRoleMapping model
Installing index for core.GenericObjectRoleMapping model
Installing index for maps.Contact model
Installing index for maps.Layer model
Installing index for maps.Map model
Installing index for maps.MapLayer model
Installing index for maps.Role_permissions model
Installing index for maps.ContactRole model
Installing json fixture 'initial_data' from
'/var/lib/geonode/src/GeoNodePy/geonode/maps/fixtures'.
Installed 10 object(s) from 1 fixture(s)
Installing json fixture '/usr/share/geonode/admin' from
'/usr/share/geonode/admin'.
Installed 1 object(s) from 1 fixture(s)
~/Desktop/GeoNode-1.1
* Stopping Tomcat servlet engine tomcat6 [ OK ]
* Starting Tomcat servlet engine tomcat6 [ OK ]
* Restarting web server apache2
... waiting . [
OK ]
Site default disabled.
To activate the new configuration, you need to run:
service apache2 reload
Considering dependency proxy for proxy_http:
Enabling module proxy.
Enabling module proxy_http.
To activate the new configuration, you need to run:
service apache2 restart
Enabling site geonode.
To activate the new configuration, you need to run:
service apache2 reload
* Restarting web server apache2
... waiting . [
OK ]
sbudiono@ubuntu:~/Desktop/GeoNode-1.1$
sbudiono@ubuntu:~/Desktop/GeoNode-1.1$ geonode createsuperuser
Username (Leave blank to use 'sbudiono'): admin
E-mail address: admin@local.com
Password:
Password (again):
Superuser created successfully.
sbudiono@ubuntu:~/Desktop/GeoNode-1.1$