The output will include the available PHP modules, stream and installation profiles as shown below. ![]() $ sudo dnf install dnf-utils Īfter the successful installation of yum- utils and Remi-packages, search for the PHP modules which are available for download by running the command. Next, install yum utils and enable remi-repository using the command below. We are going to install the latest version of PHP ( PHP 7.4 by the time of penning down this guide) using the Remi repository.įirst, install the EPEL repository. The last component in the LAMP stack we need to install is PHP, and as mentioned earlier, PHP is a scripting web programming language used for developing dynamic web pages. Secure MariaDB Installation Summary Step 4: Install PHP 7 on CentOS 8 Thereafter, answer Y for every subsequent prompt. You will be prompted to enter the root password ( if you already have a root password in place) or set it up. Lastly, we need to secure our MariaDB database engine by running. You can verify the status of MariaDB by running the command. Next, start and enable MariaDB on startup, run the command. It ships with innovative and better features than MySQL that make it a better option than MySQL. It was developed by a former team of MySQL who had concerns that Oracle may turn MySQL to a closed-source project. Verify Apache Web Page Step 3: Install MariaDB on CentOS 8 $ sudo rpm -qiĪdditionally, you can open your web browser and visit your server’s IP a shown. If you are a little curious, you can get the version of apache among other details related to Apache by running the rpm command. $ sudo firewall-cmd -permanent -zone=public -add-service=https $ sudo firewall-cmd -permanent -zone=public -add-service=http ![]() ![]() $ sudo systemctl status httpdĪfter installing apache, update the firewall rules to allow requests to web server. To confirm is Apache web service is running, run the command. Next, start the Apache service by running the command. Once the installation is complete, enable Apache to auto-start at system boot time using the command below. With the system packages up to date, the next step is installing the Apache Web Server and some crucial tools and utilities run the command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |