
To install MariaDB, type the following command: To ensure that Apache also restarts automatically when you restart the server, enter the following command: If you see a test page, the installation of Apache was successful. To verify that Apache was successfully installed and started, enter the public IP address of your server in the following format in your web browser. To create a test page, enter the following command:Įcho "Welcome" > /var/www/html/index.html To exit the status display, press the q key.

To check if Apache was successfully installed and started, type the following command. Yum install httpd The following message is displayed:ĬentOS Stream 8 Total download size: 2.1 M To install Apache, type the following command:

To check if an update is available, enter the command below:
