I am using xampp on Windows, but I would like to use something closer to my server setup.
Federico Cargnelutti tutorial explains how to setup LAMP VMWARE appliance; it is a great introduction to VMware appliances, but one of the commands was not working and it doesn’t describe how to change the keyboard layout and the timezone.
ps: the commands are easy to find but I don’t want to look for them each time I reinstall the server. I am using this question as a reminder.
This is my install scrpt, I use it on debian servers, but it will work in Ubuntu (Ubuntu is built on Debian)
edit: add this to set your MySQL password
end edit
This is a bit specailised but you get the idea, if you save this to a file (‘install’ for example) all you have to do is:
Some of my apt-get commands are not necessary, because apt will automatically get the dependencies but I prefer to be specific, for my installs.