Once Debian has finished installing log in to the plug over the console either as root or as the user you created and then become root using the su command:
su
(If you prefer to set up sudo or use su -c, do so.)
apt-get install apache2 mysql-server mysql-client \
git php5-mysql php5-gd php5-curl
Don’t forget to set a root password for MySQL when asked to during the install (write this down somewhere safe).
Next, let’s configure the web server:
a2enmod rewrite
/etc/init.d/apache2 restart
ServerAdmin webmaster@localhost
DocumentRoot /var/www
Options Indexes FollowSymLinks MultiViews
AllowOverride All
apache2ctl graceful
After you type “reset”, don’t forget to press a key to interupt booting again.
The disk partition layout confirmation screen defaults to “No”, so use the arrow keys to choose “Yes” before pressing return to go to the next screen.