1. From now on, change yourself, don't think too much, and greet people bravely.
2. I don't care about the result of greeting. Because you may face two kinds of results: one is that someone responds to you politely. The other is that you are worried that no one will talk to you. The first phenomenon is naturally good for you, and if you encounter the second situation, it will be devastating for you. So, don't take it to heart. If you want to be open-minded, it's not your fault. It's the other person's fault. It is that he (she) has no manners and self-restraint.
You don't care even if you meet someone who doesn't respond to you. Maybe your voice is too low for them to hear, or they heard but didn't understand you. It is also possible not to respond.
4. Be confident. They are people, not gods, and there is nothing to be afraid of.
5. Be enthusiastic and take the initiative. Give everyone a smile and say "hello!"
6. Life is worse than death.
Do the above and you will be safe. Good luck!