Reset root password when unable to login in run level 3,5 plus single user mode

June 17, 2019

0

LAB ENVIRONMENT RHEL = 7.6 Reset root password when unable to login in run level 3,5 plus also in Single user mode. You need to boot from redhat OS dvd and move towards > troubleshooting > rescue mode > readonly. Second you need to run the following commands to mount the partition chroot /mnt/sysimage with […]

Posted in: Tech News

ACCOUNT LOCKED AFTER FAILED ATTEMPT [RHEL7]

March 13, 2019

0

ENVIRONMENT OS = RHEL 7 First one need to edit /etc/pam.d/password-auth and /etc/pam.d/system-auth and add highlighted / bold lines accurately auth required pam_env.so auth required pam_faillock.so preauth silent audit deny=3 unlock_time=600 auth sufficient pam_unix.so nullok try_first_pass auth [default=die] pam_faillock.so authfail audit deny=3 unlock_time=600   Then you need to add below line under account section at […]

Posted in: Tech News

RESTRICT SPECIFIC USER TO SU THE ROOT USER [RHEL7]

March 13, 2019

0

ENVIRONMENT OS = 7.3 redhat STEP-1 Open the file /etc/pam.d/su in vi or ay file editor and add the below line. vi /etc/pam.d/su auth      required      pam_wheel.so use_uid root_only use_uid group=groupa STEP-2 Ensure that the user who you want to su to the root user is the member of groupa.

Posted in: Tech News

HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES ON VERITAS HA | ON INFOSCALE AVAILABILITY

July 18, 2018

0

ENVIRONMENT Postgres = 9.6 Kong API Gateway = 0.11.2 OS = RHEL 7.3 InfoScale Availability | VCS version = 7.3.1 InfoScale Availability Nodes| VCS Nodes = 2   First use below link to install and configure KONG API Gateway & Postgres HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES https://zahidhaseeb.wordpress.com/2018/07/18/howto-install-kong-api-gateway-its-database-i-e-postgres/ Install ACC library, Agent […]

Posted in: Linux

HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES

July 18, 2018

0

ENVIRONMENT Postgres = 9.6 Kong API Gateway = 0.11.2 OS = RHEL 7.3   INSTALL POSTGRES Configure YUM repositories to install Postgres cd /etc/yum.repos.d yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm Install Postgres database yum search postgres|grep server yum install -y postgresql96-server.x86_64 (reference below link for installation) https://www.postgresql.org/download/linux/redhat/ Configure Postgres su – postgres $ /usr/pgsql-9.6/bin/pg_ctl initdb       #Create data and […]

Posted in: Linux

HOW TO HA A REDIS APPLICATION [Master/Slave] THRU PACEMAKER

January 4, 2018

0

ENVIRONMENT OS = RHEL 7.4 Total HA nodes = 2 ENVIRONMENT DETAILS In this environment pacemaker is installed on both machines. Redis is installed on both machines. A Master/Slave resource group is created. 2 HA heartbeats are configured thru corosync. SUPPOSED ENVIRONMENT ACTIVITY vi /etc/redis.conf bind 0.0.0.0              # This will make sure that redis will […]

Posted in: Tech News

ISCSI TARGET (TARGETCLI) CONFIGURATION FOR RHEL/CENTOS 7x

March 6, 2017

0

ENVIRONMENT OS = Centos 7.2 VG  name = centos_iscsi-target LVM partitions = 1GB LVM partition name 1G-ISCSI-VOL Target package = targetcli      (yum install targetcli) yum install epel-release(optional) iscsid = started on hosts iscsid = on at startup   STEPS targetcli clearconfig confirm=true [root@ISCSI-TARGET ~]# targetcli targetcli shell version 2.1.fb41 Copyright 2011-2013 by Datera, Inc and […]

Posted in: Linux