TypeScript enums (hyper-verbose)

The Enum type is used in scenarios where the values are limited to a certain range, for example, there can only be seven days in a week, and the colors are limited to red, green, and blue, etc. TS enumeration is inspired by C# Simple example Enumerations are defined using the enum keyword: enum Days […]

Hyper-V installs Centos + configures Centos repo + solves the problem of wifi connection and fixed IP access to Cetos + other fragmentary issues + remote access (reprinted + modified version + supplementary version of the problem + supplementary part)

In the past year or two, I have been using a laptop provided by the company. Due to security restrictions, I cannot install some virtual machine software, which makes me always feel troublesome during the learning process. Therefore, I have always wanted to try a free virtual machine software, using Windows The built-in service Hyper-V […]

Turn on Hyper-V and install Ubuntu in Win11

Here is a little trick under Win11. Press the shortcut keys Win + s, or if you have Cortana enabled on the taskbar, you can directly click Cortana to open the search bar. Here you can Directly enter the name of the program you want to run to complete the quick start. This method can […]

Hyper-V installation and creation of local virtual machine

Table of contents Preface 1. Activation and installation (three ways) (1)Use PowerShell to enable Hyper-V (2)Use CMD and DISM to enable Hyper-V (3) Enable Hyper-V applications through the control panel 2. Hyper-V basic settings 2.1 Open Hyper-V management 2.2 Hyper-V settings 2.2.1 Virtual hard disk and virtual machine default location 2.2.1 About enhanced session mode: […]

Windows Install Win11 system on Hyper-V

Article directory 1. Introduction to Hyper-V 1. Introduction to Hyper-V 2. System requirements 3. Start Hyper-V Method 1: Start via PowerShell Method 2: Start via settings 2. Install Win11 virtual machine 1. Search and open `Hyper-V Manager` in the `search bar` 2. Quick Create or New>Virtual Machine 3. Create a virtual machine 4. Edit settings […]

How to enable Hyper-V to run virtual machines + install docker application container installation in Win10 or Win11 Home

A virtual machine refers to an application running on a Windows or Linux computer that “simulates” the environment of a standard x86-based PC. This environment is the same as an ordinary computer, including a chipset, CPU, memory, graphics card, sound card, network card, floppy drive, hard disk, optical drive, serial port, parallel port, USB controller, […]

Hyper-V Linux Server Installation

Official Documentation: Create Virtual Machines with Hyper-V on Windows 10 Creators Update | Microsoft Learn 1 Add a virtual switch Open the Hyper-V manager, find the operation column on the right, and click “Virtual Switch Manager”: Click “New Virtual Network Switch”, select “External” for the switch type, and click to create a virtual switch: Set […]

After Hyper-V expands the disk, how to expand to root

Question In the past, there was not enough space, so I added a hard disk to the virtual machine and mounted it to expand the VirtualBox virtual CentOS 7 disk This time the virtual machine is Hyper-V, he can directly expand the capacity, but the expansion is not directly added to root or home, centos-root […]