CentOS 7 mount Windows shared directory

Source: Internet
Author: User

recently there is a project site rectification, the early development of the project is still smooth, is a physical life is not a table, the key point is to go to the customer that deployment can encounter * * * annoying.
The main problem is that all of the pre-deployment tests are relatively familiar to the Windows environment, and to the customer they find they need to be deployed to CentOS! This is a bit dumbfounded, for the rookie so fast to "combat" is a bit of trepidation ah, no way people can not run a trip is not, dig this open whole!
"I'm sorry, this can't use your stuff!" "What?" too xxx, you have to make the exam-like, originally I have a bit of information to consult, this good into the closed book exam, the Gateway Big Brother open a desktop, and then log on to the remote Linux server, and then built a Windows virtual machine!! "OK, you first tune it, adjust it, you can upload the deployment of" really a face black line AH!! Don't be so complicated.
Commissioning Environment 3 hours past is bitter tears do not mention, debugging finished open pass it, this time the gateway to open a virtual Linux file Manager, looking like widows ah left dragged the right drag, 1k/s!! This is the rhythm of death.
after living back, think of a half-day with me to understand the Linux gap is too big ah how can be so slow, online check some information seems to have reason, then do a test yourself.
    650) this.width=650; "height=" 462 "src=" http://b22.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ efbslqtefgwwlvujaeejbyx97b0a6a2ddbthojdc1by!/b/dbyaaaaaaaaa&bo=wqloaqaaaaafalc! "width=" 601 "style=" vertical-align:top;font-family:arial;font-size:14px;line-height:22.3999996185303px;white-space:normal; "Alt=" dbyaaaaaaaaa&bo=wqloaqaaaaafalc! "/>
1. Share a file under local win7
650) this.width=650; "height=" 103 "src=" http://b37.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ 38nqy2mnk3zvlel.mu0vs4h58*sk4bmj9hsd3c6m7x0!/b/dcuaaaaaaaaa&bo=0wfnaaaaaaafajy! "width=" 467 "style=" vertical-align:top;font-family:arial;font-size:14px;line-height:22.3999996185303px;white-space:normal; "Alt=" dcuaaaaaaaaa&bo=0wfnaaaaaaafajy! "/>
2. Create a directory to be mounted on the server side
650) this.width=650; "height=" src= "http://b37.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ 64wpgc6r7wmt03sp5i9uwlhjejamgurw5svzmisd1j0!/b/dcuaaaaaaaaa&bo=yamvaaaaaaafag8! "width=" 864 "style=" vertical-align:top; "alt=" dcuaaaaaaaaa&bo=yamvaaaaaaafag8! "/> 3, this is a bit with the information on the discrepancy, they did not error Ah +_+, and then Chayo said environment variables are missing/ Sbin, let's try it.
650) this.width=650, "height=", "src=" http://b22.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ 6edbtebki5vuv1szc790ao4efmse7xwxvv1hslsrbmq!/b/dbyaaaaaaaaa&bo=pgjsaaaaaaafanu! "width=" 678 "style=" vertical-align:top; "alt=" dbyaaaaaaaaa&bo=pgjsaaaaaaafanu! "/>
Change finished running again or error, no AH!
650) this.width=650; "height=" Bayi "src=" http://b32.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ gn6xf3tpmf6e8v0kezfnyc4bohimzwsfveb*ive9zqk!/b/dcaaaaaaaaaa&bo=jajraaaaaaafapw! "width=" 652 "style=" Vertical-align:top, "alt=" dcaaaaaaaaaa&bo=jajraaaaaaafapw! "/>,
But this time the hint is write protection, and then change the SS directory user share permissions, modify/mnt/share
650) this.width=650; "height=" 124 "src=" http://b22.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ vftyea8lqwbeuol0gsggv8nuy5bjqrxug2iwtiaderu!/b/dbyaaaaaaaaa&bo=8wf8aaaaaaafak0! "width=" 499 "style=" vertical-align:top; "alt=" dbyaaaaaaaaa&bo=8wf8aaaaaaafak0! "/>
Try again or fail, depressed.
Think about it as if you didn't write the code, plus try.
650) this.width=650; "height=" "src=" http://b40.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ 4y.r*un8jt1xvfodkru59qhtc4aagdv9eo0ciat10wo!/b/dcgaaaaaaaaa&bo=lqmzaaaaaaafakw! "width=" 870 "style=" vertical-align:top; "alt=" dcgaaaaaaaaa&bo=lqmzaaaaaaafakw! "/>
No prompt!!! I'm not going to be that simple.
650) this.width=650; "height=" 221 "src=" http://b22.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ ovq.2baqujqf4yo2m1xpcbsu2rb2po4ke2q2na3ocbs!/b/dbyaaaaaaaaa&bo=tgldaaaaaaafali! "width=" 590 "style=" vertical-align:top; "alt=" dbyaaaaaaaaa&bo=tgldaaaaaaafali! "/>
If it is difficult, it is not difficult, very simple things actually toss so long, still have to learn AH
650) this.width=650, "height=", "src=" http://b32.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ fmhq3gtrkfaklpylldsbs2.shifykoxhvedatwhilz8!/b/dcaaaaaaaaaa&bo=tgjyaaaaaaafadc! "width=" 590 "style=" vertical-align:top; "alt=" dcaaaaaaaaaa&bo=tgjyaaaaaaafadc! "/>
650) this.width=650; "height=" 203 "src=" http://b37.photo.store.qq.com/psb?/7eb3467d-cf1a-4b07-bc88-7bfb13d3fff0/ u02yswzsxmztc5p7qw98iuw*y7zufvbjuly*yvs3trg!/b/dcuaaaaaaaaa&bo=ballaaaaaaafaiy! "width=" 620 "style=" vertical-align:top; "alt=" dcuaaaaaaaaa&bo=ballaaaaaaafaiy! "/>
Keep a little bit of knowledge, eh?

This article from "Product small stream, into Jianghai" blog, please be sure to keep this source http://goodjoe.blog.51cto.com/9173556/1664414

CentOS 7 mount Windows shared directory

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.