I usually say "How do you do ?" to greet people i see every day.
I usually say "I haven't seen you for ages "to greet my friends and family that i haven't seen for a few weeks .
I usually say "Hello , Nice to meet you " to people i meet for the first time .