Archive

Archive for the ‘Системы’ Category

Set ESXi 7 relaxed password policy

December 21st, 2021 No comments

Go to Host > Manage > System > Advance Settings
Search for Security.PasswordQualityControl.
Change to “retry=3 min=1,1,1,1,1”

Categories: VMware Tags: ,

Remounting VMFS volumes after transition using the ESXi CLI

October 27th, 2021 No comments

Steps

  • Log in to the ESXi console using SSH.
  • List the newly added LUNs with existing VMFS signatures and VMFS labels:

esxcfg-volume -l

  • Remount the VMFS volumes persistently with the same signature:

For regular volumes:

esxcfg-volume -M|–persistent-mount VMFS UUID|label

For spanned volumes:

esxcfg-volume -M vmfs-span-ds

Source: https://docs.netapp.com/us-en/ontap-7mode-transition/san-host/task_remounting_vmfs_volumes_after_transition_using_esxi_cli_console.html

Categories: VMware Tags: , , , ,

Compile C++11 on MacOS / XCode

May 7th, 2019 No comments

By https://stackoverflow.com/questions/14228856/how-to-compile-c-with-c11-support-in-mac-terminal

As others have pointed out you should use clang++ rather than g++. Also, you should use the libc++ library instead of the default libstdc++; The included version of libstdc++ is quite old and therefore does not include C++11 library features.

clang++ -std=c++11 -stdlib=libc++ -Weverything main.cpp

If you haven’t installed the command line tools for Xcode you can run the compiler and other tools without doing that by using the xcrun tool.

xcrun clang++ -std=c++11 -stdlib=libc++ -Weverything main.cpp

Also if there’s a particular warning you want to disable you can pass additional flags to the compiler to do so. At the end of the warning messages it shows you the most specific flag that would enable the warning. To disable that warning you prepend no- to the warning name.

For example you probably don’t want the c++98 compatibility warnings. At the end of those warnings it shows the flag -Wc++98-compat and to disable them you pass -Wno-c++98-compat.

SSH reverse SOCKs tunnel

May 3rd, 2019 No comments

To open reverse SSH SOCKS5 forwarding:

>ssh -l RemoteUser -R 8765:127.0.0.1:22 -v RemoteHost \
 ssh -v -D 1080 -p 8765 127.0.0.1 -N -l LocalUser

Categories: FreeBSD, Linux, Системы Tags: , ,

Extend Windows C: drive remotelly

April 26th, 2017 No comments

A somersault with remote Powershell call using psexec.

Read more…

Categories: Windowz Tags: , ,

Extend/resize LVM partition on RedHat/CentOS

July 18th, 2014 No comments

Brief commands to extend Linux LVM partition.

Read more…

Categories: Linux, VMware Tags: , ,

Install Mercurial on Debian Linux

June 5th, 2014 No comments
Commands to install Mercurial on Debian 6 Linux.

Read more…

Session “ReadyBoot” stopped due to the following error: 0xC0000188

May 25th, 2014 No comments

Here is solution to fix it.

Read more…

Categories: Windowz Tags: , , ,

Reset Authentec fingerprint sensor database on Windows 8

May 23rd, 2014 No comments

To reset Authentec fingerprint sensor internal database on Windows 8 used tool from Toshiba site – TFPU WBF Delete Fingerprint Tool.

Or one 23Kb program from this archive – Biometric Cleanup Utility. Be careful, it wipes data without confirmation.

Dell Latitude – enable biometric/fingerprint on Windows 8.1 and Authentec AES28XX

May 23rd, 2014 No comments

I used Dell Latitude E5520 laptop and Windows 8.1 is not supported on it. Dell Support site has not driver available. Terrible, but…

Used these steps to enable fingerprint authorization.

Read more…