This is sooo useful when you have a new laptop/PC is a must for every true developer…
# Instalando el servidor Apache version 2
sudo apt-get install apache2
# PHP5
sudo apt-get install php5
# Servidor MySQL
sudo apt-get install mysql-server-5.1
# Módulo de apache para mysql
sudo apt-get install libapache2-mod-auth-mysql php5-mysql
sudo apt-get install phpmyadmin # opcional
sudo apt-get install mysql-query-browser # opcional ( MYSQL query browser)
sudo apt-get install vim # an useful editor
sudo apt-get install meld # a freaking easy merge tool
sudo apt-get install openjdk-6-jre # yeah sun-java6-jre is deprecated now in Lucid at least in the beta
sudo apt-get install mercurial # of course
Download Eclipse Ganymede not Galileo
http://www.eclipse.org/ganymede/
Note: There are some issues with Eclipse Galileo, when you trying to install *obligatory* plugins like PHPEclipse, Mercurial or SVN, simply it does not work.
Add this plugins:
PHPEclipse
http://update.phpeclipse.net/update/stable/1.2.x/
Mercurial
http://www.vectrace.com/eclipse-update/
SVN
http://subclipse.tigris.org/update_1.4.x
At least but no last do a :
hg clone https://chamilo.googlecode.com/hg/ chamilo
To get your last Installation of Chamilo 😉
And for turn an SVN/Mercurial project to a PHP project in order to have the inspect function feature edit your .project file and add this:
<buildSpec>
<buildCommand>
<name>net.sourceforge.phpeclipse.parserbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sourceforge.phpeclipse.phpnature</nature>
</natures>
Here the short way for install the deb packages:
sudo apt-get install apache2 php5 mysql-server-5.0 libapache2-mod-auth-mysql php5-mysql phpmyadmin mysql-query-browser vim meld openjdk-6-jre mercurial vim
If you have some issues with the openjdk6-jre installation you may try installing this version.