Well, we aren't like you with "Hello" y "Hi". You can say "buenos días", "buenas tardes", "buenas noches"... (good morning, good afternoon, good night...) There are also more informal ways (I only recommend them if the person you're talking about is very close for you.)
Personally, when I see one of my friends I shout their names xD