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


Comments

Popular posts from this blog

How to install and configure OSSEC server and client

How to install nuke in windows 10 and windows 11,Installing Nuke on Windows, Install Nuke on Windows

Autodesk Maya 2024 Install Windows 11