wildduck/setup/05_install_packages.sh
BUNYEVACZ Sandor 88ee4c9ede Breaking up install.sh into chapters
Fixed two issues:
82: need to install npm globally to get around permission problems
83: need to start nginx service before restarting it

Better executable requirements (lsof, ps). It may be not installed
on minimal systems.

Better service detection on given port. It is especially useful,
if the installation.sh got interrupted for some reason, and
already installed some services.

Minor doc update, so a single line is required to paste in terminal.
curl vs. wget -> stayed with wget, it is installed by default on ubuntu

Colors: added color support for the terminal output:)
2018-06-08 08:56:41 +02:00

25 lines
637 B
Bash

#! /bin/bash
OURNAME=05_install_packages.sh
echo -e "\n-- Executing ${ORANGE}${OURNAME}${NC} subscript --"
# install nginx
apt-get update
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python software-properties-common nginx lsb-release wget
# install node 8
curl -sL https://deb.nodesource.com/setup_8.x | bash -
# install tor
apt-get update
apt-get -q -y install mongodb-org nodejs tor deb.torproject.org-keyring
# redis
apt-add-repository -y ppa:chris-lea/redis-server
# rspamd
apt-get -q -y install redis-server clamav clamav-daemon
apt-get -q -y --no-install-recommends install rspamd
apt-get clean