{"id":724,"date":"2016-08-13T08:29:47","date_gmt":"2016-08-13T00:29:47","guid":{"rendered":"https:\/\/shuran.cn\/?p=724"},"modified":"2016-08-13T08:29:47","modified_gmt":"2016-08-13T00:29:47","slug":"install-setup-lets-encrypt-on-centos-6-x-and-7-x","status":"publish","type":"post","link":"https:\/\/www.shuran.cn\/?p=724","title":{"rendered":"install &#038; Setup Let\u2019s encrypt on Centos 6.x and 7.x"},"content":{"rendered":"<h4 id=\"how-to-install--setup-let8217s-encrypt-on-centos-6x-and-7x\" style=\"font-weight:normal;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n\tHow to install &amp; Setup Let\u2019s encrypt on Centos 6.x and 7.x<br \/>\n<\/h4>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n\tThe thing about CentOs 6.x ( Centos 6.5, 6.6, 6.7 etc ) is it comes with Python 2.6 where as Let\u2019s Encrypt supports Python 2.7+ only. But, installing Python 2.7 in Centos 6.x is pretty simple.\n<\/p>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n\t<strong>Installing Python 2.7 in &nbsp;Centos 6.x<\/strong>\n<\/p>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n\tThis step is only for Centos 6.x\n<\/p>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n<pre class=\"prettyprint lang-js\"># Install Epel Repository\r\nyum install epel-release\r\n\r\n# Install IUS Repository\r\nrpm -ivh https:\/\/rhel6.iuscommunity.org\/ius-release.rpm\r\n\r\n# Install Python 2.7 and Git\r\nyum --enablerepo=ius install git python27 python27-devel python27-pip python27-setuptools python27-virtualenv -y<\/pre>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n\t\t<strong>Setting up Lets encrypt ( Below steps are common for Centos 6 and 7 )<\/strong>\n\t<\/p>\n<div>\n\t\t<strong><br \/>\n<\/strong>\n\t<\/div>\n<pre class=\"prettyprint lang-js\"># Install git\r\nyum install git\r\n\r\n# Install EPEL repo if not present \r\nyum install epel-release\r\n\r\n# Now let us clone the github repository of Let's encrypt\r\ncd \/root\/\r\ngit clone https:\/\/github.com\/letsencrypt\/letsencrypt<\/pre>\n<p>suggest run yum\n<\/p>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n<pre class=\"prettyprint lang-js\">sudo yum install gcc libffi-devel python-devel openssl-devel\r\n<\/pre>\n<p>only cert make only please\n<\/p>\n<p style=\"color:#333333;font-family:&quot;font-size:16px;background-color:#FAFAFA;\">\n<pre class=\"prettyprint lang-js\">.\/letsencrypt-auto certonly\r\n<\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to install &amp; Setup Let\u2019s encrypt on Centos 6.x \u2026 <span class=\"read-more\"><a href=\"https:\/\/www.shuran.cn\/?p=724\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-724","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=724"}],"version-history":[{"count":1,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":725,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions\/725"}],"wp:attachment":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}