{"id":2500,"date":"2016-08-12T17:09:25","date_gmt":"2016-08-12T21:09:25","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2500"},"modified":"2016-10-02T00:18:43","modified_gmt":"2016-10-02T04:18:43","slug":"upgrade-apache-directadmin","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/","title":{"rendered":"How to upgrade Apache in DirectAdmin"},"content":{"rendered":"<p>DirectAdmin is a common web hosting panel used on Linux systems to graphically administer websites. You can use it in conjunction with other server software, such as Apache. <\/p>\n<p>However, when using DirectAdmin with Apache, it&#8217;s important that you regularly update Apache. This will enhance your site&#8217;s security and prevent it from falling victim to any security holes that have been patched with the latest version. We&#8217;ve compiled this guide to help you quickly update your Apache installation when using DirectAdmin. You can also use it to help update any other additional software you&#8217;re using with DirectAdmin.<\/p>\n<h2>Getting started<\/h2>\n<p>Confirm that you have the following before you follow this guide:<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>) with DirectAdmin and custombuild installed.<br \/>\n\u2022 Root access to the node or one sudo non-root user<\/p>\n<h2>Tutorial<\/h2>\n<p>First, go in the custombuild directory of your DirectAdmin installation.<\/p>\n<p><code>cd \/usr\/local\/directadmin\/custombuild<\/code><\/p>\n<p>Now, download all the latest packages your system needs. At minimum you should retrieve the latest version of Apache.<\/p>\n<p><code>.\/build update<\/code><\/p>\n<p>You can update Apache by typing the following command. Always make sure you have the latest version of Apache, to mitigate risk of security breach. <\/p>\n<p><code>.\/build apache<\/code><\/p>\n<p>Great! You&#8217;re halfway there. You will now need to rebuild your PHP installation to make sure that your files are also upgraded. <\/p>\n<p><code>.\/build php n<\/code><\/p>\n<p>After that&#8217;s done, the next step is to rebuild all the conf files.<\/p>\n<p><code>.\/build rewrite_confs<\/code><\/p>\n<p>The final task is to restart the Apache webserver, in order to apply the latest changes. <\/p>\n<p><code>service httpd restart<\/code><\/p>\n<p>Check the version. Apache should report that it&#8217;s the newest version that you downloaded. You can check your current version of Apache by typing the following command: <\/p>\n<p><code>httpd -v<\/code><\/p>\n<h2>Conclusion<\/h2>\n<p>Building Apache for DirectAdmin is not as simple a task as simply running an apt-get or yum command, but it&#8217;s absolutely necessary for the safety of your server and any hosted material. If you&#8217;d like a quicker way to automatically update Apache, you can create a shell script that runs the above commands. 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>DirectAdmin is a common web hosting panel used on Linux systems to graphically administer websites. You can use it in conjunction with other server software, such as Apache. However, when using DirectAdmin with Apache, it&#8217;s important that you regularly update Apache. This will enhance your site&#8217;s security and prevent it from falling victim to any<!-- 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":[71],"tags":[],"class_list":["post-2500","post","type-post","status-publish","format-standard","hentry","category-applications"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to upgrade Apache in DirectAdmin - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now &amp; Enhance the safety of your server and any hosted material!\" \/>\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\/upgrade-apache-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to upgrade Apache in DirectAdmin - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now &amp; Enhance the safety of your server and any hosted material!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-12T21:09:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-02T04:18:43+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\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to upgrade Apache in DirectAdmin\",\"datePublished\":\"2016-08-12T21:09:25+00:00\",\"dateModified\":\"2016-10-02T04:18:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/\"},\"wordCount\":349,\"commentCount\":0,\"articleSection\":[\"Applications\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/\",\"name\":\"How to upgrade Apache in DirectAdmin - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-08-12T21:09:25+00:00\",\"dateModified\":\"2016-10-02T04:18:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now & Enhance the safety of your server and any hosted material!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/upgrade-apache-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to upgrade Apache in DirectAdmin\"}]},{\"@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 upgrade Apache in DirectAdmin - Globo.Tech","description":"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now & Enhance the safety of your server and any hosted material!","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\/upgrade-apache-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"How to upgrade Apache in DirectAdmin - Globo.Tech","og_description":"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now & Enhance the safety of your server and any hosted material!","og_url":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-12T21:09:25+00:00","article_modified_time":"2016-10-02T04:18:43+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":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to upgrade Apache in DirectAdmin","datePublished":"2016-08-12T21:09:25+00:00","dateModified":"2016-10-02T04:18:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/"},"wordCount":349,"commentCount":0,"articleSection":["Applications"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/","url":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/","name":"How to upgrade Apache in DirectAdmin - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-12T21:09:25+00:00","dateModified":"2016-10-02T04:18:43+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to upgrade Apache in DirectAdmin. Read now & Enhance the safety of your server and any hosted material!","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/upgrade-apache-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to upgrade Apache in DirectAdmin"}]},{"@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\/2500","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=2500"}],"version-history":[{"count":4,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2500\/revisions"}],"predecessor-version":[{"id":2980,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2500\/revisions\/2980"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}