#!/bin/bash

apt-get update

cp -rf ./bin/* /var/www/html

chown -R www-data:www-data /var/www/html/* 

chmod 777 /var/www/html/joomla.sql

service apache2 start

service mysql start

mysql -e "source /var/www/html/joomla.sql;" 










