there are PLENTY of tutorials online that give you the exact commands to put in and what to edit to accomplish what task. I dont think you’ve done your research yet. Using the proper search terms might yield better results for me.
I’d google or search what operating system you have. for example
“how to install wordpress on CentOS 7”, and i can gaurentee you the first 5 results will be links to reputable sources with step by step instructions as to how to get your wordpress installation completed and your website live.