Virtual Machine file sharing + gt-itm installation-general Linux technology-Linux technology and application information, the following is a detailed description. Some time ago, a virtual machine was installed to facilitate the use of linux, and many problems were encountered. After linux is installed, the ns2-based Installation File under a window should be shared, and the problem can be solved only through the help provided by the vm. The method is recorded for reference in the future:
First install vm-tools. Step: Start the vm-> go to system-> vm-> install vm-tools. Then the system automatically mounts a virtual disc.
Cd/mnt/cdrom/
Ls
It should be noted that a vmware-linux-tools.tar.gz copies it to the/tmp directory, and then
Tar zvxf vmware-linux-tools.tar.gz
Obtain a directory named like vmware-tools-distrib. Go to this directory and run
Vmware-install.pl. In general, this script will automatically detect your linux version, automatically install the corresponding driver, all the way to confirm ......
After installing tools, open vm-> setting-> option-> shared folders and select the windows folder to be shared.
Then open the terminal and enable the samba server: service samba start. Without this command, start smd in redhat-config-services (my system is redhat9, (If the samba server is installed ).
After the preceding steps are completed, open
Cd/mnt/hgfs
Ls
We should have seen it.
Here I encountered a problem. An error occurred while decompressing the NS2. at first I thought it was the reason for sharing, but I still couldn't do it after handling it to linux. Finally, I only had to perform graphic interface operations and solve the problem.
Here is how to install the GT-ITM:
Decompress the file NS2. install./install. After about 10 minutes, some prompts will appear on the screen asking you to write the environment variable:
Cd/home/zh
Ls-
Vi. bashrc
Add prompt variables to your environment variables
PATH = $ PATH:/home/zh/ns-allinone-2.29/bin:/home/zh /...
LD_LIBRATY_PATH =/home /...
TCL_LIBRARY =/home /...
Export PATH LD_LIBRARY_PATH TCL_LIBRARY
Run
Source. bashrc
You can refer to the log "ns2-installation" to continue. After the animation test, follow the prompts after decompression:
Cd/home/zh/ns-allinone-2.29/ns-2.29
. Validate
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.