diff --git a/README.md b/README.md index 2c96845..871b40f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Vhost Stack +## Requirements +A minimal Ubuntu 22.04 server install. +It is recommended to first install base-stack which will configure a basic server set up including firewald & fail2ban to secure the server: +https://git.stack-source.com/msb/base-stack + ## Install ``` cd /usr/local/src/ @@ -21,12 +26,14 @@ https://git.stack-source.com/msb/wordpress-tools ## Mail Server For an integrated and full featured mail server configuration it's recommended to install vmail-stack: https://git.stack-source.com/msb/vmail-stack -If you just want a minimal smtp mail server for getting automated emails (cron, website contact forms, etc.) off the server you can install and configure exim4-daemon-light with these commands: +If you just want a minimal smtp mail server for getting automated emails (cron, website contact forms, etc.) off the server you can install and configure exim4-daemon-light with the commands below. Note if you started with base-stack this has already been done. + ``` apt -y install exim4-daemon-light mailutils sed -i "s|dc_eximconfig_configtype='local'|dc_eximconfig_configtype='internet'|g" /etc/exim4/update-exim4.conf.conf /usr/sbin/update-exim4.conf systemctl restart exim4 +echo "user@example.com" > /root/.forward ``` ## License