Commit 37bfcb8b authored by Robert Saß's avatar Robert Saß

First version of setup script

parents
# Create first sudo-able user
echo "Wie lautet der Nutzername des ersten Admins? "
read ADMINUSER
adduser "$ADMINUSER"
usermod -aG sudo "$ADMINUSER"
dpkg-statoverride --update --add root sudo 4750 /bin/su
# Install Virtualmin
wget "http://software.virtualmin.com/gpl/scripts/install.sh"
chmod o+x install.sh
./install.sh
# Install basic components
sudo apt-get update
sudo apt-get install -y nano git rsync php-curl
# Install XSendfile
wget "https://tn123.org/mod_xsendfile/mod_xsendfile.c#hash(sha256:8e8c21ef39bbe86464d3831fd30cc4c51633f6e2e002204509e55fc7c8df9cf9)"
sudo apt-get install -y apache2-dev
sudo apxs2 -cia mod_xsendfile.c
sudo apt-get remove -y apache2-dev
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment