How to install LAMP Server on Fedora 26

August 13, 2017 | By | Reply More

Fedora Tutorial – This tutorial is going to show you how to install LAMP Server on Fedora 26. LAMP (Linux Apache MySQL PHP) is a great software solution to build a powerful web server. Installing LAMP on Fedora 26 on take few minutes and it doesn’t have to be a Linux master to be able to install LAMP Server. Fedora 26 Server edition is a great operating system for server. You can download and install Fedora 26 Server edition from this link.

Steps to install LAMP Server on Fedora 26

Step 1. Update your system

It is recommended to update your server prior to LAMP Server installation. This task is to ensure that you have the latest packages installed on the server.

Step 2. Install Apache Web Server

The next step on install LAMP Server on Fedora 26 is to install Apache. Apache is the most popular web server for Linux.

Output sample

After installation complete, we need to enable server and start it.

Now check the Apache status

Configure the firewall

At this point, our Apache web server is ready. You may check by opening a web browser and type your server IP address.

http://your-server-ipaddress

 

install LAMP Server on Fedora 26

Step 2. Install MariaDB Server

MariaDB is a free, open source database server. After installing Apache, now we need to install MariaDB server.

Start/Enable MariaDB Service

Secure MariaDB

Output Sample

Step 4. Install PHP

The last thing to do on How to install LAMP Server on Fedora 26 is to install PHP and modules.

Sample output

After the installation completed, restart Apache

Ok, now we have a working LAMP Server on Fedora 26 Server. We can then install other web applications on top of it. Please leave us comment if you have any questions.

 

Tags: ,

Category: Fedora

Leave a Reply