Recopie initiale

This commit is contained in:
Iwan Clement
2018-05-21 13:03:35 +02:00
commit 3f39bfa01d
319 changed files with 1543 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# https://anystack.xyz/how-to-install-mastodon-ubuntu/
#!/bin/bash
#set -x
# Check if it is a Ubuntu host
/usr/bin/lsb_release -d|cut -d ":" -f 2|grep -i ubuntu|grep "16.04" 1>/dev/null
if [ $? == 0 ]
then
echo "C'est bien une Ubuntu"
else
exit 1
fi
apt-get update || exit 2
curl -sL https://deb.nodesource.com/setup_6.x | bash - || exit 3
apt-get install imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev nodejs -y || exit 4
npm install -g yarn || exit 5