-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbk-config.sh
94 lines (82 loc) · 2.02 KB
/
bk-config.sh
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/bin/bash
# Spatial stuff
apt-get update \
&& apt-get install -y --no-install-recommends \
lbzip2 \
libfftw3-dev \
libgdal-dev \
libgeos-dev \
libudunits2-dev \
libnode-dev \
libcairo2-dev \
libgsl0-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
libhdf4-alt-dev \
libhdf5-dev \
libfribidi-dev \
libharfbuzz-dev \
libmagick++-dev \
libjq-dev \
libpq-dev \
libproj-dev \
libprotobuf-dev \
libnetcdf-dev \
libsqlite3-dev \
libssl-dev \
libudunits2-dev \
netcdf-bin \
postgis \
protobuf-compiler \
sqlite3 \
tk-dev \
unixodbc-dev \
imagemagick \
libsecret-1-dev
apt-get install -y \
libmagick++-dev \
libjq-dev \
libv8-dev \
libprotobuf-dev \
protobuf-compiler \
libsodium-dev \
imagemagick \
libgit2-dev \
xclip
# database ----
apt-get update \
apt-get install -y --no-install-recommends \
default-mysql-client \
default-libmysqlclient-dev
# Divers
apt-get install -y r-cran-rjava cron nano
# Locals
apt-get install -y tzdata
apt-get install -y language-pack-fr
mv /etc/localtime /etc/localtime_backup \
&& ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata
# Chromium for {pagedown} ----
apt-get update
# TODO these libs are here
# as they were historically installed for Chrome,
# but I'm not sure if they are needed anymore, can we remove them?
apt-get -y install libxpm4 \
libxrender1 \
libgtk2.0-0 \
libnss3 \
libgconf-2-4 \
xvfb \
gtk2-engines-pixbuf \
xfonts-cyrillic \
xfonts-100dpi \
xfonts-75dpi \
xfonts-base \
xfonts-scalable
curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt-get install -y ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
# NodeJS
apt-get -y install curl gnupg && \
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
apt-get -y --allow-unauthenticated install nodejs