Add some addition packages to DC installer scripts (#6755)

* Add 'cmake' to default DC node installer

* Add 'sysstat' to default DC node installer

For 'iostat'

* Add 'perf' to default DC node installer

* Add 'iftop' to default DC node installer
This commit is contained in:
Trent Nelson 2019-11-06 09:48:45 -07:00 committed by GitHub
parent bb8985d76c
commit a91bf296d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -23,7 +23,15 @@ set -xe
apt update
apt upgrade -y
apt install -y build-essential pkg-config clang
cat >/etc/apt/apt.conf.d/99-solana <<'EOF'
// Set and persist extra caps on iftop binary
Dpkg::Post-Invoke { "which iftop 2>&1 >/dev/null && setcap cap_net_raw=eip $(which iftop) || true"; };
EOF
apt install -y build-essential pkg-config clang cmake sysstat perf \
linux-generic-hwe-18.04-edge linux-tools-generic-hwe-18.04-edge \
iftop
"$HERE"/../scripts/install-docker.sh
usermod -aG docker "$SETUP_USER"

View File

@ -18,5 +18,8 @@ net.core.wmem_max=134217728
# Solana earlyoom setup
kernel.sysrq=$(( $(cat /proc/sys/kernel/sysrq) | 64 ))
# Allow kernel and CPU perf events
kernel.perf_event_paranoid=0
EOF