{"id":2253,"date":"2016-07-19T14:38:08","date_gmt":"2016-07-19T18:38:08","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2253"},"modified":"2017-04-19T16:00:53","modified_gmt":"2017-04-19T20:00:53","slug":"install-joomla-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/","title":{"rendered":"How to install Joomla on CentOS 7"},"content":{"rendered":"<p>Joomla is an easy to use content management system (CMS) that can ease the process of running a website or blog. Joomla is the second most used CMS on the web, right behind WordPress in popularity. It has the shortest average delay between updates out of the three major CMS platforms (WordPress, Joomla and Drupal), making it one of the most secure choices for hosting a website.<\/p>\n<p>Written in PHP, Joomla runs on a LAMP stack and is extensible using the thousands of free extensions available online. The code is open-source and licensed under the GNU General Public License.<\/p>\n<h2>Getting Started<\/h2>\n<p>To complete this guide, you will need the following:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running CentOS 7.<br \/>\n\u2022 All commands should be run as the root user<br \/>\n\u2022 A LAMP stack with Apache, PHP and MySql<\/p>\n<h2>Tutorial<\/h2>\n<p>Joomla needs certain PHP modules to be installed. You can find these in the EPEL repository. Add the EPEL repository to your system if you don&#8217;t already have it and install the following modules.<\/p>\n<p><code>yum -y install epel-release<br \/>\nyum install -y php-mysql php-curl php-gd php-pear php-memcache php-pspell php-snmp php-xmlrpc php-mcrypt<\/code><\/p>\n<p>Next, create a database and user that your CMS will use to store your website data.<\/p>\n<p><code>mysql -u root -p<\/code><\/p>\n<p><code class=\"gris\">create database joomla;<br \/>\ncreate user joomlauser@localhost IDENTIFIED BY 'joomlapassword';<br \/>\nGRANT all ON joomla.* TO joomlauser@localhost;<br \/>\nflush privileges;<br \/>\nexit<\/code><\/p>\n<p>Now you can download the CMS. Make sure to unzip it into the Document root directory.<\/p>\n<p><code>wget https:\/\/github.com\/joomla\/joomla-cms\/releases\/download\/3.6.0\/Joomla_3.6.0-Stable-Full_Package.zip<br \/>\nunzip -q Joomla*.zip -d \/var\/www\/html<\/code><\/p>\n<p>Change the permissions of the Document root directory in order that Apache, and thereby your web users, can access it.<\/p>\n<p><code>chown -R apache:apache \/var\/www\/html<br \/>\nchmod -R 755 \/var\/www\/html<br \/>\nchcon -R -t httpd_sys_rw_content_t \/var\/www\/html\/<\/code><\/p>\n<p>In order for Apache to recognize the new modules and permissions, you will have to restart its daemon.<\/p>\n<p><code>systemctl restart httpd.service<\/code><\/p>\n<p>In order to complete the setup for your CMS&#8217; installation, visit the following address in a web browser:<\/p>\n<p>http:\/\/your_ip\/installation\/<\/p>\n<p>This online setup is where you can change your site name and description. You can also set the admin username, password and contact email here.<\/p>\n<p>When installation is complete, for security reasons you must remove the installation directory.<\/p>\n<p><code>cd \/var\/www\/html\/<br \/>\nrm -rf installation\/<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>Now that Joomla is installed, be sure to keep current with the latest security updates as they are released. Whatever kind of site you decide to host, enjoy the easy moderation and versatile extensibility that comes with choosing Joomla as your CMS solution. If this guide was helpful to you, kindly share it with others who may also be interested. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Joomla is an easy to use content management system (CMS) that can ease the process of running a website or blog. Joomla is the second most used CMS on the web, right behind WordPress in popularity. It has the shortest average delay between updates out of the three major CMS platforms (WordPress, Joomla and Drupal),<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-2253","post","type-post","status-publish","format-standard","hentry","category-web-hosting","operating_system-centos-7","applications-joomla"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install Joomla on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now &amp; ease the process of running your Website!\" \/>\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.globo.tech\/learning-center\/install-joomla-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 Joomla on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now &amp; ease the process of running your Website!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-19T18:38:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T20:00:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/\",\"name\":\"How to install Joomla on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-07-19T18:38:08+00:00\",\"dateModified\":\"2017-04-19T20:00:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now & ease the process of running your Website!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Joomla on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Joomla on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now & ease the process of running your Website!","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.globo.tech\/learning-center\/install-joomla-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install Joomla on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now & ease the process of running your Website!","og_url":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-07-19T18:38:08+00:00","article_modified_time":"2017-04-19T20:00:53+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/","name":"How to install Joomla on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-07-19T18:38:08+00:00","dateModified":"2017-04-19T20:00:53+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install the CMS Joomla on your CentOS 7 server. Read now & ease the process of running your Website!","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-joomla-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to install Joomla on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2253"}],"version-history":[{"count":4,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2253\/revisions"}],"predecessor-version":[{"id":2914,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2253\/revisions\/2914"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}