realize the automatic mount of Linux image files, build the Yum warehouse to realize Remote Desktop win7 system
Environment Description:
Linux01 (IP address 192.168.10.10/24) to automatically mount the image file, set up a yum repository, configure Remote Desktop functions, Remote Desktop win7 system (IP address 192.168.10.20/24)
Automatically mount image files
First Open Linux01 the virtual machine configuration IP Address 192.168.10.10/24
Use Xshell to connect to a virtual machine After restarting the NIC using the service Network restart command
First verify that the virtual machine's optical drive device has started the connection, the image file is loaded
Enter the Df–h command to view the current disk mount status
Edit The vim/etc/fstab so that theimage file can be automatically mounted in the /mnt directory
Enter the mount–a command to mount again, df–h Check the current disk mount, and find that the /dev/sr0 image file is automatically mounted
Create a Yum repository
To enter Cd/mnt/packages, first install the following three dependent installation packages
RPM–IVH libao-0.8.8-7.1.el6.x86_64.rpm
RPM–IVH libsamplerate-0.1.7-2.1.el6.x86_64.rpm
RPM–IVH libsndfile-1.0.20-5.el6.x86_64.rpm
Enter cd/etc/yum.repos.d/
Delete the file that ends in ". Repo" Rm–rf *.repo
Create edits again, vim Abc.repo
Yum Install rdesktop–y Run the Yum Warehouse installation rdesktop Feature Pack
Open the Win7 system virtual machine, configure the IP address, and then set the remote settings in the computer properties to allow Remote Desktop computer connection
Enter virtual machine open terminal input rdesktop 192.168.10.20 command remote connect win7 system virtual machine
Completed Linux01 remote connection to the desktop Win7 system.
Realize the automatic mount of Linux image files, build the Yum warehouse to realize Remote Desktop win7 system