In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install Ubuntu VMware to create a virtual machine, the article is very detailed, has a certain reference value, interested friends must read it!
1. Install Ubuntu VMware
In theory, software and hardware can be functionally transformed into each other. "virtual machine" is such a tool to simulate hardware by means of software. Friends who like to play video games must know the concept of simulator, yes, to put it bluntly, the virtual machine is actually a kind of simulator, but the simulation is PC.
At present, virtual machines have been widely used to carry out experiments related to operating systems, networks, etc., of course, if you like, you can also install other operating systems to run games that cannot be played on your existing operating systems. At present, our most commonly used virtual machine is Ubuntu VMware Workstation, which is omitted as Ubuntu VMware in this article. It is recommended to install version 5.5.3. In addition, the * * version of 6.X.X is relatively large, and many features are not commonly used at the beginning, so they are exempted.
2. Download Ubuntu VMware
At present, the stable version of Ubuntu VMware is 7.04 Tribe stable LTS (the "LTS" version of Ubuntu VMware has long-term support, the desktop version is 3 years, and the server version is 5 years).
Download address of Ubuntu VMware7.04 and Ubuntu VMware6.06; download address of Ubuntu VMware7.10 Tribe 4. In addition, talk about the differences between the various versions of Ubuntu VMware to help you determine which one you want to download--
A, according to the time of support, the ordinary version: 18 months of online update support; LTS version: as mentioned above, the desktop version provides 3 years, and the server version provides 5 years of online update support.
B, divided by application desktop version: used for desktops, notebooks and other private, household, office business and other purposes; server version: for servers, it is said that there is no graphical interface.
C, Live CD version by installation: CD-ROM is a complete Ubuntu VMware operating system, which can be accessed directly after booting, thus allowing you to have some experience before installation. And the interface installed to the hard disk is based on this CD-ROM system. However, because it is started on a CD, the efficiency of the operation is reduced.
Alternate desktop CD version: the installation interface is in text form, which allows users to do more customization work and is more efficient than Live CD. It is recommended by regular users and machine users who do not need prior experience.
P.S. Derived release not
You know, Linux, developed by Linus Torvalds and its collaborators, is not a complete operating system, but an operating system kernel like Unix (Unix-like). The Linux operating system we often talk about should actually be completely called GNU/Linux.
GNU here refers to the GNU (GNU's Not Unix) project launched by Richard Stallman in 1984, which aims to complete a complete operating system based on free software-HURD. The participants in the program are full of experts who master the core technology and, more importantly, believe in technical open-source doctrine. In order to ensure that GNU software can be "used, copied, modified, and distributed" freely, all GNU software contains an agreement called the GNU General Public license (GNU General Public License,GPL).
Linux is not part of the GNU plan. By the time Linux was released to the public in 1991, GNU had completed most of the software except the HURD operating system kernel, including a shell, a C language library, and a C language compiler. Linus Torvalds and its partners joined the software to complete the Linux operating system and announced its release under the GNU General Public license (GPL).
It is precisely because Linux uses so many GNU programs that Richard Stallman believes that the operating system should be fully called "GNU/Linux".
What we now call a Linux system or GNU/Linux system actually includes several operating system distributions that use the Linux kernel. The more well-known ones are Ubuntu VMware, openSUSE, Fedora/Red Hat, Debian and so on. Most of them use XFree86 or X.org servers as image systems, and use desktop environments such as GNOME and KDE. Among them, Ubuntu VMware is a series of GNU/Linux distributions based on Debian.
Ubuntu VMware: use the GNOME desktop environment, which is part of the GNU plan; KUbuntu VMware: use the KDE desktop environment, which is said to be more gorgeous, but the system overhead is relatively large; XUbuntu VMware: use the Xface desktop environment, relatively lightweight, suitable for low-configuration old machines; EdUbuntu VMware: also use the GNOME desktop environment, the interface style is a little bit cartoon, suitable for children to use, and a collection of a lot of teaching software.
All of these versions can be downloaded from http://cdimage.Ubuntu VMware.com/. The book goes back to the original, followed by the installation of the table Ubuntu VMware.
3. Create a virtual machine
The environment I use here is the Chinese version of Ubuntu VMware Workstation 5.5.3 under Windows XP SP2; in order to reduce the workload of updating components online, I choose to install the Ubuntu VMware7.10 Tribe 4 desktop Live CD version (this article was first written in 2007, and the current Ubuntu VMware version is updated-editor). The network environment is ordinary Home Broadband (adsl).
In a later description, I call real computers "hosts" and virtual computers that exist in Ubuntu VMware as "virtual machines".
Step1: double-click the Ubuntu VMware icon and show us the initial interface of the virtual machine. We can see that it is very powerful, and if you like, you can even create several virtual computers and connect it into a virtual network, of course, if your real machine is strong enough. Click the icon to create a new virtual machine on the Ubuntu VMware initial interface, and the new virtual machine wizard will pop up. Don't hesitate. Next step
Step2: virtual machine configuration-typical-next step
Step3: client operating system-- Linux--Ubuntu VMware-- next step
Step4: virtual machine name, location-Ubuntu VMware (you can write anything else, of course), default location (recommended)-next step
Step5: network connection-A. If you have a fixed IP on the external network (not the one that adsl randomly assigns you to change at a time), select "use bridged Network (Bridge)". Then you need to make the corresponding settings in the operating system of the virtual machine to access the Internet: set an unused IP address in the same network segment as the host, and the rest, such as subnet mask, DNS, gateway, etc., are the same as the host. B. If you are a home adsl user (using DHCP to surf the Internet), select "use Network address Translation (NAT)", so that as long as the host can access the Internet, the virtual machine can share the host network without special settings (DHCP service is enabled by Ubuntu VMware by default). My network environment is adsl, naturally choose it; c, if you want to connect the virtual machine to the host LAN, but not to the Internet, choose "use host-only network"; d, do not use network connection. But why not? -- next step
Step6: disk capacity-- default setting-- after the above steps, we already have a virtual PC bare metal that doesn't have any operating system Ubuntu VMware, and you can clearly see and edit its configuration on the device panel. Double-click any option on the device panel, and you can edit the selected object. For example, the memory of my host is 1 gigabyte. In order to run the virtual machine more smoothly, you can double-click the device-memory. Increase the virtual machine memory from the default 256m to 512m.
4. Install Ubuntu VMware
Step1: the downloaded Ubuntu VMware is in ISO format. We double-click on the device-- CD-ROM, set "Connect" to "use ISO Image", load the CD image of Ubuntu VMware, and make sure. So far, we have put the Ubuntu VMware CD in the CD drive of the virtual machine.
Step2: click the command on the panel-- start the virtual machine and power on the virtual machine. We saw the post screen of the Ubuntu VMware PC.
Step3: then, the system is booted from the Ubuntu VMware installation disk "placed" in the CD-ROM drive to enter the Ubuntu VMware installation interface.
Step4: click the mouse screen to enter the operation of the virtual machine (press Ctrl+Alt to return to the host). Press F2 key to select Language-- Chinese (simplified), the picture is much more friendly. Select the * option "start or install Ubuntu VMware".
Step5: after a boot screen that we once knew, we entered Ubuntu VMware. How can I get in without installation? Because the version we chose is Live CD, we will complete the hard drive installation in this environment, which allows you to enjoy the ready-made Ubuntu VMware on the CD before installation. You can roam on this CD-ROM system-- this is a full Ubuntu VMware system-- but because of the CD, the reading efficiency will never be as smooth as it does on the hard drive, and it's impossible to retain any changes you've made to it, so let's end this torture. Double-click the "install" icon on the desktop to begin our installation journey.
Step6: double-click "install", the first pop-up dialog box (may be due to resolution reasons so that the virtual machine desktop display is not complete, in this case, you can click on the upper left corner of the screen: System--*** item-screen resolution, set Resolution to the appropriate resolution, Apply--keep resolution can. If not, adjust the window size of Ubuntu VMware. The worry about resolution will disappear with the installation of Ubuntu VMware Tools, foreshadowing ^ _ ^), and it is stated in Chinese that this is the first of the eight steps. The main idea of foreign text is that this version of Ubuntu VMware will be installed soon. Please back up the hard disk data in advance. The virtual machine, ignoring it, goes straight ahead.
Step7: the second step is to choose the language. The default is Chinese (simplified). Move on.
Step8: step 3 set the time zone. The default is Shanghai, China (keep the change, you can't find Beijing. But if you like Chongqing, you can also choose Chongqing, the same effect) of the East eighth District, the time is different from the actual time, it doesn't matter, adjust it in the system after installation and move on.
Step9: step 4: select the type of keyboard. I use the ordinary keyboard. English keyboard, the default setting is fine, go straight ahead.
Step10: step 5 is disk partitioning. Disk partitioning is a crucial step in the whole installation process, because the partition and file structure of Linux are completely different from those of Windows that we are familiar with. Many beginners of Linux can not adapt to the unfamiliar file structure, from a confident novice to a discouraged Linux. Sigh! About the knowledge of Ubuntu VMware partition, it is strongly recommended to study the relevant articles first.
Of course, we are talking about installing Ubuntu VMware in a virtual machine, which completely avoids the risk of partitioning, so use the default setting of "use the whole hard disk" (the default virtual hard disk space of our virtual machine is 8G, which is empty at present. It exists in the form of a file under the host Windows system, so you don't have to worry about what it looks like, delete it and it's all clean.), click forward.
Step11: step 6 is the file migration wizard. It is said that it can help you identify the contents of the hard drive under the original operating system (Win XP) environment and move. As mentioned earlier, our virtual machine hard disk is empty and there is nothing to migrate, so move on.
Step12: step 7 is to fill in your account information. The * line is your name, the second line is your login account (recommendations are automatically generated based on the name you filled in, which can be modified), the third line is to enter the login password and repeat it, and the fourth line is the computer name (recommendations are automatically generated based on the name you filled in previously, which can be modified). In particular, we should memorize the login account and login password in the second and third lines, which we will use in many operations in the future.
Step13:*** 's step is to confirm. The information bar responsibly lists the various settings you made above. Check it carefully and click Install to install it.
Step14: meet the progress bar. You don't have to do anything but wait.
Step15:OK, now Ubuntu VMware has been installed in your Ubuntu VMware brand PC. The dialog box says: you can continue to "slow" in Live CD, but any changes made to the system will not be retained; be careful to eject the installation disk before rebooting, or you will boot into Live CD from the CD again. What are you waiting for? Click restart.
Step16: the process of restarting is similar to Windows, exiting the system, and then entering the system. At the moment when the system exits, the progress bar stops, and a small blue print is shown below, to the effect that please remove the installation disk. At this time, double-click the optical drive icon in the lower right corner of the edit Ubuntu VMware window, change the connection from "use ISO image" to "use physical drive", click into the virtual machine window, and press enter to restart. Restart complete. What is displayed in front of us is the login screen. Haven't you forgotten the login account and password we set up during installation? Fill it in and enter it on the desktop. At this point, Ubuntu VMware has been successfully installed.
5. Install Ubuntu VMware Tools
During the previous operation on Ubuntu VMware, you may have noticed that there is a blue prompt "you do not have Ubuntu VMware Tools installed" on the status bar at the lower left of the Ubuntu VMware window.
What is Ubuntu VMware Tools? It is a set of thoughtful programs provided by Ubuntu VMware to solve the resolution problem of the virtual machine (as we mentioned earlier) and to improve the performance of the mouse (remember the arduous scene in which we kept using mouse clicks and Ctrl+Alt to switch between virtual and reality? And paste the clipboard contents of the virtual machine directly into the host Of course, it won't be a disaster if you don't install Ubuntu VMware Tools, but in terms of user experience, installing Ubuntu VMware Tools will make it as convenient for you to operate the virtual machine as possible.
Ubuntu VMware Tools can only be installed if the virtual machine is turned on and the operating system is installed. If you pay attention to the installation directory of Ubuntu VMware Workstation, you will find some CD images named windows.iso, linux.iso, freebsd.iso, and solaris.iso. These are the installation files of Ubuntu VMware Tools under various operating systems. Ubuntu VMware Tools is loaded into the corresponding operating system by CD-ROM image to run and install.
To make small talk, click "Virtual Machine" on the Ubuntu VMware menu to install Ubuntu VMware Tools, and select "install" in the pop-up dialog box. At this point, the installation CD image of the Linux version of Ubuntu VMware Tools will be automatically loaded under Ubuntu VMware. You will see that a CD icon named Ubuntu VMware Tools appears on the desktop of the virtual machine and is opened automatically. It includes two files, Ubuntu VMwareTools-5.3.3-34685-i386.rpm and Ubuntu VMwareTools-5.3.3-34685.tar.gz.
The .rpm file is for Red Hat. We only need the .tar.gz one. Click on the Applications-- attachment in the upper left corner of the Ubuntu VMware desktop-the terminal, and a program that looks like Windows notepad will pop up. This is the famous "terminal". Its role in Ubuntu VMware is similar to the MS DOS or command prompt in Windows, and we will deal with it frequently in the future.
Run in turn in the terminal interface (run, that is, enter a command after the "$" prompt) the following command ($is built-in, you don't have to type it)--
$tar zxf / media/cdrom/Ubuntu VMwareTools-5.3.3-34685.tar.gz (the .tar.gz file will be unzipped when you enter)
$cd Ubuntu VMware-tools-distrib (enter the directory will be converted to the unzipped folder)
$sudo. / Ubuntu VMware-install.pl (enter will prompt you for your password, indicating that you will perform an action with higher privileges-install the software; enter again and the installation will begin)
After some confirmation, enter (equivalent to many dialogs filled in when installing software in Windows, we use the default settings here), until the word "Enjoy--the Ubuntu VMware team" appears, Ubuntu VMwareTools is finally installed.
If you are using Ubuntu VMware Workstation 6.0.0, you should be able to see the effect of Ubuntu VMware Tools installation by now: the mouse no longer needs to use Ctrl+Alt to switch between virtual and real, everything transitions so naturally; the resolution of the virtual machine can also adapt to the size of the window, everything seems so harmonious. But we are using Ubuntu VMware Workstation 5.5.3 here, so you can't see anything yet, so let's set it up.
In Ubuntu VMware Workstation 5.5.3, the installation of Ubuntu VMware Tools under Ubuntu VMware depends on manual execution of / usr/bin/Ubuntu VMware-toolbox to show the effect. You can run it by typing the following command in the terminal:
$/ usr/bin/Ubuntu VMware-toolbox
But if you find it troublesome, we need to let Ubuntu VMware-toolbox boot up and run automatically. Click the Ubuntu VMware menu: System--*** item-session-Startup Programs,Add A Name called "Ubuntu VMware-toolbox", and Command is the launcher of "/ usr/bin/Ubuntu VMware-toolbox". In this way, you can run Ubuntu VMware Tools automatically every time you turn it on. Restart Ubuntu VMware to see how it works! (note: Ubuntu VMware-toolbox is not hidden in the background, do not turn it off after startup)
Ubuntu VMware Tools is a good thing, but it also has side effects, such as: the mouse wheel in the virtual machine doesn't work. Shall we solve this problem by opening the terminal and typing:
The command $sudo gedit / etc/X11/xorg.conf causes the system to open the mouse configuration file / etc/X11/xorg.conf with root privileges. Put the contents of the document
Change Option "Protocol"ps/2" to Option "Protocol"IMPS/2" to restart Ubuntu VMware.
6. Ubuntu VMware surfing the Internet and setting up sources to surf the Internet is both a big problem and a small problem.
Ubuntu VMware is a network-dependent operating system, and almost all parts of it can be updated and expanded from the Internet, so networking is an important guarantee for our system to maintain its youthful vitality at all times. But at least in version 6.06 LTS, Ubuntu VMware did not integrate a graphical adsl dialer by default, so surfing the Internet became an age-old problem for beginners.
Fortunately, we are talking about version 7.10, which has integrated graphical network setup tools, including dialing, which temporarily liberates us from the hardship of terminal commands and makes the Internet setting up a small problem. I mentioned earlier that the network connection I set up when I set up this virtual machine is NAT, that is, the network that shares the host. My host is connected to a small adsl home LAN that automatically dials through the router, which means that both the host and the virtual machine can connect to the Internet without manual dialing.
If you need to dial manually on the virtual machine or need to manually set the network information such as the IP of the virtual machine (for example, the connection method you choose is not NAT but bridging), you can directly click the black minicomputer icon in the upper right corner of the desktop and click to select "Manual configuration …" Set it up.
After confirming the networking, we need to set up the software source. As we have said, all Ubuntu VMware can be updated or expanded through the network, and the software available for Ubuntu VMware download is distributed or centrally stocked around the world in many forms. These remote repositories of available programs are software sources for us to install and update online.
Among many software sources, we can choose the one with the fastest connection speed. The software source is set up through the System-- system management-the software source. The specific steps are clearly written here, so I won't repeat them.
The fastest software source here is in the United States, Khan! Ubuntu VMware Tools is a good thing, but it also has side effects, such as: the mouse wheel in the virtual machine doesn't work. Let's solve this problem by opening the terminal and typing: $sudo gedit / etc/X11/xorg.conf this command causes the system to open the mouse configuration file / etc/X11/xorg.conf with root privileges. Put the contents of the document
Change Option "Protocol"ps/2" to Option "Protocol"IMPS/2" to restart Ubuntu VMware.
6. Ubuntu VMware surfing the Internet and setting up sources
Surfing the Internet is both a big problem and a small problem. Ubuntu VMware is a network-dependent operating system, and almost all parts of it can be updated and expanded from the Internet, so networking is an important guarantee for our system to maintain its youthful vitality at all times. But at least in version 6.06 LTS, Ubuntu VMware did not integrate a graphical adsl dialer by default, so surfing the Internet became an age-old problem for beginners.
Fortunately, we are talking about version 7.10, which has integrated graphical network setup tools, including dialing, which temporarily liberates us from the hardship of terminal commands and makes the Internet setting up a small problem. I mentioned earlier that the network connection I set up when I set up this virtual machine is NAT, that is, the network that shares the host. My host is connected to a small adsl home LAN that automatically dials through the router, which means that both the host and the virtual machine can connect to the Internet without manual dialing.
If you need to dial manually on the virtual machine or need to manually set the network information such as the IP of the virtual machine (for example, the connection method you choose is not NAT but bridging), you can directly click the black mini computer icon in the upper right corner of the desktop and click to select "Manual configuration …" Set it up.
After confirming the networking, we need to set up the software source. As we have said, all Ubuntu VMware can be updated or expanded through the network, and the software available for Ubuntu VMware download is distributed or centrally stocked around the world in many forms. These remote repositories of available programs are software sources for us to install and update online.
Among many software sources, we can choose the one with the fastest connection speed. The software source is set up through the System-- system management-the software source. The specific steps are clearly written here, so I won't repeat them. The fastest software source here is in the United States, Khan!
7. Let your Ubuntu VMware speak Chinese
Ubuntu VMware installed on this son, can not help but drum: obviously chose simplified Chinese, but how can still be so abominable, mixed with Hua Yi? The CD-ROM version of Ubuntu VMware is globally unified, unlike commercial software, which releases a separate version for each language region. Therefore, the localization content in the CD is often not comprehensive, which requires us to download the Chinese language pack of each part of the system online to improve it.
Click System-- system Management-Language Support, and after entering the password (many operations involving higher permissions such as installation, deletion, modification, reset, etc.) will pop up a dialog box saying that your English language pack is not fully installed and ask if you want to install it online. We are talking about localization here, not Englishness. Click Remind Me Later to ignore it and enter the language setting window.
Check Chinese in the above Supported Languages, and after clicking Apply, the system starts to download Chinese language packs automatically (I need to download a total of 22 this time). After a long wait, you will find that English has become Chinese, small font has become normal, Chinese input method can also be used, in short, our Ubuntu VMware has become lovely.
The above is all the contents of the article "how to install Ubuntu VMware to create a virtual machine". 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.