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:
parent
bb8985d76c
commit
a91bf296d7
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue