Windows XP/7: how to access Shared Files in linux virtual machines this article will summarize the methods for accessing shared files from linux xp and windows 7 linxu virtual machines. The system installed on the host is windows 7, the linux version installed in the virtual machine is fedora (32-bit ). Run the following command or action in the Virtual Machine linux: www.2cto.com 1. to install the samba service, run the command rpm-qi samba to check whether the samba service is installed. If not, you can use yum install samba for online installation (in the fedora 11 environment ). 2. start the samba service smb start. To enable the samba service automatically, run the ntsysv command (or the system service option in the setup command) and check smb, after confirming, you can load the samba service at startup. 3. For details about how to configure the samba service in the samba service, refer to "configuration of the samba service and NFS service in linux".
Http://www.bkjia.com/ OS /201210/161993.html 4, restart the samba service smb restart 5, disable the Firewall service iptables stop by default, the firewall closed the 139 tcp port, also closed the nmbd process required port 137,138. Therefore, we use the Command service iptables stop to disable the firewall. You can also modify the firewall to allow port tcp139 and udp 137,138. 6. If the host and virtual machine cannot be pinged to each other, You need to configure the Host IP address and Virtual Machine IP address in one CIDR block. After mutual ping, We can log on to the shared files in the virtual machine operating system on the host.