To mount a Windows share on a Linux machine you’ll need CIFS. To install CIFS, issue the following at shell:
1 |
yum install cifs-utils |
1 |
sudo apt-get install cifs-utils |
Create an empty folder at the location you want to mount the drive:
1 |
mkdir /location/share |
To mount the windows share issue the following:
1 |
mount -t cifs //192.168.123.100/shared_folder /location/share -o user=user5 |
You will be prompted for a password, issue the password and you should now be able to access it.
This share will not mount on boot so you’ll need to be conscious of that.