#!/bin/bash


apt-get update
apt-get install apache2 php libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-sqlite3 php7.0-xml  curl git
service apache2 restart > /dev/null


curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
apt-get install -y nodejs


npm install -g bower

mv /home/uadmin/ /var/www/html/


cd /var/www/html/uadmin/
chmod -R 777 plugins/*/*/public/

npm i 
bower install --allow-root
#!/bin/bash