Install Linux on virtual machine

I don’t want to learn network security anymore, and then gave me a big mallet at the beginning!

1. When installing the virtual machine, I went directly to the Lenovo App Store to download the software vmwareworkstationPlayer 

  Logically speaking, it is okay, probably because kaili itself has a problem with mirroring (if you don’t know)

2. The above installation was not successful, so I went to find the error message, which basically means that the value cannot be written into the registry, and then I started a long march, I searched on Baidu, why vmware can’t get the value Write to the registry, Baidu pointed out that the user cannot install the program due to the lack of registry modification permissions.

       2.1 To solve the problem that the value cannot be written into the registry, the first step is to unblock the group policy

3. But after checking on Baidu for a long time, I followed the operation of win7 for a long time, (I didn't see that it was win7).

4. After inquiries in many places, it is found that the default group policy of win10 home edition is not visible, and you must create it yourself.

    @echo off
                pushd “%~dp0”
                dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
                dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
                for /f %%i in (‘findstr /i . List.txt 2^>nul’) do dism /online /norestart /add-package:“C:\Windows\servicing\Packages%%i”
                    pause

 

Open with txt, finally change to the end of cmd, run this file as an administrator, and then call up the running window to search for gpedit.msc

 

5. After finding the group policy, user configuration -> management module -> system -> block access to the registry editing tool, click in and select unconfigured, and then press OK

6. I also tried this method, but the result was not good, so I considered adding permissions to the registry, calling up the running window, searching, and regedit commands

       HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths  right click to select permissions, if there is no user, then add a user, check "Full Control" under Allow

Then restart the computer

7. Do you think it will be done by now? Let me talk about a lot of problems before. I installed a lot of virtual machines, which may have caused conflicts. So I cleared all the settings about the virtual machines. By the way, there is another problem here. I do whatever it takes. There was no way to write to Disk D, and then our instructor thought of a way.

       7.1 First, see if virtualization is turned on

       7.2 Check the corresponding permissions, (I don’t know when to start, any operation of my computer requires permissions)

       7.3. Both of the two mirrors kaili and centos are installed, (the test found that the kaili mirror is wrong, and the centos is correct. This is also a problem that has been around)

8. After that, the teacher took a look at mine, and then quit the virus protection. It was amazingly good. Then I asked the teacher, the teacher said that it was because the antivirus software automatically blocked the vm because he wanted to modify the registry and kill the virus. Don’t let the software do it, just exit the anti-software, and then you can install the virtual machine foolishly.

This is my experience of digging and filling pits today. It’s so difficult. I hope I can go on the road to network security.

 

 


Guess you like

Origin blog.51cto.com/15121467/2668928
Recommended