Mount windows share on ubuntu

Install the CIFS Utils pkg
sudo apt-get install cifs-utils

Create a mount point
sudo mkdir /mnt/local_share

Mount the volume
sudo mount -t cifs -o user=<user on Windows> //<windows_ip_address>/<share_folder> /mnt/<local_share>

You will be prompted for password

 

To mount at boot, add to /etc/fstab file:
//<windows_ip_address>/<share_folder>cifs user=<user on Windows>,pass=<user passwd> 0 0

 

Comments

Popular posts from this blog

Useful aliases

Enable Search Engine Friendly (Pretty URLs) in Yii2