Updated install scripts. Now uses Node v7.x

This commit is contained in:
witzig 2017-05-18 09:56:23 +02:00
parent c2ee0f1e7b
commit ff4505139c
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,7 @@ set -e
yum -y install epel-release yum -y install epel-release
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
yum -y install mariadb-server nodejs ImageMagick git python redis pwgen bind-utils gcc-c++ make yum -y install mariadb-server nodejs ImageMagick git python redis pwgen bind-utils gcc-c++ make
systemctl start mariadb systemctl start mariadb
@ -225,4 +225,3 @@ systemctl start zone-mta.service
systemctl start mailtrain.service systemctl start mailtrain.service
echo "Success! Open http://$HOSTNAME/ and log in as admin:test"; echo "Success! Open http://$HOSTNAME/ and log in as admin:test";

View file

@ -12,7 +12,7 @@ set -e
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
curl -sL https://deb.nodesource.com/setup_6.x | bash - curl -sL https://deb.nodesource.com/setup_7.x | bash -
apt-get -q -y install mariadb-server pwgen nodejs imagemagick git ufw build-essential dnsutils python software-properties-common apt-get -q -y install mariadb-server pwgen nodejs imagemagick git ufw build-essential dnsutils python software-properties-common
apt-add-repository -y ppa:chris-lea/redis-server apt-add-repository -y ppa:chris-lea/redis-server