Manually install Apache, MySQL, and PHP on CentOS 7
Step 1: Install Apache
Step 2: Install MySQL
Run the following command to retrieve the initial temporary password.
grep 'temporary password' /var/log/mysqld.logRun the following command to log on securely and change your password.
mysql -u root -pAfter you log on to MySQL, run the following command to change the password.
NoteThe password must contain uppercase and lowercase letters, digits, and special characters to meet the requirements of the default password policy.
ALTER USER 'root'@'localhost' IDENTIFIED BY 'YourNewPassword';Run the following command to exit MySQL.
exit



