You can find my Salt module which installs and configures useful programs, code and instructions from my Github. This was part of our server management course.
Installs and configures:
Apache2: Enables PHP, userdir, creates example virtualhost and hello world page
SSH: Changes port to 60001
Firewall: Enables UFW and makes holes for three ports 80, 443, 60001
Mysql: Installs and configures Mysql. Password for root is “tosisalainensalis”
Makes public_html folder in your home directory for future web pages