linux掛載windows共享目錄

2021-07-10 02:47:58 字數 435 閱讀 8029

1.linux root 賬號或者sudo賬號;

2.windows共享目錄,機子能ping通;

以centos為例

1. 安裝軟體

yum install samba-client
yum install cifs-utils
2.建立掛載目錄/mnt/wprd

mkdir /mnt/wprd
3.掛載目錄

mount -t cifs -o username=username,password=password  /mnt/wprd
沒有錯誤資訊則表明掛載成功。

ps:可以永久掛載,通過修改/etc/fstab檔案

1.zwiegnet blog

Windows 掛載linux 目錄

目標 windows 10.0.1.129 的 s 碟符 必須是乙個碟符,未被使用的 掛載 linux 10.0.1.144 的home dilusense 194root haolq目錄 準備工作 centos redhat 作業系統 yum install nfs utils rpcbind 啟...

Linux 掛載windows 共享

mount t cifs o username share,password 123.com mnt mount cannot allocate memory的解決辦法今天在一台linux機器上mount windows 7 64位系統的乙個可讀寫共享資料夾,命令如下 mount o usernam...

(windows內建Linux)掛載

這個wsl與普通linux相比還有很多東西沒有,但並不是無法解決,搜尋問題還是到微軟官方那裡好 jarvis donghuangzhong mnt f fdisk l fdisk cannot open proc partitions no such file or directory1.先新建乙個...