DragonKnight531 That's pretty easy, really- Patience, skill, and luck.
Patience and skill you can control with your actions and mindset. Luck you can't control. But having lots of patience and a ton of skill will mean you won't need much luck to succeed, whereas all the luck in the world won't help an unskilled and impatient writer succeed.
Focus on your craft, not the attention. If you put out shitty writing hoping for attention, you probably won't get it, and if you do, it won't be the attention you want.
Write good stuff, have the patience to wait as long as it takes to succeed, and be willing to put in a huge amount of effort building into the community, and you're pretty much guaranteed some degree of success.
There is no short or easy path to winning.