-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALL
40 lines (29 loc) · 1008 Bytes
/
INSTALL
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
INSTALLATION ON THE LINUX PLATEFORM
-----------------------------------
Please use the build_farm scripts to build the client.
Notes on installing the server.
---------------------------------------
apt-get install libpq-dev
apt-get install libossp-uuid-dev
apt-get install libssl-dev
Database - postgresql
---------------------------------------
apt-get install postgresql
apt-get install postgresql-contrib
# You first need to log into postgreSQL with the user 'postgres'
$ su - postgres
$ psql
# Load the pgcrypto module
\i /usr/share/postgresql/8.4/contrib/pgcrypto.sql
# Create the 'dnds' user
CREATE USER dnds WITH CREATEDB PASSWORD 'a_strong_password';
\du
# Now log into postgreSQL using your 'dnds' user, into the 'postgres' database
psql --host=127.0.0.1 -U dnds -W postgres
# Create the 'dnds' database container
CREATE DATABASE dnds;
\l
\c dnds;
# Load the 'dnds' schema into the 'dnds' database container
psql --host=127.0.0.1 -U dnds -W < dnds.sql
\dt