Posts

Showing posts with the label How to Mount a Windows Share on an Ubuntu Server

How to Mount a Windows Share on an Ubuntu Server

 How to Mount a Windows Share on an Ubuntu Server:- 1. sudo apt-get install smbfs 2. sudo apt-get install cifs-utils 3. sudo mkdir /mnt/backup 4. sudo vi /etc/fstab      add bleow line :-  //192.168.1.177/sharedata /mnt/backup cifs domain=192.168.1.177 0 0      :wq 6. sudo mount -a 7. Auto Mounting sudo nano /etc/fstab //192.168.1.177/sharedata /mnt/backup cifs domain=192.168.1.177,file_mode=0755,dir_mode=0755 0 0 Run the following command to mount the share sudo mount /mnt/backup