Server configuration files and bash scripts for managing a virtual host server.
Go to file
Matthew Saunders Brown 5737e56f9c add install script
2021-04-15 13:01:17 -07:00
bin /var/www -> /srv/www 2021-04-15 10:01:11 -07:00
etc macro fixes 2021-04-13 15:06:53 -07:00
libexec initial commit 2021-04-04 13:28:22 -07:00
install.sh add install script 2021-04-15 13:01:17 -07:00
LICENSE initial commit 2021-04-04 13:28:22 -07:00
README.md move mini_sendmail to sbin 2021-04-15 09:31:24 -07:00

vhost-stack

apt install apache php

mini_sendmail

wget http://www.acme.com/software/mini_sendmail/mini_sendmail-1.3.6.tar.gz
tar zxvf mini_sendmail-1.3.6.tar.gz
cd mini_sendmail-1.3.6/
make
cp mini_sendmail /usr/local/bin
gzip mini_sendmail.8
cp mini_sendmail.8.gz /usr/local/share/man/man8

configure a minimal smtp server so automated emails (cron etc) can be sent

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