You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
408 B
23 lines
408 B
#!/bin/sh
|
|
|
|
if [ "$(id -u)" -ne 0 ]; then
|
|
echo "This script should be run as root. Aborting..." > /dev/stderr
|
|
exit 1
|
|
fi
|
|
|
|
echo "Updating apt package index..."
|
|
apt-get update > /dev/null
|
|
|
|
apt -q -y upgrade
|
|
|
|
apt-get autoremove --purge
|
|
|
|
echo "Installing base packages..."
|
|
apt-get -q -y -o Dpkg::Use-Pty=0 install \
|
|
nano \
|
|
htop \
|
|
nload \
|
|
nethogs
|
|
|
|
echo "Cleaning apt cache..."
|
|
apt-get clean
|
|
|