The
LAMP (Linux, Apache MySQL/MariaDB and PHP) is a combination of open source software’s
that are mostly used for running websites which are written in PHP.
This
article describes How to Install the LAMP Stack on CentOS8.
Step 1. Installing Linux OS:
Following the article Howto Install CentOS 8.0 Minimal Step by Step to install CentOS8 minimal installation.
Step 2. Installing Apache:
Follow the article Howto Install Apache/httpd Web Server on CentOS 8 to install Apache web
server.
Step 3. Installing MariaDB:
Follow the article Howto Install MariaDB Server on CentOS 8 to install MariaDB Database.
Step 4. Installing PHP:
Follow the article Howto Install PHP 7.2 on CentOS 8 [AppSream Repo].
Step 5. Verification:
Verify the installation as below:
[root@linuxcnf ~]# cat
/etc/redhat-release
CentOS
Linux release 8.0.1905 (Core)
[root@linuxcnf ~]#
|
[root@linuxcnf ~]# httpd
-v
Server
version: Apache/2.4.37 (centos)
Server built: Jun
8 2020 20:14:33
[root@linuxcnf ~]#
|
[root@linuxcnf ~]# php
--version
PHP
7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )
Copyright (c)
1997-2018 The PHP Group
Zend Engine v3.2.0,
Copyright (c) 1998-2018 Zend Technologies
[root@linuxcnf ~]#
|
[root@linuxcnf ~]# mysql
--version
mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux
(x86_64) using readline 5.1
[root@linuxcnf ~]#
|
Done!!!
LAMP Stack installation is done on CentOS 8
No comments:
Post a Comment