This is my first time running my own server, and the guides on DO have been fantastic so far. I'm running Ubuntu 12 + LAMP, a pretty basic set up. I set up WordPress by creating the MySQL databases, and then uploading the WP files to the directory. I didn't do anything else. The only issue I keep running into is permissions when setting up WordPress. For example, WP Super Cache needs to write your wp-config and files in wp-content. I know setting permissions to 777 is not very secure, so is there a better way to handle permissions to allow WordPress to write and edit what it needs to without exposing my server to the world? Thanks!