欢迎来到天天文库
浏览记录
ID:34618925
大小:319.02 KB
页数:7页
时间:2019-03-08
《ubuntu和windows系统资料共享》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Ubuntu和windows进行文件共享方式一通过samba服务共享设置打开终端依次输入命令安装Sudoapt-getinstallsambaSudoapt-getinstallsmbfsUbuntu下文件的共享1配置samba服务的方式共享打开终端输入一下修改smb.conf文件#ShareTest[share]7/7comment=LinuxSharepath=/forlinxpublic=yeswriteable=nobrowseable=yesguestok=yes修改完成以后重新启动服务sudo/etc/init.d/smbdrestart启动成功后提示smbdsta
2、rt/running,process3527查看本机的ip地址ifconfigeth0Linkencap:以太网硬件地址00:0c:29:bb:27:4dinet地址:192.168.218.138广播:192.168.218.255掩码:255.255.255.0矚慫润厲钐瘗睞枥庑赖。inet6地址:fe80::20c:29ff:febb:274d/64Scope:Link通过ifconfig命令我们看到我的ip地址是192.168.218.138在wondows中输入就可以打开共享了7/7方式二-通过vsftpd的方式在终端中输入sudoapt-getinstallvsft
3、pd按章vsftpd软件修改文件sudogedit/etc/vsftpd.conf如下的格式#Exampleconfigfile/etc/vsftpd.conf##Thedefaultcompiledinsettingsarefairlyparanoid.Thissamplefile聞創沟燴鐺險爱氇谴净。#loosensthingsupabit,tomaketheftpdaemonmoreusable.残骛楼諍锩瀨濟溆塹籟。#Pleaseseevsftpd.conf.5forallcompiledindefaults.酽锕极額閉镇桧猪訣锥。##READTHIS:Thisexam
4、plefileisNOTanexhaustivelistofvsftpdoptions.彈贸摄尔霁毙攬砖卤庑。#Pleasereadthevsftpd.conf.5manualpagetogetafullideaofvsftpd's謀荞抟箧飆鐸怼类蒋薔。#capabilities.###Runstandalone?vsftpdcanruneitherfromaninetdorasastandalone厦礴恳蹒骈時盡继價骚。#daemonstartedfromaninitscript.listen=YES##RunstandalonewithIPv6?#Likethelisten
5、parameter,exceptvsftpdwilllistenonanIPv6socket茕桢广鳓鯡选块网羈泪。#insteadofanIPv4one.Thisparameterandthelistenparameteraremutually鹅娅尽損鹌惨歷茏鴛賴。#exclusive.#listen_ipv6=YES##AllowanonymousFTP?(Disabledbydefault)anonymous_enable=NO##Uncommentthistoallowlocaluserstologin.local_enable=YES##Uncommentthistoe
6、nableanyformofFTPwritecommand.籟丛妈羥为贍偾蛏练淨。write_enable=YES##Defaultumaskforlocalusersis077.Youmaywishtochangethisto022,預頌圣鉉儐歲龈讶骅籴。#ifyourusersexpectthat(022isusedbymostotherftpd's)渗釤呛俨匀谔鱉调硯錦。#local_umask=022##UncommentthistoallowtheanonymousFTPusertouploadfiles.Thisonly铙誅卧泻噦圣骋贶頂廡。#hasaneffect
7、iftheaboveglobalwriteenableisactivated.Also,youwill擁締凤袜备訊顎轮烂蔷。#obviouslyneedtocreateadirectorywritablebytheFTPuser.贓熱俣阃歲匱阊邺镓騷。#anon_upload_enable=YES##UncommentthisifyouwanttheanonymousFTPusertobeabletocreate坛摶乡囂忏蒌鍥铃氈淚。#newdirectories.#anon_mkdir_w
此文档下载收益归作者所有