I'm having a nightmare setting up a decent environment for developing Wordpress on a local machine.
- I'm constantly manually tweaking file permissions every time I add a plugin.
- I can't install themes or plugins through the Wordpress interface.
- I have to keep
sudo-ing every time I need to modify the contents of the site folder I'm working on (theme files, etc.)
- I've tried using XAMPP, which comes with a built-in FTP setup, but then all the files uploaded via the web interface are given the permissions of user
What are some best-practices for setting up a decent LAMP environment that simulates -- at least partially -- the convenience of a hosted environment?
I guess it might start with modifying the apache configuration to point to a develoment folder in my
~/ folder, but I've had terrible problems with permissions there.
For the record, I'm running Xubuntu 9.10 on one system, and Ubuntu-netbook 9.10 on the other.
Any advice or guide I can refer to for this?
 I'm not entirely opposed to using a VM (as seen here, but only as a last resort; the netbook probably isn't powerful enough, and I generally refer to work on a local copy of things. [/edit]