Month: March 2019

Batch File to Copy Files Containing Agents’ Names

:: Set variables using system time and date popd   Set today=%Date:~4,2%_%Date:~7,2%_%Date:~10,4%   IF "%today:~0,1%"=="0"…

Quick Notes of Beachy Systems Upgrade

Projects Proposal for Beachy Group (Fictional Entity)   Initial Fixed Costs Overview: SonicWall TZ215 $370…

Linux Networking: Manual Configurations

Ubuntu Systems /etc/resolv.conf specifies the nameservers for resolver lookups. The order of lookup is sequential…

How to Move Virtualbox Guest VMs to Different Hosts

Connect to Source Host and copy files to NAS: ssh webadmin@server01 vboxmanage list running vms…

mysqldump & gunzip

Create SQL Dump: # Higher compression if bzip2 is installed on the system # mysqldump…

PKGSRC

wget ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gz mkdir ~/usr tar -xzvf pkgsrc.tar.gz -C ~/usr ~/usr/pkgsrc/bootstrap/bootstrap --unprivileged # for permanence, put…

CentOS: Java & Tomcat Installation

Install Java 1.6.0_20:   The following instructions assume that there is no root access to…

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,…