DISM.exe /Online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
| { | |
| "employees":[ | |
| { | |
| "userName":"Frontend", | |
| "jobTitleName":"Frontend Developer", | |
| "employeeCode":"E1", | |
| "techstack":[ | |
| "React", | |
| "javascript", | |
| "html", |
| vSphere 6 Enterprise Plus: | |
| 1C20K-4Z214-H84U1-T92EP-92838 | |
| 1A2JU-DEH12-48460-CT956-AC84D | |
| MC28R-4L006-484D1-VV8NK-C7R58 | |
| 5C6TK-4C39J-48E00-PH0XH-828Q4 | |
| 4A4X0-69HE3-M8548-6L1QK-1Y240 | |
| vSphere with Operations Management 6 Enterprise: | |
| 4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
| 1Y48R-0EJEK-084R0-GK9XM-23R52 |
| # NOTICE: This project has been moved to its own repository https://github.com/ConnerWill/Convert-ImageToASCIIArt | |
| function Convert-ImageToAsciiArt { | |
| <# | |
| .SYNOPSIS | |
| Function to convert an image to ascii art. | |
| .DESCRIPTION | |
| The function Convert-ImageToAsciiArt takes an image file path and converts the image to ASCII art. | |
| The ASCII art is created by replacing each pixel in the image with an ASCII character based on the brightness of the pixel. |
| VMware vSphere 6 Enterprise Plus | |
| 1C20K-4Z214-H84U1-T92EP-92838 | |
| 1A2JU-DEH12-48460-CT956-AC84D | |
| MC28R-4L006-484D1-VV8NK-C7R58 | |
| 5C6TK-4C39J-48E00-PH0XH-828Q4 | |
| 4A4X0-69HE3-M8548-6L1QK-1Y240 | |
| VMware vSphere with Operations Management 6 Enterprise | |
| 4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
| 1Y48R-0EJEK-084R0-GK9XM-23R52 |
DISM.exe /Online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
This process requires that you are able to ssh OR log in locally using the root user account and that no services be running as users out of /home on the target machine.
The examples are from a default installation with no customization-you NEED to know what you're working with for volumes/partitions to not horribly break things.
By default, CentOS 7 uses XFS for the file system and Logical Volume Manager (LVM), creating 3 partitions: /,/home and swap.
NOTE: If you want to be sure that nothing is writing to /home you can either modify the host to boot into single-user mode OR try to use the
systemctl isolate runlevel1.target command to switch (not tested! should work).
| #!/bin/sh | |
| # Make sure to: | |
| # 1) Name this file `backup.sh` and place it in /home/ubuntu | |
| # 2) Run sudo apt-get install awscli to install the AWSCLI | |
| # 3) Run aws configure (enter s3-authorized IAM user and specify region) | |
| # 4) Fill in DB host + name | |
| # 5) Create S3 bucket for the backups and fill it in below (set a lifecycle rule to expire files older than X days in the bucket) | |
| # 6) Run sudo mkdir /data/tmp | |
| # 7) Run sudo chmod 777 /data/tmp/ |
| const http = require('http'); | |
| const name = 'node-hello-world'; | |
| const port = '8888'; | |
| const app = new http.Server(); | |
| app.on('request', (req, res) => { | |
| res.writeHead(200, { 'Content-Type': 'text/plain' }); | |
| res.write('Hello World'); |