{"id":196,"title":"windows\u4e0b\u8fde\u63a5linux\u4e0e\u6587\u4ef6\u4f20\u8f93","good":0,"bad":0,"hit":2171,"created_at":"2016-02-26 20:40:34","content":"

\u5176\u5b9e\u73b0\u5728samba\u5df2\u7ecf\u6709\u70b9\u8fc7\u65f6\u4e86\uff0c\u5728window\u4e0b\u88c5\u4e2assh\u5c31\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u7684\u8fde\u63a5linux\u670d\u52a1\u5668\uff0c\u5e76\u4e14\u53ef\u4ee5\u8fdb\u884c\u6587\u4ef6\u7684\u4e0a\u4f20\u4e0e\u4e0b\u8f7d\uff08\u8fd9\u751a\u81f3\u53ef\u4ee5\u66ff\u6362ftp\u5de5\u4f5c\uff09\uff0c\u9996\u5148\u5f97\u4fdd\u8bc1\u7f51\u7edc\u80fd\u8fde\u63a5\u4e0a\uff1b<\/p>

SSH Secure Shell\u8fd9\u91cc\u6709\u4e0b\u8f7d\u7684\uff1ahttp:\/\/www.onlinedown.net\/softdown\/20089_2.htm<\/a><\/p>

\u5b89\u88c5\u5c31\u662f\u4e00\u8defnext\u4e0b\u53bb\uff0c\u53e6\u5916\u8fd8\u6709\u53ebputy\u3001winscp\u7b49\u8fde\u63a5linux\u7684\u8f6f\u4ef6\uff0c\u4e0d\u8fc7\u611f\u89c9\u6700\u597d\u7528\u7684\u8fd8\u662f\u4e0a\u9762SSH Secure Shell\uff1b<\/p>

<\/p>

<\/p>

\u5148\u8981\u4fdd\u8bc1\u4e24\u4e2a\u673a\u5668\u80fdping\u5f97\u901a\uff0c<\/p>

\u5982\u679c\u4e0d\u901a\uff0c\u5148\u770b\u8fd9\u91cc\u641e\u901a\u7f51\u7edc\u914d\u7f6e\uff1ahttp:\/\/www.hu-rong.com\/Article\/view\/id\/215.html<\/a>  <\/p>

\u7136\u540e\u68c0\u67e5\u673a\u5668\u4e0a\u662f\u5426\u5df2\u5b89\u88c5\u4e86samba<\/p>

[hurong@localhost E]$ rpm -q sambapackage samba is not installed[hurong@localhost E]$ \u5f53\u524d\u68c0\u67e5\u6ca1\u6709\u5b89\u88c5\u8fc7\uff0c\u5982\u679c\u6709\u5148\u5378\u8f7d\uff0c\u547d\u4ee4\u4e3a\uff1arpm -e samba\u5305\u540d\uff0c<\/p>

rpm\u5305\u7ba1\u7406\u8be6\u7ec6\u770b\u8fd9\u91cc\uff1ahttp:\/\/www.hu-rong.com\/Article\/view\/id\/216.html<\/a>  <\/p>

<\/p>

\u672c\u6765\u60f3\u641erpm\u5305\u5b89\u88c5\u7684\uff0c\u53d1\u73b0\u597d\u591a\u4f9d\u8d56\u7684\u5305\u6ca1\u6709\u88c5\uff0c\u76f4\u63a5\u7528\uff1a<\/p>

yum install samba<\/p>

\u901a\u8fc7\u7f51\u7edc\u5728\u7ebf\u5b89\u88c5\u4e86<\/p>

<\/p>

\u5b89\u88c5\u597d\u540e\uff0c\u9996\u5148\u8981\u8bbe\u7f6e\u865a\u62df\u673a\u7684\u7f51\u7edc\u9002\u914d\u5668\u4e3a\u81ea\u5b9a\u4e49\uff0c\u9009vmnet8(nat)<\/p>

\u4e5f\u6709\u53ef\u80fd\u662f\u5176\u5b83\u7684\uff0c\u4e3b\u8981\u770b\u4f60linux\u7cfb\u7edf\u4e0b\u7684ip\u4e0ewindows\u4e0bipconfig\u67e5\u770b\u7684\u54ea\u4e2a\u865a\u62df\u7f51\u5361\u5904\u4e8e\u540c\u4e00\u4e2a\u7f51\u6bb5\u51b3\u5b9a<\/p>

<\/p>

\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5c06linux\u7cfb\u7edf\u4e0b\u7684\u6240\u6709\u7528\u6237\u6dfb\u52a0\u4e3asamba\u7528\u6237<\/p>

[root@localhost hurong]# cat \/etc\/passwd | mksmbpasswd.sh > \/etc\/samba\/smbpasswd\u5982\u679c\u8981\u7ed9\u67d0\u7528\u6237\u8bbe\u7f6esamba\u7684\u5bc6\u7801\uff0c\u5982\u4e0b\uff1a<\/p>

[root@localhost hurong]# smbpasswd hurongNew SMB password:Retype new SMB password:Failed to find entry for user hurong.\u5982\u679c\u62a5\u8fd9\u4e2a\u9519\u8bef\uff0c\u52a0\u4e2a-a[root@localhost hurong]# smbpasswd -a hurongNew SMB password:Retype new SMB password:Added user hurong.<\/p>

<\/p>

\u542f\u52a8samba\u670d\u52a1\uff1a<\/p>

service smb start<\/p>

<\/p>

\u7136\u540e\u5728window\u4e0b\uff0c\u5f00\u59cb\uff0c\u8fd0\u884clinux\u7684ip\u5373\u53ef\u8fde\u63a5\u5230linux\u7684samba\u5171\u4eab<\/p>

\u4f46\u662f\u6211\u8fd9\u5728win7\u4e0b\u8fde\u63a5\u4e0d\u4e0a\uff0c\u4e0d\u77e5\u9053\u662f\u4e0d\u662fwin7\u7684\u5bb6\u5ead\u7248\u88ab\u9609\u5272\u7684\u539f\u56e0<\/p>

\u53c2\u8003\u8fd9\u91cc\u7684\u89e3\u51b3\u6587\u7ae0\u8bd5\u8bd5\uff1ahttp:\/\/blog.sina.com.cn\/s\/blog_7be8620d0100u9ha.html<\/a><\/p>

<\/p>

\u5176\u5b83\u8bbe\u7f6e<\/p>

<\/p>

<\/p>

<\/p>"}