From: Roger Dingledine
First, copy torrc.sample to torrc (by default it's in -/usr/local/etc/tor/), and edit the middle part. Create the DataDirectory, +
First, copy torrc.sample to torrc (in the default configuration this +means copy /usr/local/etc/tor/torrc.sample to /usr/local/etc/tor/torrc), +and edit the middle part. Create the DataDirectory, and make sure it's owned by the uid/gid that will be running tor. Fix your system clock so it's not too far off. Make sure name resolution works. Make sure each process can get to 1024 file descriptors (this should be already