This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Script to setup a shared web hosting instance on Debian Stretch | |
# with SFTP, Apache, MariaDB, LetsEncrypt | |
# * Run this to install required packages | |
# | |
# apt install pwgen ruby mariadb-client mariadb-server php7.0 php7.0-mysql \ | |
# apache2 libapache2-mod-php7.0 phpmyadmin libapache2-mpm-itk | |
# a2enmod rewrite |