Install RedHat Linux in Windows XP Download VMWare, decompress it, and follow the prompts to install VMWare on the hard disk. (1) create a virtual machine A. Double-click the "vmware workstation" icon on the desktop to run the VM. B. Create a virtual machine. Click "file"-"New" -- "newvirtual machine ( Create virtual machine). The VM creation menu is displayed. C. Create a virtual machine step by step according to the Wizard. First selectInstallIs the method "typical (typical)" or "Custom (custom)" installation. Here I select a typical example. D. Because this is used to install RedHatOperating System)" Select Linux and click Next. E. enter the name of the virtual machine you want to create in Virtual Machine name (Virtual Machine name ). F. Select the Virtual Machine installation location in location. Because the operating system will be installed in the Virtual Machine And application software. Therefore, we recommend that you install the virtual machine in a disk partition with large space. G. If your computer is connected to the network, select a suitable network environment. Here I select Use bridged net-working (using a routing network) H. Click Finish and return to the VMware main interface. The Linux virtual machine is created. 2. Install the Operating System A. Select the Linux Virtual Machine and click the power on button in the VMware toolbar to start the Linux virtual machine. B. Insert the redhat7.3 disc and install the Virtual System Based on the installation method you selected. 3. Install redhat7.3 from the hard disk If you think the installation from the optical drive is time-consuming and inconvenient, you can convert the CD file to an ISO file Bay in the hard disk, and then install from the hard disk. A. click Settings> Configuration editor to go to the settings page. Configuration. B. In the hardware (hardware) option, select the DVD/CD--ROM [Ide 1:0] item and set it in the options on the left. C. Select use ISO image (use ISO image package) in the connection option, and then click browse (PreView) Click to find the directory where the ISO file is stored. D. Select the RedHat. ISO file in the open dialog box, and click open to open the ISO file (if the first ISO After the file is installed, the computer prompts you to insert the second disc. Select RedHat. ISO here, and so on) E. in Virtual Device mode, select the interface mode of the virtual device and select IDEO: 0. Click OK to return to the virtual machine interface. Click power on to directly install the operating system from the hard disk. 4. Install VMware Tools When redhat7.3 is installed on a virtual machine, you are always reminded to install VMware Tools in the status bar because the virtual machine is the default Using the built-in virtual graphics card, you can start the VM correctly only after the VMware Tools is correctly installed. Redhat7.3 operating system, and correctly set the video card and display resolution parameters. Note: perform this operation after installing Linux. A. Restart the VM and click setting -- VMware Tools install (to install the VMware tool) Click Install in the pop-up menu to install the VMware tool. B. Click the devices menu and you will find that the menu item of the optical drive is changed from ide: 0 to ide: 0> F :/ Program Files/vmware workstation/programs/Linux. ISO, This means that VMware uses the Linux ISO image file as the VM's CD. C. In fact, the VMware Tools software package has not been installed, and further settings are required. Enter the text logon interface, enter the administrator username (Root) and password to enter root @ localhostroot Directory. D. Enter the following command after the command line (note case sensitivity and space, and press enter after each command line) Mount-T iso9660/dev/CDROM/mnt (load the CDROM device and the CDROM is read-only .) CP/mnt/vmware-linux-tools.tar.gz/tmp (copy the package to the tmp directory of Linux) Umount/dev/CDROM (homes CDROM) CD/tmp (enter the tmp directory) Tar zxf vmware-linux-tools.tar.gz (unzip this package) CD vmware-Linux-tools (go to the decompressed directory) ./Install. pl (run the installation command and the system starts to install VMware Tools) E. Press ENTER twice on the screen. After the system installs VMware Tools, run the following command: Enter the startx command in the line, start redhat7.3, and enter the graphic interface. 5. Set the display resolution The resolution of the Virtual Machine display is higher than that of the local machine. The window size is inconsistent. it is inconvenient to switch between the local machine and the virtual machine. Therefore, you need to reset the resolution of the Virtual Machine display. A. Type CD/etc/X11 in the command line (X is capital ). Enter the directory where the configuration file is located and enter MC command. B. Go to the MC Editor, move the cursor to the XF86Config-4.vm file with the up and down arrows, and press F4. The configuration information is displayed in a text window. D. The displayed configuration information can be found after the title of the screen section. E. Find the resolution of the monitor and complete the resolutions used by the modes higher than the MS windows in the local machine. To delete a file, you must delete the file from high resolution to low resolution to avoid vulnerabilities. F. Save the modified information, return to the X11 directory, and enter startx to enter the graphic interface. The operating system in the Virtual Machine The resolution is changed. ++ ++ Use host-only in VMware to enable RedHat Linux-guest to access the Internet and start the samba service. The following describes how to install VMware and vmware-tools. 1. Nic connected to the Internet in windows. properties:> advanced-> -〉InternetConnection Sharing-> allowOthersThe network user passes .. -> Choose vmnet1 for the home network connection.-> OK. 2. Configure static IP addresses in Linux Click Little Red Hat-> system settings-> network to Open Network Configuration Double-click the following profile to open the dialog box and fill in the static IP Address Address: 192.168.0.21 (the last digit can be written randomly except 1) Subnet Mask: 255.255.255.0 Gateway: 192.168.0.1 Click OK. Select DNS and enter primary DNS: 192.168.0.1 Select hosts to view your host name and IP address. You need to modify the following Save 3. Edit host address Create a terminal and write VI/etc/hosts to open the hosts file Change the IP address in front of the host to the IP address. (Usually in the first line) 4. Restart the network service Service Network restart 5. You should be able to access the Internet. 6. Configure samba VI/etc/samba/smb. conf open the configuration file Find hosts allow or Add hosts allow = 192.168.0 to the file (do not forget the last point) Add a shared folder at the end of the file. The following is an example. (The file shows how to add shared folders) [Root] Comment = All for Windows Path =/root Guest guest K = Yes Writeable = Yes [Data] Comment = Data Path =/Data Guest guest K = Yes Writeable = Yes Save and exit 7. Restart the samba Service Service SMB restart 8. In Windows, you can access the shared folder set above. Start> RUN> enter // 192.168.0.21 Access your shared folder 9. You can use a remote tool, such as putty.exe, to log on to Linux using IP address 192.168.0.21 in windows. In this way, you can use the command line in windows.In Linux, instead of switching to Vmware 10. If the preceding settings are correct, use the following command in Linux. Ifconfig: Check whether eth0 has an IP Address: 192.168.0.21. If not Ifconfig eth0 192.168.0.21 Service SMB restart Service Network restartWork |