Welcome to the forum
How to record is a very big subject upon which many books have been written and hundreds or more pages posted on the internet. First I suggest you use google and type in such phrases as "recording acoustic guitar" or "using compression in recording". Also visit websites devoted to recording such as
http://homerecording.com/bbs/
I would suggest that for a natural sounding guitar you will best use little or no software effects such as compression or equalization. The better the raw recording the less you need to tweak post recording.
For solo guitar IMO stereo mic'ing sounds better. If the guitar is to be one instrument in a mix then record it with one mike.
When setting up the mike positions wear some good headphones to monitor for the best position for the sound you want.