-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase_provision.sh
More file actions
43 lines (32 loc) · 1017 Bytes
/
base_provision.sh
File metadata and controls
43 lines (32 loc) · 1017 Bytes
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
#!/bin/sh
if [ -e /etc/box_is_bfbase ]
then
echo "base packages already installed"
exit
fi
export DEBIAN_FRONTEND=noninteractive
apt-get install -y postgresql-common
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
apt-get update -y
apt-get install -y postgresql-17\
postgresql-contrib-17 \
postgresql-plperl-17 \
postgresql-17-dbgsym \
postgresql-17-partman \
postgresql-17-partman-dbgsym \
lighttpd \
zip unzip
cat >> /etc/postgresql/17/main/conf.d/buildfarm.conf <<EOF
listen_addresses = '*'
password_encryption = 'scram-sha-256'
EOF
systemctl restart postgresql
#apt-get install -y emacs-nox
apt-get install -y vim git make screen lsof
update-alternatives --set editor /usr/bin/vim.basic
# required for buildfarm server
apt-get install -y equivs libtemplate-perl libcgi-pm-perl libdbi-perl \
libdbd-pg-perl libsoap-lite-perl libtime-parsedate-perl \
libxml-rss-perl libcrypt-urandom-perl
# required for pgweb server
apt-get install -y python3-pip python3-psycopg2 python3-yaml