Daniel replies:
The first step to getting a book published is to write a book. Before you can do that you have to take steps to become able to write a book. These steps include writing a lot of stuff, not necessarily books to begin with, reading a lot of stuff with an eye to seeing how others do it, and finding out if there are things you'd like to say in a book, and what those things may be. I would advise you not to bother thinking about getting published, and focus on taking all those steps.