Long distance relationship...

So my boyfriend of 4 months (my longest relationship) is going into the Air Force. I really like him and I think it could go somewhere serious. Can it work? Tips?