Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

apache google 2fa

#Install mod_authn_google for Apache2. 
#Unfortunately I this module is unavailable within Ubuntu's #
#repository, but we can get it from this repository. 
#The steps are: (1) go to your Downloads, 
#(2) download the package dba-apa24-mod_authn_google-r22... .rpm, 
#(3) extract mod_authn_google.so, 
#(4) place the file in /usr/lib/apache2/modules/, 
#(5) grant appropriate permissions, 
#(6) Create module load file: 

cd $HOME/Downloads
wget http://download.opensuse.org/repositories/home:/csbuild:/DBA/RedHat_RHEL-7/x86_64/dba-apa24-mod_authn_google-r22-1.1.x86_64.rpm

rpm2cpio dba-apa24-mod_authn_google-r22-1.1.x86_64.rpm | cpio -iv --to-stdout ./DBA/apache24/WWW/2.4.x/modules/mod_authn_google-r22.so > mod_authn_google.so

sudo mv mod_authn_google.so /usr/lib/apache2/modules/
sudo chown root:root /usr/lib/apache2/modules/mod_authn_google.so
sudo chmod g-w /usr/lib/apache2/modules/mod_authn_google.so

echo "LoadModule authn_google_module /usr/lib/apache2/modules/mod_authn_google.so" | sudo tee /etc/apache2/mods-available/authn_google.load

sudo a2enmod authn_google
Comment

PREVIOUS NEXT
Code Example
Shell :: how to push local code to git repository 
Shell :: how to manage icloud drive in terminal 
Shell :: install flutter ubuntu 20.04 
Shell :: git update local repo from master 
Shell :: change user in git repository 
Shell :: how to move master branch to main branch 
Shell :: how to install soapui on ubuntu 
Shell :: ubuntu sudo no password 
Shell :: subl command not found 
Shell :: trocar user name e emailgit 
Shell :: git not using ssh key 
Shell :: unix:///tmp/supervisor.sock refused connection 
Shell :: install lamp ubunto 
Shell :: how to install postgresql in manjaro 
Shell :: how to decompress gzip file in linux 
Shell :: delete all files in a folder in ubuntu 
Shell :: yarn upgrade typescript 
Shell :: pygame install 
Shell :: disable selinux 
Shell :: fedora spotify 
Shell :: powershell check iso sha256sum 
Shell :: get saved wifi password windows 10 
Shell :: kubernetes archlinux install 
Shell :: lollypop music player install ubuntu 
Shell :: Failed to fetch platform cordova-android@^8.0.0 
Shell :: generating ssh key 
Shell :: extract tar.xz ubuntu 
Shell :: install pg module 
Shell :: fatal: unable to access Could not resolve host wsl 
Shell :: increment variable in batch file 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =