In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install the ubuntu16.10 virtual machine in VMware Workstation12. It is very detailed and has some reference value. If you are interested, you must finish it.
(1) CPU has been disabled by the client operating system, you will have to power off or reset the virtual machine
I searched more than half of Baidu for this problem, but I couldn't find a good solution. I finally found it in a corner. Go straight to the solution.
Open your virtual system directory, edit the. vmx under the virtual machine folder, open it with notepad, and add code.
Cpuid.1.eax = "0000VON0000VOULING 0001VOLING 0110VOLO 1010VOLING 0101"
Power off the virtual machine and start the virtual machine again should be OK!
Well, it's that simple, but if you have to grope for it yourself, you probably have a heart that wants to die.
(2) VMware Workstation cannot change the network to bridge state solution
When I set the bridging mode, I found that the bridging mode could not be used and the bridging mode reported an error:
Cannot change the network to bridged state: there are no unbridged host network adapters
Give a solution:
Click "restore default settings". At this time, the system will automatically reconfigure the network card. At this time, if we look at the local network card, we will find the bridging protocol, and then configure the bridging mode.
(3) there is no ping connection between the Ubuntu in the virtual machine and the host.
To tell you the truth, this problem should have been encountered by many people, but I have tried a lot of solutions, but none of them works. After all, everyone's situation is different!
There is no problem with the network settings in my Ubuntu, and the host network is also ok, but it just doesn't work. Here's the solution:
If you use bridging, you also need to set an option in the virtual machine, as shown in the red box above, and check it later.
(4) install VMware Tools Times "client operating system has locked the CD-ROM door and may be using CD-ROM"
Here is the specific error message:
The client operating system has locked the CD-ROM door and may be using CD-ROM, which may cause the client to fail to recognize the media change. If possible, eject the CD-ROM from inside the client before disconnecting. Are you sure you want to disconnect and override the locking settings?
Here is the solution:
Typically, when you first install the linux virtual machine, this path points to the iso installation file. When installing VMware Tools, you need to modify to point to the location of the VMware Tools (VMware Workstation\ linux.iso), and there is a linux.iso file under this path that provides some of the tool files needed for the linux operating system platform, including the VMware Tools installation file, of course. For convenience, I directly copied the linux.iso from the installation directory to my iso installation directory.
After opening the Ubuntu virtual machine, select "Virtual Machine (M)" in the menu options of VM-- > "install VMware Tools (T)". Under the vm, you will be prompted to log in to the client, load CD-ROM and so on. For specific methods, you can click "help" behind the handle.
Here is the official vmware installation tutorial for VMware for reference:
Pubs.vmware.com/workstation-12/index.jsp?lang=zh_CN&topic=/com.vmware.ws.using.doc/GUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html
If, at this point, it still doesn't work, I'll give you a detailed installation tutorial on how to install vmtools on the Ubuntu16.10 desktop version:
Http://www.linuxidc.com/Linux/2016-04/130807.htm
If you tell me that you haven't installed it yet, I advise you to give up the treatment.
(5) solve E:Package openssh-server has no installation
With the network, it is necessary to configure the SSH connection service, but the error is reported again.
$sduo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
Is only available from another source
E: Package openssh-server has no installation candidate
Execution: sudo apt-get update also indicates that the update failed, or there is no content to update. In the end, I really couldn't handle it. I replaced the bridge mode with NAT mode. The baby is so tired.
After updating the system, you can install the ssh service happily.
(6) solve the problem that Ubuntu 16.04SSH cannot log in remotely.
Edit the SSH configuration file and modify some of the setting options (e.grech the listening port,root login permission).
Sudo vim / etc/ssh/sshd_config
Finally, restart the SSH service.
Sudo / etc/init.d/ssh restart
Here are some reference links for reference only:
Http://jingyan.baidu.com/article/0eb457e52e50ad03f1a90518.html
Http://ubuntuhandbook.org/index.php/2016/04/enable-ssh-ubuntu-16-04-lts/
Http://ithelpblog.com/os/linux/debian/ubuntu-debian/how-to-install-and-enable-ssh-server-on-ubuntu-16/
(7) ubuntu installed in Vmware cannot surf the Internet through NAT
If you encounter this problem, there is a more stupid way to try:
After shutting down the virtual machine, open the edit-edit network parameters in the main interface, and there is a "restore default" in the lower left corner. Click and ask it to reassign the subnet IP address, and then reopen the installed Linux.
(8)
Method one. Use the graph line interface settings, this is the easiest. IP, subnet mask, gateway, DNS can be easily set. Keep it forever.
Method two, using the command mode, temporarily modify the network card IP and subnet mask, which will be lost after restarting the network. $sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0
View the gateway and command $route-n
Modify gateway $sudo route add default gw 192.168.0.1
Method three, modify the configuration file of the network card, this is the most important way, can be saved permanently.
Note that it is not / etc/resolv.conf, but / etc/network/interfaces file.
Enter the command $sudo nano / etc/network/interfaces
Auto eth0iface eth0 inet staticaddress 192.168.1.100netmask 255.255.255.0gateway 192.168.1.1 and above are all the contents of this article "how to install the ubuntu16.10 virtual machine in VMware Workstation12". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.