How to Greet People?

Many religions have different kind of greetings. Usuallu it is very normal to say Good afternoon to an older person. Hi and hello is used for greeting a friend or very close family.