Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

Rocky Linux9.2 ; MySQL8 , WordPress Install

MySQL8 Install

charset.cnf   Create a new one with the following contents

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 [?Ww123456]

2.Wordpress Install

3.Edit WordPress configuration file

Add the following to the last line
If you do not do this, you will be asked for FTP connection information when you add the plugin.
define('FS_METHOD', 'direct');

4.Moving Files

Move the expanded contents under /var/www/html/[domain name for wordpress]

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