How To Install WordPress with LAMP on Ubuntu 24.10

To install WordPress on Ubuntu 24.10 with a LAMP stack, follow these steps:

Step 1 : Install LAMP Stack

If you haven't installed LAMP yet, follow the guide for Ubuntu 24.10 here: Ubuntu 24.10 Guides

Step 2 : Create Database

- Log in to MySQL:

- Create a user and database:

Step 3 : Download and Install WordPress

- Create a directory for your site:

- Navigate to the directory and download WordPress:

- Extract the downloaded file:

- Move files to the proper directory:

- Set proper permissions:

Step 4 : Configure Apache for example.devtutorial.io

- Create a new Apache configuration file:

- Add the following configuration:

Step 5 : Enable the new site:

Step 6 : Test Apache configuration:

- Restart Apache to apply changes:

Step 7 : Open the Browser and Install WordPress

- Open your browser and go to:

- Select your language and click Let's go!

- Fill in the database information:

- If everything is correct, click Run the installation.

- Enter your WordPress site info and click Install WordPress.

Step 8 : After installation, click Login.

- Log in with your credentials.

Step 9 : Once logged in, you'll be redirected to the WordPress dashboard.

Congratulations! You have successfully installed WordPress on Ubuntu 24.10 with LAMP.