{"id":1411,"date":"2018-01-21T10:55:41","date_gmt":"2018-01-21T10:55:41","guid":{"rendered":"https:\/\/scunster.co.uk\/?p=1411"},"modified":"2018-01-21T10:55:41","modified_gmt":"2018-01-21T10:55:41","slug":"webmin-fails-to-install-authenoath-google-2-factor-authenticator","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1411","title":{"rendered":"Webmin fails to install Authen::OATH (Google \/ 2 factor authenticator)"},"content":{"rendered":"<p>If you have trouble installing two factor from within Webmin you need to first install Perl-CPAN.<\/p>\n<p>I have come across this issue in both CentOS and Debian.<\/p>\n<p>Open shell and issue the following commands:<\/p>\n<pre>yum -y install perl-CPAN<\/pre>\n<p>Now, install the following:<\/p>\n<pre>perl -MCPAN -e \"install Test::Moose\"<\/pre>\n<pre>perl -MCPAN -e \"install Types::Standard\"<\/pre>\n<pre>perl -MCPAN -e \"install Moo\"<\/pre>\n<pre>perl -MCPAN -e \"install Authen::OATH\"<\/pre>\n<p>Now go ahead and install 2 factor auth within Webmin<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have trouble installing two factor from within Webmin you need to first install Perl-CPAN. I have come across this issue in both CentOS and Debian. Open shell and issue the following commands: yum -y install perl-CPAN Now, install the following: perl -MCPAN -e &#8220;install Test::Moose&#8221; perl -MCPAN -e &#8220;install Types::Standard&#8221; perl -MCPAN -e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,12],"tags":[377,376,375,200,381,380,378,379,374],"class_list":["post-1411","post","type-post","status-publish","format-standard","hentry","category-linux","category-webhosting","tag-auth","tag-authen","tag-cent","tag-centos-2","tag-debian","tag-factor","tag-google","tag-two","tag-webmin"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1411"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1411\/revisions"}],"predecessor-version":[{"id":1412,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1411\/revisions\/1412"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}