Ubuntu Server24.04 ; MariaDB , WordPress Install

1. MariaDB

1. 1Install

Version Check

1.2. MariaDB Server Security Settings

Run the tool mysql_secure_installation to configure security-related settings for the MariaDB server.
Once executed, the tool will start several security settings in the form of questions. First, you will be asked if you want to use a plugin for password validation, as shown below.
Password validation is a plugin that checks the strength of a user's password for MariaDB and restricts it to accepting only passwords that are secure enough. For example, it must be at least as many characters long as the user's password and must contain at least one symbol and one number. You can set this requirement by asking the following question
Type y and press Enter if you like

Installation Status

From now on, when you access MariaDB, you must use the

2.WordPress Install

2.1 Create database

Create a database for Word Press (for example, in this case, the database name is "wp_db", the user name is "wp_user", and the password is "?Y123456y")

2.2 WordPress Download and Install

Download and Deployment

Edit WordPress configuration file

Edit contents of wp-config.php

Moving Files

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

④Make apache the owner of the wordpress directory

⑤Access from a browser
Access http://FQDN/wp-admin.
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.

Install MYSQL Module
WordPress requires PHP's MYSQL module; install PHP's MYSQL module if not already installed。

Restart Apache after installation is complete.

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.

Copied title and URL