Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux hanging from windows shared directory command

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Mount: for example, mount a shared folder on the windows server to the linux / dev/windows directory

1. First, set up a "gongxiang" directory on the windows server that can ping, and set administrator and everyone permissions.

2. Check, start-run-enter:\\ 192.168.1.110 can access

3. Create a "windows" directory under the linux / mnt directory

4. On the Linux command line, enter:

Mount-t cifs-o user=administrator,passwd=Tlala@jx / / 10.9.3.45/gongxiang / dev/windows/

(or: mount.cifs-o username= "Administrator", password= "PasswordForWindows" / / 10.10.0.192/test / mnt/share)

5. Check whether "df-h" is mounted

Uninstall: umount / mnt/share that is: umount / dev/windows/

Note: if the uninstall is not successful, exit the directory you want to uninstall.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report