SSH to your Linux Server using Google Authenticator app

In this section, we will learn how to secure your ssh connection with MFA using Google authenticator app. Before we start go ahead and download the google authenticator app to your mobile device. After you successfully downloaded and install the google authenticator app on your mobile device go to your Linux server and install the … Continue reading SSH to your Linux Server using Google Authenticator app

SSH Key-Pairs.

Remotely Connect to Linux Servers with SSH key-pairs SSH: Authentication with Key-pairs On your client machine: Create ssh key pair by using the command ssh-keygenIt will create 2 files (Private key and Public key) in the .ssh folder. [menit@fedora .ssh]$ ls id_rsa id_rsa.pub It is recommended that you will use a passphrase to encrypt your … Continue reading SSH Key-Pairs.

Setup Snipe-IT on Ubuntu.

Installation Details Infrastructure: AWSAMI ID: RHEL-8.2.0_HVM-20200423-x86_64-0-Hourly2-GP2 (ami-07dfba995513840b5)Instance type : t2.mediumInstance Hardware: 2vcpu , 4G Memory. What is it Snipe-IT Snipe-IT was made for IT asset management, to enable IT departments to track who has which laptop, when it was purchased, which software licenses and accessories are available, and so on. Lets Start: Update Ubuntu: sudo … Continue reading Setup Snipe-IT on Ubuntu.

[AWS] Deploy Ansible for linux and Windows Domain Joined

Installation Details Infrastructure: AWSAMI ID: RHEL-8.2.0_HVM-20200423-x86_64-0-Hourly2-GP2 (ami-07dfba995513840b5)Instance type : t2.mediumInstance Hardware: 2vcpu , 4G Memory. Before we start Install Vim: sudo yum install vim Update Packages sudo yum update Prepare For Installation Change the Hostname: sudo vim /etc/hostname Add DNS in hosts file. sudo vim /etc/hosts Install epel Repo: yum -y install [<https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm>%5D(<https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm&gt;) Install Ansible: … Continue reading [AWS] Deploy Ansible for linux and Windows Domain Joined

Setup Jenkins(SSL) Using Docker & Nginx

Install Docker Engine | Install Docker Compose Login to your Linux Server. Create this directories. mkdir ~/jenkins mkdir ~/certs mkdir ~/nginx/conf.d Inside your nginx/conf.d/ directory create the jenkins.conf file: ubuntu@IT-Jenkins:~/nginx/conf.d$ touch jenkins.conf Copy this code to the jenkins.conf file: server { listen 80; server_name <server.domain.com>; location / { proxy_pass <http://jenkins:8080&gt;; } } Create Working Directory … Continue reading Setup Jenkins(SSL) Using Docker & Nginx

Join Linux CENTOS-7 to Microsoft Active Directory Domain.

First lets check our network interfaces by using this command: [root@cetnos /]# ip addr We can see that we get IP address 192.168.10.6 on interface ens33 So lets change this from DHCP to static IP and add the DNS servers, we do it by changing the interface config file. [root@cetnos /]# vi /etc/sysconfig/network-scripts/ifcfg-ens33 Please add … Continue reading Join Linux CENTOS-7 to Microsoft Active Directory Domain.