Install Windows in Linux vmvare

Source: Internet
Author: User
Install and use Windows with Vmware in fedora 4.0
 
Source: chinaunix blog Date: 2006.02.05 (0 comments in total) I want to comment
 
Install and use Windows with Vmware in fedora 4.0
++ ++ Body: ++ ++
What is VMware?
VMware is a set of software that allows virtual installation of various operating systems. It virtualizes the hardware environment for each operating system. Each operating system in VMware is relatively independent, each virtual system is equivalent to an independent machine with a system;
In VMware, you can open multiple virtual operating systems at the same time, and operate virtual networks on one machine and on multiple virtual operating systems; for example, if you install and install VMware in Windows, you can simulate a LAN for learning;
VMware has Linux, windows, and MACOs versions;
This document describes how to install and use VMware Linux;
Installation preparation:
1. VMware Linux version; I use the source code package of VMware 5.0 for Linux;
2. Windows installation disk;
Operating Environment:
System Environment: Fedora Core 4.0, development tools (GCC, automake, make, Perl, etc.); kernel-devel should be installed;
Hardware environment; Intel C 1.4, memory 512 M, Display Card Integrated i810x
1. Install VMware in Linux (Fedora Core 4.0;
[Root @ localhost beinan] # tar zxvf VMware-workstation-e.x.p-15576.tar.gz
[Root @ localhost beinan] # cd vmware-distrib/
[Root @ localhost vmware-distrib] #./vmware-install.pl
Or
[Root @ localhost vmware-distrib] # Perl vmware-install.pl.
[/Usr/bin] Note: If you encounter something similar, press Enter;
Is this what you want? [Yes] Yes Note: If yes is input;
Note: When the Perl vmware-install.pl to the network configuration, you can choose to yes, you can also according to your network environment to yes or no, it is best to be yes; this is the basis for configuring VMware. how to configure the virtual system network depends on the entire network. You can configure a Windows Network Based on your network conditions;
2. Add a Windows Virtual System to VMware;
1. Add a new virtual machine. Click [new Virtual Machine] to add a Windows virtual machine;

Start creating a VM:

2. Selection of the virtual machine configuration adding process: You can select the default or custom configuration of the system. In fact, the default configuration is sufficient;

3. Select the type for creating the virtual system: this is also winodws we are going to learn in this article;

Virtual Machine name: WINXP, just write one by yourself; if not specified, it is placed in the current user's home directory. in the VMware directory, if your/home directory is not that large, you 'd better specify a directory. For example, if I specified a partition in the/mnt/hda10 directory, I mounted a partition to/mnt/hda10 with a size of 15 GB. This is not enough, make sure that the directory you want to store the virtual machine is writable to the users you use. It's just about permissions. I do the following;

[Root @ localhost beinan] # mkdir/mnt/hda10/WINXP
[Root @ localhost beinan] # chown-r/mnt/hda10/WINXP
[Root @ localhost beinan] # chmod-r 777/mnt/hda10
All users are readable, writable, and executable. The directory owner I configured above does not make much sense. Because the permissions allow me to open the directory owner, it is mainly simple to do so, security and anxiety are all other things. They are also experimental ;;)

4. Network Configuration: If you access the Internet through the gateway of A vro or another machine, you can use bridged networking. For example, if DHCP is used to obtain an IP address, it is only after Windows installation or installation is complete, configure it as DHCP. If you use the gateway and it is not DHCP, you can specify the IP address and gateway of your machine during Windows installation;
If you only have one machine and access the Internet through pppoe or PPP in Fedora Core 4.0, you must first enable Linux to support Internet sharing. there is a solution in the org network version;

In fact, the network is better configured. It is similar to the network of several machines you operate, or the same; it is okay to regard the virtual operating system as an independent machine.

5. VM disk size setting:
Windows XP has the size of nearly two GB, and I set the size of the virtual disk as needed; I set it to 10 Gb; During winows installation, I divided the 10 Gb into two zones;


6. configurations of Windows virtual machines;
Click [edit virtual machine setting] to view all the settings. You can click a bit. For example, you need to increase the memory size, if it is a multiple of 4; the NIC can also be configured by itself; follow your own circumstances;


This is the interface for entering the VMware serial number. You can apply for the serial number. Can you find it by yourself? Don't give it to me, I don't ;:(


Ask if you want to register now, write it or not, and register later;

3. Install Windows on a virtual machine:
1. Installation Process:
First, we need to start the WINXP instance we just added. Then, click the screen. If you are a desktop, press the Del key to enable the CDROM to run automatically when it is started; we can insert a CD to install windows;
The following figure shows other installation processes;






Other processes are free of charge. The following describes how to install VMware Tools;
2. Install VMware Tools:

Click the VM menu and choose to install VMware Tools install. VMware Tools is stored on a CD-Rom in windows. We can click the mouse to install VMware Tools;





Note: I wish new students a learning experience;
Discussion: Do not yell. Welcome to the technical discussion ~;
++ ++: Configure a non-route ADSL for a single machine: (if you are using a router or using a gateway to access the Internet, do not check the following ;) ++ ++
First, you must configure the Linux Nic to set both the Linux Nic and the virtual nic at 192.168.0. on this network segment, the IP address of the Linux Nic is set to 192.168.1.1, And the gateway is not set; the NIC of the VM is set to 192.168.1.2; the mask is 255.255.255.0; the gateway and DNS must be specified for the VM; you can use 202.96.128.143 and 202.96.134.20.

Try again. I use a vro to access the Internet, configure the vro with an automatic number, and DHCP is enough;
1. Check whether RP-pppoe is installed.
[Root @ localhost beinan] # rpm-Qa RP-pppoe
Rp-pppoe-3.5-27

If no installation is available, find the installation disk and install RP-pppoe;

[Root @ localhost beinan] # rpm-ivh rp-pppoe *
Ii. Configure RP-pppoe
Run as root on the terminal
# ADSL-Setup

[Root @ linuxsir02 root] # ADSL-Setup
Welcome to the ADSL Client Setup. First, I will run some checks on
Your system to make sure the pppoe client is installed properly...
Login Name
Enter your login name (Default Root): the user name provided by the ADSL provider, written here
Interface
Enter the Ethernet interface connected to the ADSL Modem
For Solaris, this is likely to be something like/dev/hme0.
For Linux, it will be ethx, where 'x' is a number.
(Default eth0): eth0, which is the first network card of the first machine on which ADSL accesses the internet.
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
After which the link shoshould be dropped. If you want the link
Stay up permanently, enter 'no' (two letters, lower-case .)
Note: Demand-activated links do not interact well with dynamic IP
Addresses. You may have some problems with demand-activated links.
Enter the demand value (default no ):Press enter here.
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic dns address ',
Enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
Doing and not modify your DNS setup.
Enter the DNS information here:202.96.134.small this is dsn, it is best to use
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
Enter the secondary DNS server address here:202.96.168.68 this is the second DNS, which is also provided by China Telecom.
Password
Please enter your password:Write the password given by the ADSL provider here
Please re-enter your password: confirm the password
Userctrl
Please enter 'yes' (two letters, lower-case.) If you want to allow
Normal user to start or stop DSL connection (default yes): Yes
Firewalling
Please choose the firewall rules to use. Note that these rules are
Very basic. You are strongly encouraged to use a more sophisticated
Firewall setup; however, these will provide basic security. If you
Are running any servers on your machine, you must choose 'none' and
Set up firewalling yourself. Otherwise, the firewall rules will deny
Access to all standard servers like Web, e-mail, FTP, etc. If you
Are Using SSH, the rules will block outgoing SSH connections which
Allocate a privileged source port.

The firewall choices are:
0-None: This script will not set any firewall rules. You are responsible
For ensuring the security of your machine. You are strongly
Recommended to use some kind of firewall rules.
1-standalone: appropriate for a basic stand-alone Web-surfing Workstation
2-masquerade: appropriate for a machine acting as an Internet gateway
For a LAN
Choose a type of firewall (0-2): 2
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter NO or yes (default no): Yes
** Summary of what you entered **
Ethernet interface: eth0
User name: ADSL User Name
Activate-on-demand: No
Primary DNS: 202.96.134.20.
Secondary DNS: 202.96.168.68
Firewalling: Masquerade
User Control: Yes
Accept these settings and adjust configuration files (y/n )? Y
3. Add the following to/etc/rc. d/rc. Local:
Echo 1>/proc/sys/NET/IPv4/ip_forwardiptables-T Nat-A postrouting-s 192.168.0.0/24-O ppp0-J Masquerade

This article is from the chinaunix blog. If you want to view the original text, click:Http://blog.chinaunix.net/u/12110/showart_71905.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.