installation de base de xubuntu

sudo apt-get update && sudo apt-get install ssh -y

sudo apt-get update && sudo apt-get install apache2 mysql-server php5 php5-gd php5-mysql php5-mcrypt php5-intl php5-curl ntp htop -y

sudo apt-get install apache2

sudo apt-get install mysql-server

sudo apt-get install php5 php5-mysql php5-gd

sudo /etc/init.d/apache2 restart

wget https://github.com/xibosignage/xibo-cms/archive/1.7.4.tar.gz -O xibo-server.tar.gz

tar xvzf xibo-server.tar.gz

mv xibo-cms-1.7.3/ /var/www/html/xibo-cms/

chown www-data:www-data -R /var/www/html/xibo-cms

mkdir /media/xibo-library

chown www-data:www-data -R /media/xibo-library

sed -i 's/post_max_size = 8M/post_max_size = 128M/g' /etc/php5/apache2/php.ini

sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 128M/g' /etc/php5/apache2/php.ini

sed -i 's/max_execution_time = 30/max_execution_time = 120/g' /etc/php5/apache2/php.ini