Rocky Linux8.6 : MySQL ,WordPress Install

Install Mysql8

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

Install WordPress

1. Create database for Word Press

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

2.Install WordPress

3.Edit WordPress configuration file

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-ja.tar.gz
Make apache the owner of the wordpress directory.

5.Start wordpress installation

browser to go to http://rocky.korodes.com/wp-admin/install.php
Please enter your user name, password, and other necessary information to start installation.

If the message "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
Install the following and restart apache and mysql

タイトルとURLをコピーしました