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 24: | Line 24: | ||
## sudo make | ## sudo make | ||
## sudo make install | ## 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 |
Revision as of 18:55, 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