- Check current ESXI version and build numbers - ESXI Host > Help > About
- Chose newer version and build number from: https://knowledge.broadcom.com/external/article/316595/build-numbers-and-versions-of-vmware-esx.html
- Download 'depot.zip' from Broadcom portal > VCF > VMware vSphere > Solutions > Standard > 8.0 > SEARCH FOR NEWER BUILD NUMBER FROM PREVIOUS STEP and follow the download link
- Upload depot.zip to /vmfs/volumes/ds_standard/esxi-updates/
- Shutdown VMs on host and place into maintenance mode.
- Enable SSH > right click on host > services > enable ssh
- SSH to host<
- Pick profile to use (matching newer build number) for update: esxcli software sources profile list -d /vmfs/volumes/ds_standard/esxi-updates/<depot.zip>
- Run upgrade: esxcli software profile update -d /vmfs/volumes/ds_standard/esxi-updates/<depot.zip> -p
- reboot
The easiest solution to both work with zsh and run ~/.profile
is to create a ~/.zprofile
that enters sh emulation mode while it runs ~/.profile
:
emulate sh
. ~/.profile
emulate zsh
If you have a recent enough zsh (on Ubuntu, that means since lucid, I think), you can simplify this to emulate sh -c '. ~/.profile'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync \ | |
--remove-source-files \ | |
--chown=wanteduser:wantedgroup \ | |
/home/oldfolder /home/newfolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Login to vCenter via ssh | |
/usr/lib/vmware-vmdir/bin/vdcadmintool | |
Option 3 | |
Enter username to reset (including domain) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login to vCenter via SSH as root | |
/usr/lib/vmware-vmca/bin/certificate-manager | |
Option 8 |
This guide describes setting up a free, simple, lightweight openldap VM (512 ram, 0.5 cpu) to expose ldap/ldaps services. The VM also includes phpLDAPadmin for web based LDAP administration. The VM is provided as an OVA/ISO and can be downloaded from https://www.turnkeylinux.org/openldap
- Download OVA and deploy
- Setup static IP
- (Optional) regenerate openldap certs with correct hostname/ip in SAN/CN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install WinGet | |
#Based on this gist: https://gist.github.com/crutkas/6c2096eae387e544bd05cde246f23901 | |
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
"Installing winget Dependencies" | |
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' | |
$releases_url = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
Click anywhere on page and type thisisunsafe
curl \
https://github.com/gesquive/fast-cli/releases/download/v0.2.10/fast-cli-v0.2.10-linux-amd64.tar.gz \
-Lo fast-cli-v0.2.10-linux-amd64.tar.gz
tar -xzf fast-cli-v0.2.10-linux-amd64.tar.gz
./fast-cli
find /path/to/files -type f -mtime +7 -name '*.*' -print0 | xargs -r0 rm --
NewerOlder