Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

97 total results found

Adding Adapter on vSwitch

Windows Hyper-V

List Adapter Get-VMNetworkAdapterVlan -ManagementOS Adding Adapter Add-VMNetworkAdapter -ManagementOS -Name "Lan" -SwitchName "vSwitch" Add-VMNetworkAdapter -ManagementOS -Name "Wan" -SwitchName "vSwitch" Tagging vlan on Adapter Set-VMNetworkAdapterVlan...

Git

Linux

Tags git tag -a v0.1 -m "tagname"git tag v0.1Deletegit tag -d v0.1 Branch Create branchgit branch stageCheck what branch you are ingit statusgit log --oneline --decorategit branch -aSwitch branches or restore working tree files.git checkout stagepush change...

OpenSSL

Linux

Check SSL On domain openssl s_client -connect www.domain.com:443 Check a Certificate Signing Request (CSR) openssl req -text -noout -verify -in CSR.csr Check a private key openssl rsa -in privateKey.key -check Check a certificate (crt or pem) openssl x...

Site-to-Site OpenVPN with routes

Linux

Install https://github.com/angristan/openvpn-install First, get the script and make it executable : curl -O https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh Then run it : ./openvpn-in...

LVM

Linux

LVM functions by layering abstractions on top of physical storage devices. The basic layers that LVM uses, starting with the most primitive, are. Physical Volumes: Description: Physical block devices or other disk-like devices (for example, other devices c...

Adding a LVM Cinder Volume

OpenStack

  mkfs.ext /dev/md0 mkdir /cinder-vol mount /dev/md0 /cinder-volumes dd if=/dev/zero of=/cinder-vol/cinder-vol bs=1 count=0 seek=3950G losetup /dev/loop2 /cinder-vol/cinder-vol pvcreate /dev/loop2 vgcreate cinder-vol /dev/loop2 Double check your work w...

AVMA - Hyper-V Automatic Virtual Machine Activation

Windows Hyper-V

Open CMD/Powershell slui 3 Guest Operating System Key Windows Server 2012 R2 Essentials K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 Windows Server 2012 R2 Standard DBGBW-NPF86-BJVTX-K3WKJ-MTB6V Windows Server 2012 R2 Datacenter Y4TGP-NPTV9-HTC2H-7...

SAN - Dell Equallogic CLI Notes

Networking

group1> member select MEMBERNAME eth sel 1 NEWIPADDRESS NETMASK group1> grpparams group-ipaddress IPADDRESS Then go back and fix the other network. group1> member select MEMBERNAME eth sel 0 NEWIPADDRESS NETMASK Then set the new default gateway ...

Dell PowerConnect Switch CLI

Networking

Adding a VLAN to a port-channel Add the VLAN to the DB vlan database vlan 4082 Check ARP respose from uplinks show bridge address-table show bridge address-table vlan <vlan-num> Add the VLAN to the port-channel for the UPLINKS interface port-chan...

Configuring DR Replica

Windows Hyper-V

Open failover cluster manager Right click the Cluster -> Select "Configure Role"  Click next -> select Hyper-V Replica Broker   Fill in the information (Choose an available IP from his subnet) Create SSL ...

Linux - Netplan

Networking

This new tool replaces the static interfaces (/etc/network/interfaces) on ubuntu 18.04 DHCP network: version: 2 renderer: networkd ethernets: ens33: dhcp4: yes dhcp6: no Static IP network: version: 2 renderer: networkd ethernets...

Cisco ASA - AnyConnect VPN

Networking

Enable webvpn webvpn enable outside anyconnect image disk0:/anyconnect-win-4.0.00061-k9.pkg 1 anyconnect image disk0:/anyconnect-macosx-i386-4.0.00061-k9.pkg 2 anyconnect image disk0:/anyconnect-linux-64-4.0.00061-k9.pkg 3 anyconnect enable tunnel...

IPMI (SuperMicro)

Other

Update your firmwareftp://ftp.supermicro.com/utility/IPMI%20FW%20flash%20tools/SMT/ ./lUpdate.sh -f SMT_X9_130.bin -i kcs -r n IPMICFG https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMIftp://ftp.supermicro.com/utility/IPMICFG/ Foncti...

Reset MySQL root password

Linux MySQL

Stop MySQL systemctl stop mysqld Set the MySQL environment option systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" Start MySQL using the options you just set systemctl start mysqld Login as root mysql -u root For MySQL 5.7 or later UPDATE m...

Powershell

Windows

Change vswitch from internal to external Set-VMSwitch -Name vSwitch -NetAdapterName bond0 If you have a duplicate Get-VMNetworkAdapter -VMName svtest | ? MacAddress -eq '000000000000' | Remove-VMNetworkAdapter Roles&Features Install List Get-Windows...

MS SQL Commands

Windows MS SQL

Rename a domain user: ALTER LOGIN [OLD_DOMAIN\Administrator] WITH NAME = [NEW_DOMAIN\Administrator];  

SQL Server 2016 Step by Step: Creating AlwaysOn Availability Group

Windows MS SQL

Table of Contents Prerequisites: This environment: SQL Server Installation Failover Cluster Installation Windows Failover Clustering Configuration for Always On Availability Groups Configure Cluster Quorum Settings Listener Always On Avai...

OpenStack MySQL command

OpenStack

Force delete snapshot use cinder; update snapshots set status='deleted', deleted='1' where id ='<id>'; update snapshots set status='deleted', deleted='1' where id = '<id>';

Fedora Build ACS Override Patch Kernel

Linux

Add RPM Fusion sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm Install the dependencies to ...

S2D Force remove a drive

Windows Hyper-V

To verify that all drives are healthy and operational : Get-PhysicalDisk Get the FriendlyName of the device : Get-PhysicalDisk | ft FriendlyName Retire the disk : Set-PhysicalDisk -FriendlyName "<DeviceName>" -Usage Retired Find the name of the Vir...