在windows中設定共享目錄並新增許可權使用者
把window系統的檔案共享掛載到linux centos 目錄下的方法步驟:
1、先在windows下面共享需要掛載的目錄。
2、確保linux與windows是在同乙個區域網當中。
3、在linux下面建立乙個需要掛載到的目錄。
4、利用mount命令進行掛載。
mount -t cifs -o username=test,password=test,uid=weblogic,gid=weblogic /var/www/html/mount使用mount命令把window的目錄對映到linux目錄下引數說明:
username:是window系統登入使用者名稱
password:window系統登入密碼
:設定window共享目錄的路徑, ip加共享檔名
/var/www/html/mount:掛載到linux下的那個目錄
mount常見錯誤:
mount error 13 = permission denied
refer to the mount.cifs( manual page (e.g.man mount.cifs)
確定輸入的命令與上面mount的寫法與上面的一致。
然後檢查window的使用者名稱和密碼是否正確。
取消mount的方法:
umount /var/www/html/mount
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.先新建乙個...