How To Install WordPress With LAMP Stack | CentOS7
In this tutorial, I will be installing WordPress on my CentOS 7 server with LAMP Stack infrastructure.
A LAMP Stack is a set of open-source software that can be used to create websites and web applications.
The process starts when the Apache web server receives requests for web pages from a user’s browser — PHP file -loads the file and executes the code contained in the file — PHP connect with MySQL to get any data referenced in the code.
LAMP stack typically consist of:
Linux operating system – (such as CentOS 7)
Apache HTTP Server ( Web Server)
MySQL (Relational database management system)
PHP programming language (Dynamic web sites)
Tips:
1. Make sure that the LAMP stack software versions are compatible with the release of WordPress, in order to fix issues like white pages on the installation page of WordPress. ( You have option to downgrade WordPress or update one or more of your old software such PHP, Apache, and Mariadb-server.
2. Use root user or user with sudo privileges.
3. Permanently or temporarily disable firewall on CentOS ( during this tutorial, I disabled the firewall permanently for educational purposes only. Servers must be protected in production environment).
4. Update your server with ” yum update” command, and restarted httpd server with ” systemctl restart httpd” command after moving WordPress installation files.
5 . SSH using apps such as putty to your server or direclty use the server’s terminal.
Tutorial Parts:
Introduction 00:00
Disable Selinux: 04:13
Install required packages: 05:45
Configurations steps for LAMP stack: 07:25
Install WordPress: 13:55
WordPress Setup: 17:40
Links:
Steps and Commands file ( .docx file):
https://drive.google.com/file/d/19Vwlf9ivfmDNNPq6Jj7xEcsjIsR9XTUn/view?usp=drivesdk
Thank you for watching!
Like & subscribe!
centos 7