Ejemplo Instalación Servidor Apache + PHP 5

InstallApache2MasPHP

#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»