-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeonode-geode.sh
83 lines (78 loc) · 2.29 KB
/
geonode-geode.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env bash
echo 'start installing geonode geode'
rm -v /etc/apt/sources.list.d/puppetlabs*
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:geonode/testing
apt-get update
# rm -rv /var/cache/apt
# rm -rv /var/lib/apt/lists
# sed -i 's/ftp.belnet.be\/ubuntu.com/archive.ubuntu.com\/ubuntu/g' /etc/apt/sources.list
packagelist=(
build-essential
apache2
gcc
gdal-bin
gettext
git-core
libapache2-mod-wsgi
libgeos-dev
libjpeg-dev
libpng-dev
libpq-dev
libproj-dev
libxml2-dev
libxslt1-dev
openjdk-6-jre
patch
postgresql-9.3
postgresql-9.3-postgis-2.1
postgresql-contrib
postgresql-contrib-9.3
python
python-dev
python-gdal
python-imaging
python-lxml
python-pip
python-pyproj
python-pastescript
python-software-properties
python-shapely
python-support
python-httplib2
python-urlgrabber
python-virtualenv
python-nose
python-httplib2
python-psycopg2
python-django
python-django-downloadview
python-django-activity-stream
python-django-extensions
python-django-forms-bootstrap
python-django-friendly-tag-loader
python-django-geoexplorer
python-django-jsonfield
python-django-pagination
python-django-taggit
python-django-taggit-templatetags
python-dialogos
python-bs4
tomcat7
tmux
unzip
zip
zlib1g-dev
gdebi-core
gdebi
)
apt-get install -y ${packagelist[@]}
apt-get build-dep -y python-lxml
#pip install virtualenvwrapper ya déjà une install sur imiobox
apt-get install -y --force-yes openjdk-6-jdk ant maven2 --no-install-recommends
gdebi -n /setup/geonode_IMIO_2014_12_1.deb
geonode createsuperuser --username=geode --email=info@opengeode.be --noinput
geonode-updateip localhost:2780
echo 'finished, to use on windows vagrant ssh :use '
echo 'set PATH=%PATH%;c:\Program Files (x86)\Git\bin'