{"id":2498,"date":"2016-08-12T16:32:07","date_gmt":"2016-08-12T20:32:07","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2498"},"modified":"2017-04-19T15:57:05","modified_gmt":"2017-04-19T19:57:05","slug":"install-ispconfig-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/","title":{"rendered":"How to install ISPConfig on CentOS 7"},"content":{"rendered":"<p>ISPConfig is an open source, actively developed, web-based control panel for managing your servers. With ISPConfig installed, you can manage a variety of services, administer multiple servers, and designate different authorization levels for server administrators, all from the familiarity and comfort of any modern browser. In this tutorial, we&#8217;ll get ISPConfig up and running on a CentOS 7 server. You can then administer your server from the web, or integrate additional servers running on any of ISPConfig&#8217;s supported Linux distributions.<\/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>) running CentOS 7.<br \/>\n\u2022 Root access to the node or one sudo non-root user<br \/>\n\u2022 A valid hostname set on your server&#8217;s main IP address<\/p>\n<h2>Tutorial<\/h2>\n<p>We&#8217;ll begin by ensuring that your server&#8217;s hostname is set correctly. Edit your host file and be certain that its contents are accurate.<\/p>\n<p><code>192.168.100.100  ispcp ispcp.globo.tech<\/code><\/p>\n<p>SELinux is a powerful security addition available on many Linux distributions, but configuring it can be tricky. It is also difficult to set up correctly on servers that may run arbitrarily complex stacks configured by control panel users. For the purposes of this tutorial, we&#8217;ll disable SELinux completely. Creating a solid SELinux configuration for ISPConfig may be possible, but it is outside the scope of this guide.<\/p>\n<p><code>setenforce 0<br \/>\nsed -i 's\/enforcing\/disabled\/' \/etc\/sysconfig\/selinux<br \/>\nsed -i 's\/enforcing\/disabled\/' \/etc\/selinux\/config<\/code><\/p>\n<p>Next we&#8217;ll install some basic tools necessary for ISPConfig. We&#8217;ll also install the Epel package repository.<\/p>\n<p><code>yum -y install yum-priorities<br \/>\nyum -y groupinstall 'Development Tools'<br \/>\nyum -y install epel-release<br \/>\nyum -y install wget nano<\/code><\/p>\n<p>Now install Apache, PHP, MariaDB, PHPMyAdmin for administering MariaDB, and various extra PHP modules required for everything to run.<\/p>\n<p><code>yum -y install ntp httpd mod_ssl mariadb-server php php-mysql php-mbstring php-ldap php-mysql php-odbc php-pear php php-devel php-gd php-imap php-xml php-xmlrpc php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel mod_fcgid php-cli httpd-devel php-fpm perl-libwww-perl ImageMagick libxml2 libxml2-devel python-devel phpmyadmin<\/code><\/p>\n<p>It is important to set your server&#8217;s timezone correctly. Modify php.ini so this is accurate.<\/p>\n<p><code>nano \/etc\/php.ini<\/code><\/p>\n<p><code class=\"gris\">date.timezone = America\/Montreal<\/code><\/p>\n<p>Apache and MariaDB must now be started. They must also be configured to launch when the server boots. We&#8217;ll take care of that here.<\/p>\n<p><code>systemctl start httpd.service<br \/>\nsystemctl enable httpd.service<br \/>\nsystemctl start mariadb.service<br \/>\nsystemctl enable mariadb.service<\/code><\/p>\n<p>We must also secure MariaDB. Here we&#8217;ll implement some basic hardening of the database installation.<\/p>\n<p><code>mysql_secure_installation<\/code><\/p>\n<p>ISPConfig configures Dovecot for email services. We should install Dovecot if you&#8217;d like to configure IMAP and POP3 access from your panel.<\/p>\n<p><code>yum -y install dovecot dovecot-mysql dovecot-pigeonhole<\/code><\/p>\n<p>Having done this, we now need an empty configuration file. We&#8217;ll make it as a symbolic link.<\/p>\n<p><code>touch \/etc\/dovecot\/dovecot-sql.conf<br \/>\nln -s \/etc\/dovecot\/dovecot-sql.conf \/etc\/dovecot-sql.conf<\/code><\/p>\n<p>Dovecot must now be started, and also configured to start when the server boots.<\/p>\n<p><code>systemctl start dovecot.service<br \/>\nsystemctl enable dovecot.service<\/code><\/p>\n<p>ClamAV and Spamassassin are used for malware detection and spam filtering of inbound email. We&#8217;ll install both next.<\/p>\n<p><code>yum -y install amavisd-new spamassassin clamav clamd clamav-update unzip bzip2 unrar perl-DBD-mysql<\/code><\/p>\n<p>If you&#8217;d like for FTP and DNS to be configured from the panel, install pure-ftpd and bind.<\/p>\n<p><code>yum -y install pure-ftpd<br \/>\nyum -y install bind bind-utils<\/code><\/p>\n<p>We&#8217;ve finally got all of the essentials installed. It is now time to download ISPConfig itself.<\/p>\n<p><code>wget http:\/\/www.ispconfig.org\/downloads\/ISPConfig-3-stable.tar.gz<br \/>\ntar -zxvf ISPConfig-3-stable.tar.gz<br \/>\ncd ispconfig3_install<br \/>\ncd install<br \/>\nphp -q install.php<\/code><\/p>\n<p>Fill in all required fields, selecting SSL for ISPConfig&#8217;s web interface.<\/p>\n<p>Continue by accessing your control panel from the browser. Visit https:\/\/your_ip:8080 to enter ISPConfig.<\/p>\n<p>The default credentials are &#8220;admin&#8221; for the username and &#8220;admin&#8221; for the password. You should change these immediately, as anyone who knows these can administer your server and compromise it remotely.<\/p>\n<h2>Conclusion<\/h2>\n<p>You can now manage your server entirely via the web, making complex changes from a user-friendly and powerful interface. Share this article with anyone you know who struggles to manage servers and is looking for an easier way. <\/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>ISPConfig is an open source, actively developed, web-based control panel for managing your servers. With ISPConfig installed, you can manage a variety of services, administer multiple servers, and designate different authorization levels for server administrators, all from the familiarity and comfort of any modern browser. In this tutorial, we&#8217;ll get ISPConfig up and running on<!-- 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-2498","post","type-post","status-publish","format-standard","hentry","category-applications","operating_system-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install ISPConfig on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now &amp; Try this web-based control panel for managing your servers.\" \/>\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-ispconfig-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 ISPConfig on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now &amp; Try this web-based control panel for managing your servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-12T20:32:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T19:57:05+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=\"3 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\\\/install-ispconfig-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to install ISPConfig on CentOS 7\",\"datePublished\":\"2016-08-12T20:32:07+00:00\",\"dateModified\":\"2017-04-19T19:57:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/\"},\"wordCount\":525,\"commentCount\":0,\"articleSection\":[\"Applications\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/\",\"name\":\"How to install ISPConfig on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-08-12T20:32:07+00:00\",\"dateModified\":\"2017-04-19T19:57:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now & Try this web-based control panel for managing your servers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-centos-7\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-ispconfig-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 ISPConfig 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 ISPConfig on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now & Try this web-based control panel for managing your servers.","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-ispconfig-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install ISPConfig on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now & Try this web-based control panel for managing your servers.","og_url":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-12T20:32:07+00:00","article_modified_time":"2017-04-19T19:57:05+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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to install ISPConfig on CentOS 7","datePublished":"2016-08-12T20:32:07+00:00","dateModified":"2017-04-19T19:57:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/"},"wordCount":525,"commentCount":0,"articleSection":["Applications"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/","name":"How to install ISPConfig on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-12T20:32:07+00:00","dateModified":"2017-04-19T19:57:05+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install ISPConfig on your CentOS 7 server. Read now & Try this web-based control panel for managing your servers.","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-ispconfig-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-ispconfig-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 ISPConfig 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\/2498","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=2498"}],"version-history":[{"count":3,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2498\/revisions"}],"predecessor-version":[{"id":2977,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2498\/revisions\/2977"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}