Use the following command to Install MariaDB Note : If you prefer to use the MySQL branded database in CentOS/ RHEL 7, issuing the following command. Even performance wise MariaDB is better than MySQL, click here to learn more about MariaDB vs Mysql. MariaDB is developed as an open source software program and as a relational database, it affords an SQL interface for getting entry to data. MariaDB is used due to the fact it is fast, scalable and robust. MariaDB is an open source relational database administration system (DBMS) that is a well-matched drop-in substitute for the extensively used MySQL database technology. I've chosen to use MariaDB right here as a substitute for MySQL. Use the following command to check the webpage in Terminal Now, open your web browser and give your server IP address as "" and if you see the Apache test page as shown below, then it means your Apache server is operational and successfully installed. # firewall-cmd -list-all Step 5: Test the default Apache page in Browser and Terminal If you want to know more about firewalld services, have a look at this article on 15 basic useful firewall-cmd commands in Linux. List all applicable information for the default zone. # firewall-cmd -permanent -add-port=443/tcp # firewall-cmd -permanent -add-port=80/tcp ![]() Use the following command to open firewall ports for HTTP (80) and HTTPS (443) services. # systemctl status httpd Step 4: Add a Firewall rule Use the following command to Start httpd service and enable it to start automatically after every reboot Use the following command to install Apache web server # yum -y install epel-release Step 3: Install Apache Server ![]() # rpm -import /etc/pki/rpm-gpg/RPM-GPG-KEY* Use the following command to install EPEL Repository It provides useful software packages that are not included in the official CentOS or Red Hat repositories. You can get the same from the EPEL repository. By default, this package is not found in the official CentOS repositories. ![]() It is a free open source web interface tool, used to manage the MySQL/MariaDB database. Note: In addition to the LAMP package (Linux, Apache, MySQL/MariaDB, and PHP), we need to install PhpMyAdmin. Thank you for your endless support! Step 1: Check the server hostname and IP address
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |