{"id":165,"date":"2009-10-03T18:29:48","date_gmt":"2009-10-03T22:29:48","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=165"},"modified":"2013-03-20T08:40:11","modified_gmt":"2013-03-20T12:40:11","slug":"howto-install-csf-on-your-server","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/howto-install-csf-on-your-server","title":{"rendered":"Howto: install CSF on your server."},"content":{"rendered":"<p><strong>Howto install CSF on your server<\/strong>:<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>1) cd \/usr\/local\/src\/<br \/>\n2) download csf: wget http:\/\/www.configserver.com\/free\/csf.tgz<br \/>\n3) tar -xzf csf.tgz<br \/>\n4) goto the csf directory : cd csf<br \/>\n5) .\/install.sh<\/strong><\/span><\/p><\/blockquote>\n<p>Once it is installed, you can either edit the configuration file from <strong>WHM &gt;&gt; Plugins &gt;&gt; &#8220;Config Server Security and Firewall&#8221; option<\/strong>.<\/p>\n<p>If you don&#8217;t have WHM\/cPanel on your server, the configuration and <strong>all the CSF related files are stored under \/etc\/csf directory<\/strong>. You need to edit the <strong>csf configuration file \/etc\/csf\/csf.conf<\/strong> and make the changes as per your wish.<\/p>\n<p>Once you make the required changes to your CSF configuration file and are sure, you are not going to block yourself out, change the following from<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>TESTING = &#8220;1&#8221;<br \/>\nto<br \/>\nTESTING = &#8220;0&#8221;<\/strong><\/span><\/p><\/blockquote>\n<p>and restart the csf firewall using <strong>service csf restart<\/strong> command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Howto install CSF on your server:<br \/>\n1) cd \/usr\/local\/src\/<br \/>\n2) download csf: wget http:\/\/www.configserver.com\/free\/csf.tgz<br \/>\n3) tar -xzf csf.tgz<br \/>\n4) goto the csf directory : cd csf<br \/>\n5) .\/install.sh<br \/>\nOnce it is installed, you can either edit the configuration file from WHM &gt;&gt; Plugins &gt;&gt; &#8220;Config Server Security and Firewall&#8221; option.<br \/>\nIf you don&#8217;t have WHM\/cPanel on your server, the configuration and all the CSF related files are stored under \/etc\/csf directory. You need to edit the csf configuration file \/etc\/csf\/csf.conf and make the changes as per your wish.<br \/>\nOnce you make the required changes to your [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[188,189],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/165"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":2129,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/165\/revisions\/2129"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}