Ejemplo Instalación GetSimple

GetSimple

apt-get update
apt-get upgrade -y
apt-get install nano -y
apt-get install man -y
apt-get install apache2 -y
apt-get install php5 -y

cp /etc/apache2/apache2.conf /etc/apache2/apache2OLD.conf
chmod 777 /etc/apache2/apache2.conf
sed -i ‘s///g’ «/etc/apache2/apache2.conf»

cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/000-defaultOLD.conf
chmod 777 /etc/apache2/sites-available/000-default.conf
sed -i ‘s/DocumentRoot \/var\/www\/html/DocumentRoot \/home\/cabox\/workspace/g’ «/etc/apache2/sites-available/000-default.conf»

wget http://get-simple.info/latest
unzip latest
service apache2 restart
chmod 777 data/ backups/ -R
sudo apt-get install php5-curl -y
service apache2 restart
apt-get install php5-gd -y
service apache2 restart
sudo a2enmod rewrite
service apache2 restart

cp temp.htaccess .htaccess
cp temp.gsconfig.php gsconfig.php
rm temp.gsconfig.php

cd admin/
rm install.php
rm setup.php
rm update.php