{"id":4846,"date":"2020-08-07T11:49:57","date_gmt":"2020-08-07T11:49:57","guid":{"rendered":"http:\/\/cloudminister.com\/?p=4846"},"modified":"2025-11-15T10:44:20","modified_gmt":"2025-11-15T10:44:20","slug":"how-to-install-joomla-with-lemp-stack-part-1","status":"publish","type":"post","link":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/","title":{"rendered":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"536\" src=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46-1024x536.png\" alt=\"\" class=\"wp-image-36507\" srcset=\"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46-1024x536.png 1024w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46-300x157.png 300w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46-768x402.png 768w, https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<p class=\"ds-markdown-paragraph\">Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &#8220;LAMP&#8221; stack), running it on\u00a0<strong>Nginx<\/strong>\u00a0(the &#8220;LEMP&#8221; stack) can offer significant performance benefits.<\/p>\n<p class=\"ds-markdown-paragraph\">In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and configuring the core components of the LEMP stack:\u00a0<strong>Nginx, MySQL 8.0, and PHP 7.2.<\/strong><\/p>\n<h4><strong>Prerequisites<\/strong><\/h4>\n<p class=\"ds-markdown-paragraph\">Before you begin, ensure you have:<\/p>\n<ul>\n<li>\n<p class=\"ds-markdown-paragraph\">A CentOS 7 <a href=\"https:\/\/cloudminister.com\/vps-hosting\/\">VPS<\/a><\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\">SSH access as a user with\u00a0<code>sudo<\/code>\u00a0privileges<\/p>\n<\/li>\n<\/ul>\n<p class=\"ds-markdown-paragraph\">Let&#8217;s start by updating the system:<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum <span class=\"token parameter variable\">-y<\/span> update<\/pre>\n<\/div>\n<hr \/>\n<h3><strong>Step 1: Install MySQL 8.0<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">Joomla requires a database to store all its content. We&#8217;ll use MySQL 8.0.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>1.1 Add the MySQL Repository:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum localinstall <span class=\"token parameter variable\">-y<\/span> https:\/\/dev.mysql.com\/get\/mysql80-community-release-el7-3.noarch.rpm<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>1.2 Install MySQL Server:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> mysql-community-server<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>1.3 Start and Enable MySQL:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> systemctl start mysqld\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> mysqld<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>1.4 Secure Your MySQL Installation:<\/strong><br \/>During the initial installation, a temporary password is generated for the root user. Retrieve it with:<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">'temporary password'<\/span> \/var\/log\/mysqld.log<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\">Then, run the security script. It will prompt you to change the root password and improve security defaults.<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> mysql_secure_installation<\/pre>\n<\/div>\n<ul>\n<li>\n<p class=\"ds-markdown-paragraph\">Follow the prompts. It&#8217;s recommended to:\u00a0<strong>(Y)<\/strong>\u00a0Change the root password,\u00a0<strong>(Y)<\/strong>\u00a0Remove anonymous users,\u00a0<strong>(Y)<\/strong>\u00a0Disallow root login remotely,\u00a0<strong>(Y)<\/strong>\u00a0Remove test database, and\u00a0<strong>(Y)<\/strong>\u00a0Reload privilege tables.<\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<p class=\"ds-markdown-paragraph\"><strong>Pro Tip:\u00a0MySQL 8.0 has a strict password policy. Your new password must be strong (12+ characters, mix of upper\/lower case, numbers, and symbols). Note it down in a secure place.<\/strong><\/p>\n<\/blockquote>\n<hr \/>\n<h3><strong>Step 2: Create a Database for Joomla<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">Log into MySQL and create a <a href=\"https:\/\/cloudminister.com\/dedicated-server\/\">dedicated<\/a> database and user for Joomla. This is a crucial security practice.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>2.1 Log into MySQL:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre>mysql <span class=\"token parameter variable\">-u<\/span> root <span class=\"token parameter variable\">-p<\/span><\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\">Enter the root password you set in the previous step.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>2.2 Create the Database and User:<\/strong><br \/>Run these commands within the MySQL shell, replacing\u00a0<code>'joomla_user_password'<\/code>\u00a0with a very strong password.<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">sql<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">DATABASE<\/span> joomla_db<span class=\"token punctuation\">;<\/span>\n<span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">USER<\/span> <span class=\"token string\">'joomla_user'<\/span><span class=\"token variable\">@'localhost'<\/span> IDENTIFIED <span class=\"token keyword\">BY<\/span> <span class=\"token string\">'joomla_user_password'<\/span><span class=\"token punctuation\">;<\/span>\n<span class=\"token keyword\">GRANT<\/span> <span class=\"token keyword\">ALL<\/span> <span class=\"token keyword\">PRIVILEGES<\/span> <span class=\"token keyword\">ON<\/span> joomla_db<span class=\"token punctuation\">.<\/span><span class=\"token operator\">*<\/span> <span class=\"token keyword\">TO<\/span> <span class=\"token string\">'joomla_user'<\/span><span class=\"token variable\">@'localhost'<\/span><span class=\"token punctuation\">;<\/span>\nFLUSH <span class=\"token keyword\">PRIVILEGES<\/span><span class=\"token punctuation\">;<\/span>\n<span class=\"token keyword\">EXIT<\/span><span class=\"token punctuation\">;<\/span><\/pre>\n<\/div>\n<blockquote>\n<p class=\"ds-markdown-paragraph\"><strong>Pro Tip:\u00a0Avoid using the MySQL\u00a0<code>root<\/code>\u00a0user for Joomla. Creating a dedicated user with permissions only for its specific database (<code>joomla_db.*<\/code>) limits the damage if your Joomla site is ever compromised.<\/strong><\/p>\n<\/blockquote>\n<hr \/>\n<h3><strong>Step 3: Install &amp; Configure PHP 7.2<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">CentOS 7 ships with an older version of PHP. We will use the Remi repository to install PHP 7.2, which is faster and fully supported by Joomla 4.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>3.1 Add the Required Repositories:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> epel-release yum-utils\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>3.2 Enable the PHP 7.2 Repository:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum-config-manager <span class=\"token parameter variable\">--enable<\/span> remi-php72<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>3.3 Install PHP and Necessary Extensions:<\/strong><br \/>Joomla requires several PHP modules. Install them all at once:<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> php-fpm php-mysqlnd php-zip php-json php-mbstring php-curl php-gd php-xml php-pecl-imagick php-intl<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>3.4 Configure PHP for Joomla:<\/strong><br \/>Edit the main PHP configuration file to adjust settings for better performance and compatibility.<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> <span class=\"token function\">vi<\/span> \/etc\/php.ini<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\">Find and modify the following lines (or add them if they don&#8217;t exist):<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">text<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre>memory_limit = 256M\nupload_max_filesize = 64M\npost_max_size = 64M\nmax_execution_time = 300<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\">Save and close the file.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>3.5 Start and Enable PHP-FPM:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> systemctl start php-fpm\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> php-fpm<\/pre>\n<\/div>\n<blockquote>\n<p class=\"ds-markdown-paragraph\"><strong>Pro Tip:\u00a0The default\u00a0<code>php.ini<\/code>\u00a0is not optimized for CMSs like Joomla. Adjusting\u00a0<code>memory_limit<\/code>,\u00a0<code>upload_max_filesize<\/code>, and\u00a0<code>max_execution_time<\/code>\u00a0prevents common errors during installation and when uploading media or extensions.<\/strong><\/p>\n<\/blockquote>\n<hr \/>\n<h3><strong>Step 4: Install Nginx<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\"><strong>4.1 Install Nginx:<\/strong><br \/>Nginx is available in the EPEL repository, which we already added.<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> nginx<\/pre>\n<\/div>\n<p class=\"ds-markdown-paragraph\"><strong>4.2 Start and Enable Nginx:<\/strong><\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> systemctl start nginx\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> nginx<\/pre>\n<\/div>\n<hr \/>\n<h3><strong>Step 5: Configure the Firewall<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">Allow HTTP and HTTPS traffic through the system firewall so users can access your site.<\/p>\n<div class=\"md-code-block md-code-block-light\">\n<div class=\"md-code-block-banner-wrap\">\n<div class=\"md-code-block-banner md-code-block-banner-lite\">\n<div class=\"_121d384\">\n<div class=\"d2a24f03\"><span class=\"d813de27\">bash<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">--permanent<\/span> --add-service<span class=\"token operator\">=<\/span>http --add-service<span class=\"token operator\">=<\/span>https\n<span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">--reload<\/span><\/pre>\n<\/div>\n<hr \/>\n<h3><strong>What&#8217;s Next? (Teaser for Part 2)<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">You have now successfully installed the LEMP stack! Your server is ready for Joomla.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>In Part 2 of this tutorial, we will cover:<\/strong><\/p>\n<ol start=\"1\">\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Configuring Nginx<\/strong>\u00a0to process PHP files and serve your Joomla site.<\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Downloading and installing<\/strong>\u00a0the latest Joomla files.<\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Setting correct file permissions<\/strong>\u00a0for security.<\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Running the Joomla web installer<\/strong>\u00a0to connect the database and set up your site.<\/p>\n<\/li>\n<\/ol>\n<p class=\"ds-markdown-paragraph\">Stay tuned!<\/p>\n<hr \/>\n<h3><strong>Tired of Complex Server Setup?<\/strong><\/h3>\n<p class=\"ds-markdown-paragraph\">Configuring a high-performance LEMP stack from scratch is complex and time-consuming. Let us handle the server management so you can focus on building your website.<\/p>\n<p class=\"ds-markdown-paragraph\"><strong>Our Optimized Joomla Hosting includes:<\/strong><\/p>\n<ul>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>LEMP Stack Pre-Installed &amp; Fine-Tuned<\/strong><\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Free SSL Certificates<\/strong><\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>Daily Backups &amp; Proactive Security<\/strong><\/p>\n<\/li>\n<li>\n<p class=\"ds-markdown-paragraph\"><strong>24\/7 Expert Support<\/strong><\/p>\n<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<h3 style=\"text-align: right;\"><a href=\"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-on-centos-7-vps-part-2\/\"><strong>To be Continued&#8230;&#8230;.<\/strong><\/a><\/h3>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &#8220;LAMP&#8221; stack), running it on\u00a0Nginx\u00a0(the &#8220;LEMP&#8221; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":36507,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[235,840],"tags":[52,268,269,270,271,64,273,133,274,99],"class_list":["post-4846","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-centos-web-panel","tag-centos","tag-centos-7-vps","tag-configure-database-in-mysql","tag-install-configure-php-7-2","tag-install-mysql-8-0","tag-installation","tag-joomla","tag-lemp-stack","tag-prerequisites","tag-vps-hosting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &quot;LAMP&quot; stack), running it on Nginx (the &quot;LEMP&quot; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tanuj Chugh\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CloudMinister -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister\" \/>\n\t\t<meta property=\"og:description\" content=\"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &quot;LAMP&quot; stack), running it on Nginx (the &quot;LEMP&quot; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-07T11:49:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-11-15T10:44:20+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &quot;LAMP&quot; stack), running it on Nginx (the &quot;LEMP&quot; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#blogposting\",\"name\":\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister\",\"headline\":\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)\",\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/Feature-images-46.png\",\"width\":1200,\"height\":628},\"datePublished\":\"2020-08-07T11:49:57+00:00\",\"dateModified\":\"2025-11-15T10:44:20+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#webpage\"},\"articleSection\":\"Centos, CentOS Web Panel, centos, CentOS 7 VPS, Configure Database in MySQL, Install &amp; Configure PHP 7.2, Install MySQL 8.0, installation, Joomla, lemp stack, Prerequisites, vps hosting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/centos\\\/#listItem\",\"name\":\"Centos\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/centos\\\/#listItem\",\"position\":2,\"name\":\"Centos\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/centos\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#listItem\",\"name\":\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#listItem\",\"position\":3,\"name\":\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/centos\\\/#listItem\",\"name\":\"Centos\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\",\"name\":\"CloudMinister\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/\",\"name\":\"Tanuj Chugh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3395bcaf63eb5840dd73f67c7cb69ffd3dfe33336c1bdb1f1b9aeabe5b05e15a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tanuj Chugh\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#webpage\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/\",\"name\":\"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister\",\"description\":\"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the \\\"LAMP\\\" stack), running it on Nginx (the \\\"LEMP\\\" stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/Feature-images-46.png\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#mainImage\",\"width\":1200,\"height\":628},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/how-to-install-joomla-with-lemp-stack-part-1\\\/#mainImage\"},\"datePublished\":\"2020-08-07T11:49:57+00:00\",\"dateModified\":\"2025-11-15T10:44:20+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"name\":\"CloudMinister\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister","description":"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the \"LAMP\" stack), running it on Nginx (the \"LEMP\" stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and","canonical_url":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#blogposting","name":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister","headline":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)","author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46.png","width":1200,"height":628},"datePublished":"2020-08-07T11:49:57+00:00","dateModified":"2025-11-15T10:44:20+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#webpage"},"isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#webpage"},"articleSection":"Centos, CentOS Web Panel, centos, CentOS 7 VPS, Configure Database in MySQL, Install &amp; Configure PHP 7.2, Install MySQL 8.0, installation, Joomla, lemp stack, Prerequisites, vps hosting"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/cloudminister.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/centos\/#listItem","name":"Centos"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/centos\/#listItem","position":2,"name":"Centos","item":"https:\/\/cloudminister.com\/blog\/category\/centos\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#listItem","name":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#listItem","position":3,"name":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)","previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/centos\/#listItem","name":"Centos"}}]},{"@type":"Organization","@id":"https:\/\/cloudminister.com\/blog\/#organization","name":"CloudMinister","url":"https:\/\/cloudminister.com\/blog\/"},{"@type":"Person","@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author","url":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/","name":"Tanuj Chugh","image":{"@type":"ImageObject","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3395bcaf63eb5840dd73f67c7cb69ffd3dfe33336c1bdb1f1b9aeabe5b05e15a?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tanuj Chugh"}},{"@type":"WebPage","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#webpage","url":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/","name":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister","description":"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the \"LAMP\" stack), running it on Nginx (the \"LEMP\" stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#breadcrumblist"},"author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"creator":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/08\/Feature-images-46.png","@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#mainImage","width":1200,"height":628},"primaryImageOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/#mainImage"},"datePublished":"2020-08-07T11:49:57+00:00","dateModified":"2025-11-15T10:44:20+00:00"},{"@type":"WebSite","@id":"https:\/\/cloudminister.com\/blog\/#website","url":"https:\/\/cloudminister.com\/blog\/","name":"CloudMinister","inLanguage":"en-US","publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"CloudMinister -","og:type":"article","og:title":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister","og:description":"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &quot;LAMP&quot; stack), running it on Nginx (the &quot;LEMP&quot; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and","og:url":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/","article:published_time":"2020-08-07T11:49:57+00:00","article:modified_time":"2025-11-15T10:44:20+00:00","twitter:card":"summary_large_image","twitter:title":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1) - CloudMinister","twitter:description":"Joomla is a powerful open-source Content Management System (CMS) used by millions to build websites and applications. While often paired with Apache (the &quot;LAMP&quot; stack), running it on Nginx (the &quot;LEMP&quot; stack) can offer significant performance benefits. In this first part of our tutorial, you will learn how to prepare your CentOS 7 server by installing and"},"aioseo_meta_data":{"post_id":"4846","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-05-21 07:28:57","updated":"2025-11-15 10:57:15","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/category\/centos\/\" title=\"Centos\">Centos<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cloudminister.com\/blog\/"},{"label":"Centos","link":"https:\/\/cloudminister.com\/blog\/category\/centos\/"},{"label":"How to install Joomla with LEMP stack on CentOS 7 VPS (Part 1)","link":"https:\/\/cloudminister.com\/blog\/how-to-install-joomla-with-lemp-stack-part-1\/"}],"_links":{"self":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/4846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/comments?post=4846"}],"version-history":[{"count":2,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/4846\/revisions"}],"predecessor-version":[{"id":36508,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/4846\/revisions\/36508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media\/36507"}],"wp:attachment":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media?parent=4846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/categories?post=4846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/tags?post=4846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}