CentOS Archive

google authenticator command centos7

Secure SSH Login Using Two Factor Google Authenticator

Turn on two factor authentication (2FA) Setting complex and long passwords for root/admin/backup/operator accounts is not enough. Two factor authentication is increasingly becoming a strongly recommended way of protecting user accounts. Secure from attackers by requiring a second method of authentication in …
yum remi epel nginx repository

Installing Remi, Epel and Nginx REPOSITORY

Epel repository yum install epel-release Remi repository # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm Enable php 5.6 on Remi Repo # vi /etc/yum.repos.d/remi.repo Nginx repository # rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm Check available repository # yum repolist

Add an user Who can switch to root account

Add an User “linux24h” # useradd linux24h Set password “linux24h” User # passwd linux24h Make an User “linux24h” Who can switch to root: # usermod -G wheel linux24h Uncomment the following line # vi /etc/pam.d/su Then, save it and exit :wq To foward …
centos 7 update download

Download CentOS 7 Mirror – iso redirect

Download CentOS 7.2 ISO file for installation from the following site: http://mirror.centos.org/centos-7/7.2.1511/isos/x86_64/ After downloading ISO of CentOS 7.x Burn it to a DVD with an burning application to create an installation disk or You can use Universal USB Installer to making a Bootable USB Disk …