Reshaping a bit

This commit is contained in:
Axel Rafn
2020-12-27 15:37:01 +00:00
parent 082094ad08
commit 2e3150021d
3 changed files with 21 additions and 25 deletions

View File

@ -1,13 +1,23 @@
#!/bin/sh
# Update the system first
echo "We are about to set up a v0xb0x on your Raspberry Pi\n"
echo "First we need to upgrade the system to the current Raspbian and install core services for this to work.\n"
echo "If you encounter any issues, please let the developers of v0xb0x know on github.com.\n"
echo "\n"
read -n1 -s -r -p $'Press any key to continue...\n' key
clear
apt-get update
apt-get dist-upgrade -y
apt-get install -y hostapd dnsmasq
apt-get install -y apache2 php libapache2-mod-php
apt-get install -y mariadb-server-10.0
apt-get install -y gpm
# lock down MySQL
echo "We are now going to secure the MySQL installation, please go through the following questions and answer accordingly.\nContinuing in 15 seconds. "
sleep 15
mysql_secure_installation
# Enable mod-rewrite for Apach2