{"id":263,"date":"2012-04-15T20:34:01","date_gmt":"2012-04-15T20:34:01","guid":{"rendered":"http:\/\/www.plugged.in\/?p=263"},"modified":"2012-04-15T20:34:01","modified_gmt":"2012-04-15T20:34:01","slug":"things-you-should-know-before-installing-directadmin","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/things-you-should-know-before-installing-directadmin\/","title":{"rendered":"Things you should know before installing DirectAdmin"},"content":{"rendered":"<p>DirectAdmin is one of the mostly used Hosting Control Panels around, for single server installations it is easy to setup and start selling hosting busines, some advantages of DirectAdmin are;<\/p>\n<ul>\n<li>Easy to install, can be installed on a VPS or VDS also<\/li>\n<li>Less overhead, minimal code<\/li>\n<li>Easy to maintain &amp; upgrade<\/li>\n<li>Easy to modify wtihout breking the continuity<\/li>\n<li>Huge fans and great forum that you can find your solutions<\/li>\n<\/ul>\n<h3>Operating System Setup (RedHat Enterprise Linux, CentOS or CloudLinux is recomended)<\/h3>\n<p>In order to make your system more secure to attacks, trojans and backdoors you should make a seprate partition for \/tmp and restrict execute rights for all users. size between\u00a0<strong>4 to 6 GB<\/strong>\u00a0is enough for the \/tmp partition. Follow our directives on howto make tmp partition more secure in Linux Security Documents and disable execute permissions in \/etc\/fstab.<\/p>\n<p>For more secure installation do not blindly install default packages or any Desktop environment. You should remove all selected groups and belonging packages from the installation, be aware that CentOS could be installed with the first CD, if the setup asks for additional CDs, you most probably forgot to uncheck some packages.\u00a0<strong>With this method you should only need the first CD of CentOS distro.<\/strong><\/p>\n<p>We recommend using YUM as an updater\/package installer for Linux.<\/p>\n<h3>Close firewall with CHKCONFIG<\/h3>\n<p>You might enable it after installing DirectAdmin or you should better install csf<\/p>\n<blockquote><p>chkconfig \u00a0iptables off<br \/>\nchkconfig ip6tables off<\/p>\n<p>service iptables stop<br \/>\nservice ip6tables stop<\/p><\/blockquote>\n<h3>Disable SELINUX<\/h3>\n<p>SELINUX is enabled default in LINUX and if you don&#8217;t disable or modify you cannot access some of the services from the outside such as httpd (apache). Open the config file with the following command:<\/p>\n<blockquote><p>sed -i &#8216;s\/SELINUX=.*\/SELINUX=disabled\/&#8217; \/etc\/sysconfig\/selinux<br \/>\n\/usr\/sbin\/setenforce 0<\/p><\/blockquote>\n<h3>\u00a0Install Prerequisities &amp; Updates:<\/h3>\n<p>DirectAdmin requires some additional packages before entering the setup. Use YUM to upgrade your system:<\/p>\n<blockquote><p>yum upgrade -y<\/p><\/blockquote>\n<p>Install additional packages required by DirectAdmin:<\/p>\n<blockquote><p>CentOS 5.x #yum install gcc gcc-c++ make vixie-cron flex wget quota perl gd<br \/>\nCentOS 6.x #yum install gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev which bc wget gd<\/p><\/blockquote>\n<p>If you get a conflict error with perl, perl was already installed before, please remove it from the above code and re-try.<\/p>\n<p>Set hostname to &#8220;mail.yourservername.tld&#8221; before starting setup, using mail. saves you from\u00a0confusions &amp;\u00a0mail transmission problems:<\/p>\n<blockquote><p>hostname mail.yourserver.tld<\/p><\/blockquote>\n<p>Go to step two: DirectAdmin Setup<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DirectAdmin is one of the mostly used Hosting Control Panels around, for single server installations it is easy to setup and start selling hosting busines, some advantages of DirectAdmin are; Easy to install, can be installed on a VPS or VDS also Less overhead, minimal code Easy to maintain &amp; upgrade Easy to modify wtihout [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[461],"tags":[455],"yst_prominent_words":[],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-directadmin-linux","tag-directadmin"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"ckaraca","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/ckaraca\/"},"uagb_comment_info":0,"uagb_excerpt":"DirectAdmin is one of the mostly used Hosting Control Panels around, for single server installations it is easy to setup and start selling hosting busines, some advantages of DirectAdmin are; Easy to install, can be installed on a VPS or VDS also Less overhead, minimal code Easy to maintain &amp; upgrade Easy to modify wtihout&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":0,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=263"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}