![]() Verify the status of the MariaDB service using systemctl status command: $ sudo systemctl status mariadb Start the database server daemon, and also enable it to start automatically at the next boot with the following commands: $ systemctl start mariadb ![]() You can install MariaDB with the following command: $ sudo dnf install mariadb-server mariadb Step 4: Install MariaDB and create a database With Zend OPcache v8.0.13, Copyright (c), by Zend Technologies Zend Engine v4.0.13, Copyright (c) Zend Technologies You can install PHP and other supporting packages using the following command: $ sudo dnf install php php-curl php-bcmath php-gd php-soap php-zip php-curl php-mbstring php-mysqlnd php-gd php-xml php-intl php-zip Step 3: Install PHP and PHP extensions for WordPress You can test to make sure everything is working correctly by navigating to: If everything is configured properly, you should be greeted by the default Apache2 Page, as seen below. ![]() If firewalld is enabled consider allowing HTTP and HTTPS services: $ sudo firewall-cmd -permanent -add-service= Status: "Total requests: 0 Idle/Busy workers 100/0 Requests/sec: 0 Bytes served/sec: 0 B/sec" Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled) Verify the status of the httpd service using systemctl status command: $ sudo systemctl status httpd You can start the httpd service and configure it to run on startup by entering the following commands: $ sudo systemctl start httpd You can install Apache via dnf package manager by executing the following command. Update your AlmaLinux 9 operating system to make sure all existing packages are up to date: $ sudo dnf update & sudo dnf upgrade -yĪlso, install: $ sudo dnf install nano wget unzip Step 2: Install Apache web server on AlmaLinux 9 In this tutorial we’ll show you how to setup a LAMP (Linux, Apache, MySQL/MariaDB, PHP) stack and install WordPress on AlmaLinux 9 OS. Millions of websites are currently running on it and remains perhaps the most popular CMS for blogging, which was its original use case. ![]() WordPress is a free, open-source and one of the most popular Content Management System (CMS) written in PHP, combined with MySQL/MariaDB database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |