Skip to content

Commit 6c7696f

Browse files
committed
install script
1 parent 89950e5 commit 6c7696f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

install.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/sh
2+
3+
./install/bin/pg_ctl -D ./install/data1 stop
4+
./install/bin/pg_ctl -D ./install/data2 stop
5+
6+
rm -rf install
7+
8+
make install
9+
10+
cd contrib/pg_xtm/
11+
12+
make clean
13+
make
14+
make install
15+
16+
cd ../..
17+
18+
./install/bin/initdb -D ./install/data1
19+
./install/bin/initdb -D ./install/data2
20+
21+
sed -i '' 's/#port =.*/port = 5433/' ./install/data2/postgresql.conf
22+
23+
24+
25+
./install/bin/pg_ctl -D ./install/data1 -l ./install/data1/log start
26+
./install/bin/pg_ctl -D ./install/data2 -l ./install/data2/log start
27+
28+
29+
cd contrib/pg_dtm/dtmd
30+
make clean
31+
make
32+
./bin/dtmd

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy