The installation process described in this paper is applicable to Windows system. When we need to develop and run programs on some development boards on the PC side, we need to build a cross compilation and development environment on the PC side. The following describes the method and steps of setting up the environment. Before the environment is ready to install, please download the software package: download the vmware-workstation-10 version of the virtual machine installation package. The vm10 version supports 32-bit and 64 bit operating systems, and the vm11 and above version only supports 64 bit operating systems The following description is an example of installing vmware-workstation-full-10.0.4-2249910 on a 32-bit XP system.
Download the Ubuntu 12.04 32-bit system image from the Ubuntu official website. Other versions of the system may have problems during development. To install VMware, double-click vmware-workstation-full-10.0.4-2249910.exe and follow the prompts. Install the virtual machine to run VMware, enter the following interface: select create new virtual machine, enter the wizard
By default, next & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;
Choose to install the operating system later. Create an empty virtual machine first, and then install Ubuntu system. Next step.
&Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; select the operating system and version. Next, define the name of the virtual machine and select the path to save the virtual machine. Next, set the disk size of the virtual machine. If the hard disk space of the PC is large enough, increase the disk size. In addition, choose to store the virtual disk as a single file. next step. virtual machine creation completed. &Nbsp; & nbsp; & nbsp; & nbsp; & the Ubuntu 4 you just created appears in the left column of VMware.
Next, install Ubuntu 12.04 operating system. In the created virtual machine, stand-alone CD / DVD, pop up the virtual machine setting window, select the Ubuntu 12.04 system image we downloaded, set “connect at startup”, and confirm.
If installing a 64 system, pay attention to installing a 32-bit compatible package. Use the following name 1: sudo apt get install update to update the software source. 2: sudo apt get install lib32zl lib32ncurses5 lib32stdc + + 6-4.8-dbg, install the three packages. To create a shared folder, we usually want to share data between the virtual machine and the windows host when using the virtual machine. For example, windows and the virtual machine share folders, so that the files in windows can be accessed by the virtual machine through the shared directory. In the same way, some files in the virtual machine can be shared to windows through the shared folder. In addition, with this enhanced function, we can also In order to copy the content pasted on the windos side to the pasted on the Linux side, many convenient installation methods are provided for the development as follows: first, install the VMware Tools Tool for the virtual machine & nbsp; & nbsp; & nbsp; & nbsp;
Pop up the following dialog box, click “yes”
Extract the VMware tools.tar.gz in the launched vmware tools to the home directory.
Press Ctrl + Alt + T to open the terminal, enter the extracted VMware Tools distrib directory, and run VMware install.pl: & nbsp; sudo. / VMware install.pl & nbsp;
After entering the login password, press enter all the time, and finally see the installation of “ejecting device / dev / sr0…”. Now let’s set the shared folder to open the virtual machine settings: virtual machine – settings add the shared folder as follows & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;
Select the folder path the host wants to share & nbsp; & nbsp; & nbsp; & nbsp; done, OK.
Open the Ubuntu terminal, enter the / MNT / HGFs directory, and see the shared folder WM? Share.
At this point, you can copy the content to the shared directory in windows, and you can view these files in the directory / MNT / HGFs / wm_share in the virtual machine. Similarly, if you copy the content to the directory / MNT / HGFs / wm_share in the virtual machine, you can also see these files in the shared directory in windows.
You can copy content in windows or paste it into the editing software or command line in Linux.
★ the above contents are provided by individuals and have nothing to do with the platform. If there is any violation or infringement, please contact us.