Day: March 28, 2019

Open VPN Client Configuration Fix

OpenVPN client works very well on Windows 7 machines. However, its Windows 10 and Linux…

WordPress Multi-site with Single Sign On (SSO)

Step 1: Login Access the correct environment using wp_admin login with the DevOps standard password:…

LDAP Ubuntu Client Setup

Install the client application: sudo apt-get update sudo apt-get -y install libnss-ldapd libpam-ldapd ldap-utils nscd…

OpenLDAP Migration

LDAP PKGSRC Cutover # Compress ldap directory on WEB01.PROD tar -C /home/webadmin/pkg/var/openldap -czvf /tmp/kimconnect-com.gz kimconnect-com…

Useful Linux Commands

# Check SSH connection activities by reading its log (Redhat / Centos) tail -f -n…

Implement Docker & Portainer

Prerequisites:OS: base image Centos 7 Create network bridge from command line: # Network: x.x.x.128/26 Range:…

Restricting Access to Directory in Windows Shares

- Only allow Admins write access to root folders- NTFS permissions at root directory for…

How to Setup Microsoft Failover Cluster with PowerShell

First-time Setup: New-Cluster -Name {CLUSTERNAME} -Node SERVER1,SERVER2 -NoStorage -StaticAddress IP1,IP2 # Add CLUSTERNAME$ into the…

DD for Ubuntu & Windows

DD on Ubuntu admin@laptop:~$ sudo dd if='/home/admin/Downloads/CentOS-7-x86_64-Minimal-1804.iso' of=/dev/sdb [sudo] password for admin: 1855488+0 records in…

Installing Team Foundation Server

1. Installationa. All in oneb. Separate TFS and database (advanced) 2. Setup reportinga. Warehouse databaseb.…

How to Install SSL Certificate(s) on Various Web Servers

Public facing websites often become become targets of attacks such as eavesdropping, denial of service,…

IIS Mime Types

One of the features of IIS security is to enforce file access by its associated…

How to transfer files between Windows client to Unix Server

Download PSCP: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Move the executable to C:\Windows\System32 Run CMD as Administrator and copy files,…

Arrays and Objects

Array.prototype- Allows additional properties of all array objectsArray.from- Creates a new array from an array-like…

CSS

position: absolute | relative This is referencing the first parent element. Absolute means it's removed…

NaN

- Meaning: Not a Number - When used as an assignment to an element index…

match

- The match() method retrieves the matches when matching a string against a regular expression.…

Kerberos “Second Hop” Problem

Issue Sometimes, there's a need to run WinRM into a "Jump Box" (trusted host in…