2018-06-08 04:09:57 +08:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
OURNAME=05_install_packages.sh
|
|
|
|
|
|
|
|
echo -e "\n-- Executing ${ORANGE}${OURNAME}${NC} subscript --"
|
|
|
|
|
|
|
|
# install nginx
|
|
|
|
apt-get update
|
2018-08-06 14:27:36 +08:00
|
|
|
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python software-properties-common nginx wget
|
2018-06-08 04:09:57 +08:00
|
|
|
|
|
|
|
# install tor
|
|
|
|
apt-get update
|
|
|
|
|
2018-08-06 14:27:36 +08:00
|
|
|
apt-get -q -y install mongodb-org nodejs tor deb.torproject.org-keyring redis-server clamav clamav-daemon
|
2018-06-08 04:09:57 +08:00
|
|
|
|
|
|
|
# rspamd
|
|
|
|
apt-get -q -y --no-install-recommends install rspamd
|
|
|
|
apt-get clean
|