Development Configuration Tips for Ubuntu
I just setup my machine at home with Ubuntu 8.10 (desktop) which was so easy think I saved hours off the time it would normally take with Windows. So much is already installed and ready to go and with apt (or the Synaptic package manager) it’s super quick to download and install extra things things like MySQL, PHP, Apache, Java etc
Here are some notes which helped me out when configuring some of these development tools.
This assumes you’ve already installed Apache and MySQL, for notes on installing these I found this article to be a great resource.
If you get this message when you restart Apache, ”Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName”, edit /etc/apache2/conf.d/fqdn and add “ServerName localhost”:
Load the mod_rewrite module for Apache
Enable your Apache vhosts
I already had all my vhosts defined in separate .conf files on my windows box, so I copied them all into /etc/apache2/sites-available and setup symbolic links from my /etc/apache2/sites-enabled:
Download and install PHP
PHP connector to MySQL
Install MySQL Administrator
I am also using Pulse to manage my eclipse development environment so I needed Java which I got from the Synaptic Package Manager (sun-java6-bin). Pulse is super cool, I used the standard cfeclipse profile with the addition of the PHP PDT (for developing in PHP).