I've had quite a few people getting in contact asking for support with the initial setup and configuration of libxbee. As a result, I felt that it would be worthwhile writing this guide. libxbee is very straight forward, once you understand the principals involved.
If you're new to libxbee, I recommend running and understanding some samples in the following order. These samples are designed for use with XBee Series 1 modules, and therefore the "xbee1" mode.