This is a good place to start: LinuxCNC Documentation - HTML version

And in particular, this: Stepper Quickstart