Showing posts with label CPAN. Show all posts
Showing posts with label CPAN. Show all posts

Tuesday, September 20, 2022

Two-Factor Authentication (2FA) for Webmin with Google Authenticator

First install Perl Modules :

Then follow the instructions as given through the URL:

Install Perl CPAN Module in CentOS 8

dnf install perl-CPAN

dnf install "@Development Tools"

perl -MCPAN -e 'install Authen::OATH'

cpan -i Geo::IP OR 
cpan Geo::IP

cpan[1]> install Log::Log4perl


You need gcc.:
yum install gcc

yum install CPAN

Configure CPAN ( just run CPAN ):

After CPAN is configured:
install Authen::OATH [module in CPAN shell, which takes a long time to complete.]

When Authen::OATH is successfully installed, configure 2FA in WebMin.

How to merge a branch to main branch in Github.

In Terminal or Command Prompt:  git checkout main  [switch to main branch] git pull origin main  [grab latest updates from main branch] git ...