CentOS Mount Windows shared folder

Source: Internet
Author: User

set: Host IP with Windows system 172.31.32.33 d:\test\share_dir\ share name 123, the system exists a user zkqqzkzkq, password cccc; on the host of the CentOS-equipped system, the Windows host's share_dir must be mounted to/mnt/. the mount-t cifs-o USERNAME=ZKQQZKZKQ,PASSWORD=CCCC//172.31.32.33/123/mnt can be executed in the CentOS system. If you need to boot vim/etc/fstab the bottom plus a line//172.31.32.33/123/mnt cifs USERNAME=ZKQQZKZKQ,PASSWORD=CCCC 0 0

Note: The symbol is full of half corner, where the space to space! After execution, the CD to/mnt see the contents of the 172.31.32.33 host D:\test\share_dir! In some CENTOS6 versions, Fstab is loaded before the network, causing the load of the network shared folder to fail. This situation suggests writing the command in a shell and putting it in/etc/rc.d/rc.local.

CentOS Mount Windows shared folder

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.