{"id":30249,"date":"2019-05-22T14:52:46","date_gmt":"2019-05-22T19:52:46","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=30249"},"modified":"2022-06-03T03:34:06","modified_gmt":"2022-06-03T08:34:06","slug":"how-to-install-mezzanine-cms-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/","title":{"rendered":"How to Install Mezzanine CMS on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-30486\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg\" alt=\"How to Install Mezzanine CMS on CentOS 7\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-30860\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7.jpg\" alt=\" Installing Mezzanine CMS on CentOS 7\" width=\"182\" height=\"160\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7.jpg 182w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7-150x132.jpg 150w\" sizes=\"(max-width: 182px) 100vw, 182px\" \/>In this tutorial, we will show you how to install Mezzanine on <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 7<\/a> Mezzanine is a free and open-source content management system (also known as a CMS), built using the Django web application framework. It is a set of useful components that helps developers to easily and quickly create websites for a variety of purposes. It provides an intuitive interface for managing and creating webpages, blog posts, form data, store products, as well as many other types of content.<\/p>\n<p>Unlike other popular CMS applications, all of these functionalities are available out-of-the-box, without the need for using any additional modules or add-ons. <strong>Installing Mezzanine CMS on CentOS 7<\/strong> is an easy task if you follow the steps below carefully.<\/p>\n<p><!--more--><\/p>\n<h2><img decoding=\"async\" class=\"aligncenter size-full wp-image-30861\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7.png\" alt=\"how to install mezzanine cms on centos 7\" width=\"1223\" height=\"714\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7.png 1223w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7-150x88.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7-300x175.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7-768x448.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7-1024x598.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/how-to-install-mezzanine-cms-on-centos-7-1080x631.png 1080w\" sizes=\"(max-width: 1223px) 100vw, 1223px\" \/><\/h2>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f367a2d9078\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f367a2d9078\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-1-Login-and-Update-Packages\" >Step 1: Login and Update Packages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-2-Install-Development-Tools\" >Step 2: Install Development Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-3-Install-Python-36\" >Step 3: Install Python 3.6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-4-Install-MariaDB-Server\" >Step 4: Install MariaDB Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-5-Create-a-Database-for-Mezzanine\" >Step 5: Create a Database for Mezzanine<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-6-Create-a-Mezzanine-System-User\" >Step 6: Create a Mezzanine System User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-7-Create-a-Virtual-Environment\" >Step 7: Create a Virtual Environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-8-Install-and-Create-a-Mezzanine-Project\" >Step 8: Install and Create a Mezzanine Project<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-9-Configure-the-Mezzanine-Project\" >Step 9: Configure the Mezzanine Project<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-10-Start-the-Mezzanine-Server\" >Step 10: Start the Mezzanine Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#Step-11-Configure-a-Reverse-Proxy\" >Step 11: Configure a Reverse Proxy<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">server running CentOS 7<\/a><\/li>\n<li>SSH access with root privileges, or access to the root user<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Login-and-Update-Packages\"><\/span>Step 1: Login and Update Packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, we&#8217;re going to need to log into our server using SSH. You can do that by entering this command:<\/p>\n<pre>ssh root@IP_Address -p Port_Number<\/pre>\n<p>Remember to replace &#8220;root&#8221; with your username if you are not using the root user. Change &#8220;IP_Address&#8221; and &#8220;Port_Number&#8221; according to your server&#8217;s IP address and port.<\/p>\n<p>Once you are logged in, you should update all of your packages to their latest available versions, that way we can maximize compatibility and avoid potential version discrepancies:<\/p>\n<pre># yum update<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-Development-Tools\"><\/span>Step 2: Install Development Tools<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The &#8220;Development Tools&#8221; bundle is required for building Python modules. we can install it by using this command:<\/p>\n<pre># yum groupinstall 'Development Tools'<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Install-Python-36\"><\/span>Step 3: Install Python 3.6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to install Python version 3.6, we need the <code>centos-release-scl<\/code> and <code>epel-release<\/code> repositories. You can install them with this command:<\/p>\n<pre># yum install centos-release-scl epel-release<\/pre>\n<p>Once that is done, you can then install Python 3.6. Additionally, we will be installing <code>nano<\/code>, a versatile text editor (optional), and <code>Nginx<\/code>, a highly-customizable web server:<\/p>\n<pre># yum install rh-python36 nano nginx<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Install-MariaDB-Server\"><\/span>Step 4: Install MariaDB Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Installing the MariaDB database server is easy, and only requires one command:<\/p>\n<pre># yum install mariadb-server<\/pre>\n<p>Once it has finished installing, let&#8217;s enable it to run on boot and then start the service.<\/p>\n<pre># systemctl enable mariadb\r\n# systemctl start mariadb<\/pre>\n<p>At this point, MariaDB is running, and we are now going to create a password for the root user. Run the following command to create a root password, remove the test database, remove the anonymous user, before finally reloading the privileges.<\/p>\n<pre># mysql_secure_installation<\/pre>\n<p>When prompted, answer the questions below by following the guide.<\/p>\n<pre>Enter current password for root (enter for none): <strong>Just press the [Enter] key, since no password is currently set.<\/strong>\r\nSet root password? [Y\/n]: <strong>Y<\/strong>\r\nNew password: <strong>Enter a new password<\/strong>\r\nRe-enter new password: <strong>Repeat the new password<\/strong>\r\nRemove anonymous users? [Y\/n]: <strong>Y<\/strong>\r\nDisallow root login remotely? [Y\/n]:<strong> Y<\/strong>\r\nRemove test database and access to it? [Y\/n]: <strong>Y<\/strong>\r\nReload privilege tables now? [Y\/n]:<strong> Y<\/strong><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-5-Create-a-Database-for-Mezzanine\"><\/span>Step 5: Create a Database for Mezzanine<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Let\u2019s create one using the following commands. First, we need to log into the MariaDB command line interface:<\/p>\n<pre># mysql -u root -p<\/pre>\n<p>From there, we can create our database:<\/p>\n<pre>mysql&gt; create database mezzanine;\r\nQuery OK, 1 row affected (0.00 sec)<\/pre>\n<p>Once the database has been created, we&#8217;ll create a user and provide it with full access to the Mezzanine database:<\/p>\n<pre>mysql&gt; grant all on mezzanine.* to mezzanine@localhost identified by '<span style=\"color: #ff0000;\">Password<\/span>';\r\nQuery OK, 0 rows affected, 1 warning (0.00 sec)<\/pre>\n<p>Remember to flush all privileges so that the changes take effect:<\/p>\n<pre>mysql&gt; flush privileges;\r\nQuery OK, 0 rows affected (0.00 sec)<\/pre>\n<p>Then quit the command line interface.<\/p>\n<pre>mysql&gt; quit<\/pre>\n<p><strong>NOTE:<\/strong>\u00a0You will need to change the password \u2018<span style=\"color: #ff0000;\">Password<\/span>\u2019 above to a strong password.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-6-Create-a-Mezzanine-System-User\"><\/span>Step 6: Create a Mezzanine System User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before we proceed, let\u2019s create a new user for our Mezzanine installation:<\/p>\n<pre># adduser mezzanine<\/pre>\n<p>Next, we&#8217;ll add this new user to the sudo group:<\/p>\n<pre># usermod -aG wheel mezzanine<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-7-Create-a-Virtual-Environment\"><\/span>Step 7: Create a Virtual Environment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We will create a virtual environment under the system user that we created earlier:<\/p>\n<pre># su - mezzanine<\/pre>\n<p>To enable python3.6 in this shell session, we need to run this command:<\/p>\n<pre>$ scl enable rh-python36 bash<\/pre>\n<p>You can check the python version now.<\/p>\n<pre>$ python -V<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-30862\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/install-mezzanine-on-centos-7.png\" alt=\"how to install mezzanine cms on centos 7\" width=\"442\" height=\"76\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/install-mezzanine-on-centos-7.png 442w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/install-mezzanine-on-centos-7-150x26.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/install-mezzanine-on-centos-7-300x52.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/install-mezzanine-on-centos-7-440x76.png 440w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/p>\n<p>We can now create a virtual environment. The following command will create a virtual environment called &#8220;mezzanine&#8221;:<\/p>\n<pre>$ python -m venv mezzanine<\/pre>\n<p>To use the virtual environment, we&#8217;ll first need to activate it by issuing this command:<\/p>\n<pre>$ source mezzanine\/bin\/activate<\/pre>\n<p>Once activated, the shell prompt will look like this:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-30863\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7.png\" alt=\"installing mezzanine cms on centos 7\" width=\"473\" height=\"46\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7.png 473w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7-150x15.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/05\/installing-mezzanine-cms-on-centos-7-300x29.png 300w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-8-Install-and-Create-a-Mezzanine-Project\"><\/span>Step 8: Install and Create a Mezzanine Project<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, we&#8217;ll install a Python package called &#8220;mezzanine&#8221;. This is required for Mezzanine to function properly.<\/p>\n<pre>$ pip install mezzanine<\/pre>\n<p>After that, we can create our first Mezzanine project.<\/p>\n<pre>$ mezzanine-project first_project<\/pre>\n<p>The command above will add a new directory named &#8220;first_project&#8221;. On your server, you can choose any project name you want. Please remember to follow along with the name change throughout the rest of the tutorial.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-9-Configure-the-Mezzanine-Project\"><\/span>Step 9: Configure the Mezzanine Project<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>At this step, we need to edit the <code>settings.py<\/code> file within our first project directory. We will be using MySQL for our database storage:<\/p>\n<pre>$ cd first_project<\/pre>\n<pre>$ nano first_project\/settings.py<\/pre>\n<p>Locate the DATABASES block and add the following information about the database we have created earlier.<\/p>\n<pre>DATABASES = {\r\n      \"default\": {\r\n      \"ENGINE\": \"django.db.backends.mysql\",\r\n      \"NAME\": \"mezzanine\",\r\n      \"USER\": \"mezzanine\",\r\n      \"PASSWORD\": \"Password\",\r\n      \"HOST\": \"\",\r\n      \"PORT\": \"\",\r\n      }\r\n}\r\n<\/pre>\n<p>Save the changes and exit.<\/p>\n<p>You will also find the main script for managing projects in this directory, which is called <code>manage.py<\/code>.<\/p>\n<p>We will use this script to migrate the database and create a new superuser account for our Mezzanine admin interface.<\/p>\n<p>Let\u2019s migrate the database by running the following commands:<\/p>\n<pre>$ python manage.py makemigrations\r\n$ python manage.py migrate\r\n<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-30264\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-1024x560.png\" alt=\"\" width=\"1024\" height=\"560\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-1024x560.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-300x164.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-768x420.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration-1080x591.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/python_manage_migration.png 1271w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Once the database is migrated, we can create a new administrative user with the following:<\/p>\n<pre>$ python manage.py createsuperuser<\/pre>\n<p>Enter the required information in order to create the new admin user:<\/p>\n<pre>Username (leave blank to use 'mezzanine'):\r\nEmail address: me@mydomain.com\r\nPassword:\r\nPassword (again):\r\nSuperuser created successfully.\r\n<\/pre>\n<p>Next, open the following file to edit it:<\/p>\n<pre>$ nano first_project\/local_settings.py<\/pre>\n<p>Find the ALLOWED_HOSTS line and then add the IP address of your server and\/or your domain name.<\/p>\n<pre>ALLOWED_HOSTS = [\"localhost\", \"127.0.0.1\", \"::1\", \"your-server-IP\", \"your-domain-name\"]<\/pre>\n<p>Save the file and exit the nano text editor.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-10-Start-the-Mezzanine-Server\"><\/span>Step 10: Start the Mezzanine Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To start up and run the Mezzanine server, run the following command:<\/p>\n<pre>$ python manage.py runserver 0.0.0.0:8000<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-30267\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_runserver.png\" alt=\"\" width=\"754\" height=\"408\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_runserver.png 754w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_runserver-150x81.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_runserver-300x162.png 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><br \/>\nYou will now be able to access the application using your preferred browser at <code>http:\/\/your_server_ip:8000\/<\/code>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-30265\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-1024x442.png\" alt=\"\" width=\"1024\" height=\"442\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-1024x442.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-150x65.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-300x130.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-768x332.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page-1080x467.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_main_page.png 1252w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>You can then access the Mezzanine admin page and log in with your admin user at <code>http:\/\/your_server_ip:8000\/admin<\/code><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-30266\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-1024x497.png\" alt=\"\" width=\"1024\" height=\"497\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-1024x497.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-150x73.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-300x146.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-768x373.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend-1080x524.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/mezzanine_backend.png 1333w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>To stop the server from running, you can simply do <b>Ctrl+C.<\/b><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-11-Configure-a-Reverse-Proxy\"><\/span>Step 11: Configure a Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To manage the Mezzanine CMS application better, we need to install Gunicorn. Gunicorn is a python web server gateway interface HTTP server. It is a pre-fork worker model, ported from Ruby&#8217;s Unicorn project. The Gunicorn server is compatible with a broad number of web frameworks, its implementation is simple, it&#8217;s light on server resources, and it&#8217;s fairly fast. To install it, just run these next few commands.<\/p>\n<pre>$ pip install gunicorn\r\n$ python manage.py collectstatic\r\n$ deactivate\r\n$ exit<\/pre>\n<p>Once the install has completed, use nano (or your preferred text editor) to create the service file.<\/p>\n<pre># nano \/etc\/systemd\/system\/gunicorn.service<\/pre>\n<p>When the file has opened, set the following values by copying and pasting the following:<\/p>\n<pre>[Unit]\r\nDescription=gunicorn daemon\r\nAfter=network.target\r\n\r\n[Service]\r\nUser=mezzanine\r\nGroup=nginx\r\nWorkingDirectory=\/home\/mezzanine\/first_project\r\nExecStart=\/home\/mezzanine\/mezzanine\/bin\/gunicorn --access-logfile - --workers 3 --bind unix:\/home\/mezzanine\/first_project.sock first_project.wsgi:application\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>Remember to change &#8220;first_project&#8221; to the name of your Mezzanine project! Close and file and run the next command to reload the services list.<\/p>\n<pre># systemctl daemon-reload<\/pre>\n<p>Now, we can start-stop-restart Mezzanine CMS application using the systemctl command:<\/p>\n<pre># systemctl start gunicorn<\/pre>\n<p>If you want it to run on boot, we&#8217;ll need to enable it.<\/p>\n<pre>systemctl enable gunicorn<\/pre>\n<p>Gunicorn has now been successfully configured. Now, to access it using your domain name in the web browser, we will install and configure Nginx to proxy pass to Gunicorn.<\/p>\n<p>Let&#8217;s create an Nginx server block file. Make sure that you change <span style=\"color: #ff0000;\">your_domain.com<\/span> to your actual domain name.<\/p>\n<pre># nano \/etc\/nginx\/conf.d\/<span style=\"color: #ff0000;\">your_domain.com<\/span>.conf<\/pre>\n<p>Then paste the following into the file:<\/p>\n<pre>server {\r\n     listen 80;\r\n     server_name <span style=\"color: #ff0000;\">your_domain.com<\/span>;\r\n\r\nlocation = \/favicon.ico { access_log off; log_not_found off; }\r\n\r\nlocation \/static\/ {\r\n     root \/home\/mezzanine\/first_project;\r\n}\r\n\r\nlocation \/ {\r\n     proxy_set_header Host $http_host;\r\n     proxy_set_header X-Real-IP $remote_addr;\r\n     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n     proxy_set_header X-Forwarded-Proto $scheme;\r\n     proxy_pass http:\/\/unix:\/home\/mezzanine\/first_project.sock;\r\n}\r\n}\r\n<\/pre>\n<p>Save and exit once finished. Run the next commands to load the changes, start Nginx, and enable it to start on boot.<\/p>\n<pre># nginx -t\r\n# systemctl start nginx\r\n# systemctl enable nginx\r\n<\/pre>\n<p>To give permissions to Nginx to access your Mezzanine CMS application, we have to add the Nginx user to the user group that can run the Mezzanine CMS.<\/p>\n<pre># usermod -aG mezzanine nginx<\/pre>\n<p>Then, we&#8217;ll also need to change the directory permissions of the Mezzanine user&#8217;s home.<\/p>\n<pre># chmod 710 \/home\/mezzanine<\/pre>\n<p>Restart Nginx for the changes to take effect.<\/p>\n<pre># systemctl restart nginx<\/pre>\n<p>That&#8217;s it, you should be able to access your Mezzanine CMS application at <code>http:\/\/yourdomain.com<\/code> now. <strong>Congratulations!<\/strong><\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\" wp-image-30488 alignleft\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-mezzanine-cms-on-centos7.jpg\" alt=\"Install Mezzanine CMS on CentOS 7\" width=\"227\" height=\"121\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-mezzanine-cms-on-centos7.jpg 750w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-mezzanine-cms-on-centos7-150x80.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/install-mezzanine-cms-on-centos7-300x160.jpg 300w\" sizes=\"(max-width: 227px) 100vw, 227px\" \/>Of course, you don\u2019t have to Install Mezzanine CMS on CentOS 7 if you use one of our Mezzanine CMS <a href=\"https:\/\/www.rosehosting.com\/vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">VPS Hosting services<\/a>, in which case you can simply ask our expert Linux admins to install Mezzanine CMS on your VPS for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on <strong>how to install Mezzanine CMS on CentOS 7<\/strong>, please share it with your friends on the social networks using the buttons below or simply leave a reply in the comments sections. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install Mezzanine on CentOS 7 Mezzanine is a free and open-source &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Mezzanine CMS on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#more-30249\" aria-label=\"Read more about How to Install Mezzanine CMS on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":30486,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1236,13,1712],"tags":[541,1789,863],"class_list":["post-30249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-guides","category-tutorials","category-web-frameworks","tag-centos-7","tag-gunicorn","tag-mezzanine","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Mezzanine CMS on CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Mezzanine CMS on CentOS 7 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Mezzanine CMS on CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to Install Mezzanine CMS on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-22T19:52:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:34:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Mezzanine CMS on CentOS 7\",\"datePublished\":\"2019-05-22T19:52:46+00:00\",\"dateModified\":\"2022-06-03T08:34:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/\"},\"wordCount\":1254,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-mezzanine-cms-on-centos7.jpg\",\"keywords\":[\"centos 7\",\"gunicorn\",\"Mezzanine\"],\"articleSection\":[\"CentOS\",\"Guides\",\"Tutorials\",\"Web Frameworks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/\",\"name\":\"How to Install Mezzanine CMS on CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-mezzanine-cms-on-centos7.jpg\",\"datePublished\":\"2019-05-22T19:52:46+00:00\",\"dateModified\":\"2022-06-03T08:34:06+00:00\",\"description\":\"How to Install Mezzanine CMS on CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-mezzanine-cms-on-centos7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/how-to-install-mezzanine-cms-on-centos7.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install Mezzanine CMS on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mezzanine-cms-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Mezzanine CMS on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Mezzanine CMS on CentOS 7 | RoseHosting","description":"How to Install Mezzanine CMS on CentOS 7 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Mezzanine CMS on CentOS 7","og_description":"How to Install Mezzanine CMS on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-05-22T19:52:46+00:00","article_modified_time":"2022-06-03T08:34:06+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Mezzanine CMS on CentOS 7","datePublished":"2019-05-22T19:52:46+00:00","dateModified":"2022-06-03T08:34:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/"},"wordCount":1254,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg","keywords":["centos 7","gunicorn","Mezzanine"],"articleSection":["CentOS","Guides","Tutorials","Web Frameworks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/","name":"How to Install Mezzanine CMS on CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg","datePublished":"2019-05-22T19:52:46+00:00","dateModified":"2022-06-03T08:34:06+00:00","description":"How to Install Mezzanine CMS on CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/04\/how-to-install-mezzanine-cms-on-centos7.jpg","width":742,"height":372,"caption":"How to Install Mezzanine CMS on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mezzanine-cms-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Mezzanine CMS on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=30249"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30249\/revisions"}],"predecessor-version":[{"id":41726,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30249\/revisions\/41726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/30486"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=30249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=30249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=30249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}