Stare straight ahead and don't interact with anyone.
This is mostly how I am at work. I'll say goodmorning or smile and nod at people in passing. If I have to talk to a coworker I keep it very work oriented. I dont socialize much here, and prefer it that way.