Linux smb 的掛載和取消掛載

掛載 smb

Step 1: Install the CIFS Utils pkg

`sudo apt-get install cifs-utils`

Step 2: Create a mount point

sudo mkdir /mnt/<local_share>

Step 3: Mount the volume

sudo mount -t cifs -o username=<your NAS username> //<vpsa_ip_address>/<export_share> /mnt/<local_share>

取消掛載 smb

sudo umount /mnt/<local_share>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章