Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the Linux virtual machine in windows10

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to install Linux virtual machine in windows10", the explanation content in the article is simple and clear, easy to learn and understand, please follow the idea of Xiaobian slowly, study and learn "how to install Linux virtual machine in windows10" together!

Windows 10 environment installation Linux virtual machine, first install vmware, and then open vmware installation Linux system. The following links are vmware installation packages and activation codes. Try several activation codes that should work. There are also download links for Linux image iso files.

vmware installation file

https://pan.baidu.com/s/1-cMW_ou50YUylhXVUOHyQQ

extraction code zz4x

vmware activation code file

https://pan.baidu.com/s/1eEi3WGfAAx5PPqlbrXzCUg

extraction code pz4d

Linux iso image file (rhel6.6)

https://pan.baidu.com/s/1eshZvAfk3qq36rOrnWMXGQ

extraction code ghnf

After installing and registering vmware successfully, open vmware. Select Create New Virtual Machine

select typical

Check Install CD Image File, browse button to select downloaded Linux iso file

Full name, user name at will, password set a certain will not forget, 123456 on the line.

The next step will tell the virtual machine where the files are stored, or click Browse to select the directory

Since I don't have the possibility of moving virtual machines between machines, I choose a single file

I didn't check Ready to create virtual machine. If I did, I could skip starting virtual machine next step.

Click to open this virtual machine to enter the installation system interface, these interfaces will stay for a long time, during which no operation, the system will automatically complete the installation

After completion, enter the Linux graphical interface and ask for a password

After entering the password, enter the Linux desktop. Right mouse button on desktop, select open in terminal, will open command line terminal, equivalent to cmd of windows. In a real development environment, everyone will use SSH tools to connect to Linux remotely, and can do exactly the same things as this command line terminal. Learning shell statements, practicing at this terminal is much better than reading books. Shell is a must for Linux server development and operation, and operating server Linux is shell operation. One reason is that the shell is powerful enough to do everything. Another reason is that the graphical interface remote transmission overhead is large, it is impossible to connect a monitor directly in the computer room every day.

There are options above vmware to shut down, suspend, and restart the virtual machine, and the effect is the same as the corresponding operation of the physical machine. Shutting down is equivalent to powering down the virtual machine.

All files for this virtual machine are placed in the directory selected during installation

The environment is set up and you can experiment with Linux. For example, run the legendary rm -rf /* with the root account. It doesn't matter if the system is broken. If the virtual machine is broken, it has no effect on the local windows environment. Delete the bad virtual machine and reinstall one by pressing the figure below.

While mousing the virtual machine, press Ctrl+Alt to switch the mouse away from the virtual machine environment, and move the mouse outside the desktop to achieve the same effect. Ctrl+G or click on the virtual machine desktop to enter the virtual machine environment.

Command line execution ifconfig, you can see ip address

Host ping can ping through

Shell operation on Linux desktop is not very convenient, if ssh tool is installed, you can use ssh tool to connect to the system. The following figure shows the steps for securecht to connect to a virtual machine.

After successful connection, you can easily operate Linux in securert, which is the same way as the real operation mode of major companies. The difference is that your Linux server is a virtual machine for your own computer, and the company's Linux server is a real server in the computer room, which you may never see in your life. In fact, it was a flat case placed horizontally, not much bigger than a desktop case. It was placed in a certain position of the cabinet, plugged in the power supply and network cable, and there was nothing mysterious about it.

If there is a problem with the ssh connection, it is usually because the Linux firewall is open. Switch to root account, root account password and installation of their own user name password is the same, execute service iptables stop, and then try connecting.

The Linux system linked in this article does not include a firewall module and should not have this problem. Many centos systems exist for this problem.

If you want to transfer files to the virtual machine, such as uploading installation packages, you can use secureFX is the most convenient. This tool is installed with newer versions of securecht. And account passwords are synchronized well, do not have to enter again.

FTP connection failed. This is caused by the safety function of the selinux module, turn off the module. execute setenforce 0 under root

Connection successful. The host and virtual machines can now transfer files to and from each other. You can also ctrl+c copy the file, and then paste it to the Linux desktop, move it to the specified directory through mv command, which is relatively clumsy, or use ftp tool more convenient. In addition, the firewall and selinux are temporarily closed and permanently closed, temporarily closed next time the boot will open, permanently closed next time the boot or closed state, we search for instructions.

Thank you for reading, the above is "windows10 how to install Linux virtual machine" content, after the study of this article, I believe we have a deeper understanding of windows10 how to install Linux virtual machine this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report