ubuntu和windows系统的文件共享

ubuntu和windows系统的文件共享

ID:34726550

大小:365.01 KB

页数:7页

时间:2019-03-10

ubuntu和windows系统的文件共享_第1页
ubuntu和windows系统的文件共享_第2页
ubuntu和windows系统的文件共享_第3页
ubuntu和windows系统的文件共享_第4页
ubuntu和windows系统的文件共享_第5页
资源描述:

《ubuntu和windows系统的文件共享》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、Ubuntu和windows进行文件共享方式一通过samba服务共享设置打开终端依次输入命令安装Sudoapt-getinstallsambaSudoapt-getinstallsmbfsUbuntu下文件的共享1配置samba服务的方式共享打开终端输入一下修改smb.conf文件#ShareTest[share]comment=LinuxSharepath=/forlinxpublic=yeswriteable=nobrowseable=yesguestok=yes修改完成以后重新启动服务sudo/etc/init.d/smbdrestart启动成功后提示smbdstart/running

2、,process3527查看本机的ip地址ifconfigeth0Linkencap:以太网硬件地址00:0c:29:bb:27:4dinet地址:192.168.218.138广播:192.168.218.255掩码:255.255.255.0inet6地址:fe80::20c:29ff:febb:274d/64Scope:Link通过ifconfig命令我们看到我的ip地址是192.168.218.138在wondows中输入就可以打开共享了方式二-通过vsftpd的方式在终端中输入sudoapt-getinstallvsftpd按章vsftpd软件修改文件sudogedit/etc/v

3、sftpd.conf如下的格式#Exampleconfigfile/etc/vsftpd.conf##Thedefaultcompiledinsettingsarefairlyparanoid.Thissamplefile#loosensthingsupabit,tomaketheftpdaemonmoreusable.#Pleaseseevsftpd.conf.5forallcompiledindefaults.##READTHIS:ThisexamplefileisNOTanexhaustivelistofvsftpdoptions.#Pleasereadthevsftpd.conf.5

4、manualpagetogetafullideaofvsftpd's#capabilities.###Runstandalone?vsftpdcanruneitherfromaninetdorasastandalone#daemonstartedfromaninitscript.listen=YES##RunstandalonewithIPv6?#Likethelistenparameter,exceptvsftpdwilllistenonanIPv6socket#insteadofanIPv4one.Thisparameterandthelistenparameteraremutually

5、#exclusive.#listen_ipv6=YES##AllowanonymousFTP?(Disabledbydefault)anonymous_enable=NO##Uncommentthistoallowlocaluserstologin.local_enable=YES##UncommentthistoenableanyformofFTPwritecommand.write_enable=YES##Defaultumaskforlocalusersis077.Youmaywishtochangethisto022,#ifyourusersexpectthat(022isusedb

6、ymostotherftpd's)#local_umask=022##UncommentthistoallowtheanonymousFTPusertouploadfiles.Thisonly#hasaneffectiftheaboveglobalwriteenableisactivated.Also,youwill#obviouslyneedtocreateadirectorywritablebytheFTPuser.#anon_upload_enable=YES##UncommentthisifyouwanttheanonymousFTPusertobeabletocreate#newd

7、irectories.#anon_mkdir_write_enable=YES##Activatedirectorymessages-messagesgiventoremoteuserswhenthey#gointoacertaindirectory.dirmessage_enable=YES##Ifenabled,vsftpdwilldisplaydirectorylistingswiththetime#i

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。