wildduck/setup/05_install_packages.sh

19 lines
528 B
Bash
Raw Normal View History

#! /bin/bash
OURNAME=05_install_packages.sh
echo -e "\n-- Executing ${ORANGE}${OURNAME}${NC} subscript --"
# install nginx
apt-get update
2023-08-24 15:34:17 +08:00
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python3 software-properties-common nginx wget mongodb-org nodejs redis-server clamav clamav-daemon
# rspamd
apt-get -q -y --no-install-recommends install rspamd
apt-get clean
2019-02-21 18:05:45 +08:00
# DMARC policy=reject rules
echo 'actions = {
quarantine = "add_header";
reject = "reject";
}' > /etc/rspamd/override.d/dmarc.conf