Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Download and Install the Latest Updates for the OS
- apt-get update && apt-get upgrade -y
- # Set the Server Timezone to CST
- echo "Europe/Amsterdam" > /etc/timezone
- dpkg-reconfigure -f noninteractive tzdata
- # Install essential packages
- apt-get -y install zsh htop
- # Install MySQL Server in a Non-Interactive mode. Default root password will be "root"
- echo "mysql-server mysql-server/root_password password toomanysecrets" | sudo debconf-set-selections
- echo "mysql-server mysql-server/root_password_again password toomanysecrets" | sudo debconf-set-selections
- apt-get -y install mysql-server
- # Run the MySQL Secure Installation wizard
- mysql_secure_installation --use-default
- service mysql restart
Add Comment
Please, Sign In to add comment