AlmaLinux8.8 ; MySQL8 , WordPress

Mysql8 Install

Version Check

Create a new charset.cnf with the following contents

Once complete, use the "mysql_secure_installation" command to set the root user password and set some basic policies

WordPress Install

1. Create database for Word Press

As an example, assume database [wp_db] database user [wp_user] password [?W123456]

2.Wordpress Install

3.Edit WordPress configuration file

4.Moving Files

Move the expanded contents under /var/www/html/[FQDN]

After confirming that the files have been moved, delete the wordpress directory and downloaded latest.tar.gz

Make apache the owner of the wordpress directory.

5.Starting wordpress installation

You can use your browser to go to http://[FQDN]/wp-admin/install.php
If successful, the following WordPress installation information input screen will be output.

「Your PHP installation appears to be missing the MySQL extension which is required by WordPress.」When displayed
Install php library-related software if not already installed.

again
Access http://[FQDN]/wp-admin/install.php

On the following input screen
・Site Title   Any name
・Username   Any name
・Password  Any password
・Your Email  Administrator's email address
Enter the information and click "Install WordPress". Remember to enter your "username" and "password" as they are required to access the WordPress administration screen.

Click on "Login"

User Name : The user name you have just set
Password : User's password you have just set
and click "Login".

After successfully logging in, you will be able to access the following WordPress admin page

Copied title and URL