Linux mounts shared Directories in Windows

Source: Internet
Author: User

will beWindowsin theF:\sadocfolder Right click Set as shared directory, share user asAdministrator

# yum-y Install cifs-utils # installing the Mount.cifs package

# mkdir/windows # Create mount directory windows

# mount.cifs//10.0.0.1/sadoc/windows/-o user=administrator,pass=linux #pass =linux for windows Administrator User's login system password.

# df-h # to see if the mount was successful

Filesystem Size used Avail use% mounted on

/dev/mapper/volgroup-lv_root

18G 4.3G 13G 26%/

Tmpfs 490M 0 490M 0%/dev/shm

/DEV/SDA1 477M 64M 388M 15%/boot

10.0.0.1/sadoc 501G 493G 7.5G 99%/windows

Add to boot Auto mount

echo "Mount.cifs//10.0.0.1/sadoc/windows/-o user=administrator,pass=linux" >>/etc/rc.loacl


Linux mounts shared Directories in Windows

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.