Difference between revisions of "Main Page/Stuff/Ubuntu stuff/server 9.10"
From phurvitz
< Main Page | Stuff | Ubuntu stuff
Phil Hurvitz (talk | contribs) |
Phil Hurvitz (talk | contribs) |
||
Line 41: | Line 41: | ||
## sudo make | ## sudo make | ||
## sudo make install | ## sudo make install | ||
+ | # wktraster | ||
+ | ## sudo ./configure -with-postgis-sources=/usr/local/src/postgis-2.0.0SVN | ||
+ | ## sudo make | ||
+ | ## sudo make check | ||
+ | ## sudo make install | ||
+ | ## make post-install-check (as postgres user) | ||
+ | ## psql -f rt_pg/rtpostgis.sql testdb |
Revision as of 23:17, 26 March 2010
- install the server on a vm
- sudo apt-get update
- sudo apt-get xinit
- sudo apt-get install kubuntu-desktop
- restart
- sudo apg-get install g++
- download and install python from source (2.6.5)
- sudo apt-get install libtool
- geos 3.2.0
- sudo ./configure
- sudo make
- sudo make install
- proj4 4.7.0
- sudo ./configure
- sudo make
- sudo make install
- sudo apt-get install libreadline-dev
- sudo apt-get install zlib-bin
- sudo apt-get install zlib1g-dev
- sudo apt-get install libreadline5-dev
- perl 5.1.0
- postgresql 8.4.3
- sudo ./configure --with-perl --with-python
- sudo make
- sudo make install
- sudo apt-get install postgresql-client-8.4
- sudo mkdir /usr/local/pgsql/data
- sudo adduser postgres (pw=samsung)
- sudo chown postgres data/
- su - postgres
- /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
- /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
- /usr/bin/createdb testdb
- createlang plpgsql
- postgis (http://www.postgis.org/download/postgis-2.0.0SVN.tar.gz)
- sudo apt-get install libpq-dev
- sudo apt-get install postgresql-server-dev-8.4
- sudo apt-get install libxml2-dev
- export PATH=/usr/local/pgsql/bin:$PATH
- sudo ./configure --with-geos --with-pgsql --with-proj --prefix=/usr/local/pgsql
- sudo make
- sudo make install
- wktraster
- sudo ./configure -with-postgis-sources=/usr/local/src/postgis-2.0.0SVN
- sudo make
- sudo make check
- sudo make install
- make post-install-check (as postgres user)
- psql -f rt_pg/rtpostgis.sql testdb