devenv /diff file1.txt file2.txt
- start with fresh VM!
- install Debian with XFS file system!
- determine pool of fixed IPs (192.168.1.231-235)
- DNS assignment of computer names (mongodb1.corp.com-mongodb5.corp.com) to IPs
- we assume that our DNS server has the IP 192.168.1.9
- do not create mondodb user accounts yet!
mongorestore --db NewDatabase FolderOfOldDatabaseDump Note: if the database does exist then the data will be partially overwritten
mongorestore --drop --db ExistingDatabase FolderOfOldDatabaseDump
Get-CimInstance -Class Win32_SystemEnclosure | Format-Table -AutoSize
or Get-WmiObject -query "Select * from Win32_SystemEnclosure"
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
openssl pkcs12 -export -inkey a.key -in a.pem -out a.pfx
openssl x509 -inform der -in a.cer -out a.pem
openssl req -x509 -newkey rsa:4096 -keyout a.key -out a.pem -days 365