TitleWordPress Installation2025-03-31 21:59
Name Level 10

WordPress

 

 

WordPress - Wikipedia

 

 

WordPress:

The World's Most Popular Website Builder WordPress is the most famous website-building tool in the world.

With WordPress, you can create various types of sites, including blogs, websites, and online stores.

Today, let's go over how to install WordPress.

 

Create a working directory:

mkdir my_wordpress

cd my_wordpress

 

Create the db_data and wp_data directories:

mkdir db_data

mkdir wp_data

 

Create a docker-compose.yml file and add the following content:

touch docker-compose.yml

vim docker-compose.yml

 

Contents of docker-compose.yml:

services:

db:

image: mariadb:10.6.4-focal command: '--default-authentication-plugin=mysql_native_password'

volumes:

- db_data:/var/lib/mysql restart: always

environment:

- MYSQL_ROOT_PASSWORD=somewordpress - MYSQL_DATABASE=wordpress - MYSQL_USER=wordpress - MYSQL_PASSWORD=wordpress expose:

- 3306

- 33060

wordpress:

image: wordpress:latest ports:

- 80:80

restart: always

environment:

- WORDPRESS_DB_HOST=db

- WORDPRESS_DB_USER=wordpress

- WORDPRESS_DB_PASSWORD=wordpress

- WORDPRESS_DB_NAME=wordpress

volumes:

db_data:

 

Create and start the containers using the following command:

docker-compose up -d Access WordPress by opening port 80 in your browser.

You should see the WordPress setup screen.

WordPress Installation – KUSANAGI

 

Authentication Issue:

If you encounter login issues, refer to Stack Overflow for solutions.

#WordPress# Installation