CentOS7 forgotten password reset method

Five years ago, Zhiju wrote about how to reset a forgotten password in Linux (centos). At that time, it was still a centos6. Yes, record it here so that you can find it easier next time you encounter it.
To be honest, I forgot to take screenshots at first, but the early startup is similar to centos6. You can refer to: https://www.vpsok.net/12719.html
First, restart the server, and then press esc key until the system selection interface appears, press e (this step is similar to centos6)

RAKsmart: San Jose G port unlimited server as low as $199 per month/Buy 1 month and get 1 month free

RAKsmart's universal G port activity will continue during the Lunar New Year. During the activity, if you purchase a BGP line 1G or 10G unlimited traffic server, you can buy 1 month and get 1 month free. Raksmart is a foreign hosting business founded by a Chinese-American in 2012. It provides VPS hosting, independent server rental and hosting, etc.