欢迎来到天天文库
浏览记录
ID:44529686
大小:555.66 KB
页数:12页
时间:2019-10-23
《清华高网机试考试》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、清华高网考试Samba服务1.卖验环境:真实机windows2003系统和虚拟机linux9.0系统以及linux9.0系统4张安装镜像光盘,拓扑如下:2.卖验目的使用samba共享用户认证和文件系统。首先要确保主机防火墙上的所有包已被关闭:将数据包过滤设定为无效状态—chkconfigiptablesoff,然后将防火墙中的所有规则给去掉,serviceiptablesstop。[OKJ[OKJ[OKJ[rootOlocalhost/1#chkconfigiptablesoff[rolocalhost/1#serviceiptablesst
2、opFlushingfirewa11rules:tingchainstopolicyACCEPT:filterUnloadingiptab1巳smoduIes:[root@localhost/J#servicesmbrestertShuttingdownSMBservices:[OK]ShuttingdownNMBservices:[OK]StartingSMBservices:[OK]StartingNMBservices:[OK]3.卖验要求:一、Samba的用户连接的配置。任务:1.安装sambasamba-common和samba-c
3、lientRPM软件包并启动sain服务。(1)由下图可以看出,本机上未安装samba的rpm包。[root/〕#rpm一qaIgrepsamba[roott?localhost/1#(2)smb服务也不可以启动,首挂载Linux9.0第二张光盘。[roloceilhost/]#servicesmbrestartsmb:unrecognizedservice[roloceilhost/]#mount/dz/cdromudf:rggistaringfilwsystgm⑶然后进入到指定目录开始安装samba.如下图所示,先安装“samba—com
4、mon—3・0.0一14・3E・i386・rpm”,再安装"samba-client-3.0.0-14.3E.i386.rpm”.LrootPlocalhostRPMSJttrpm-iuhsamba-common-3・0.0-14・3E・i386・rpmwarning:samba-common-3・B・0-14・3E•i386.rpm:U3DSAsignature:NOKEY,keyIDdb4Za60ePreparing.・・[100x11:samba-commonttttttttttttttitnttttnttttttttttttttttt
5、tttttttttttttttttttttnttttttttttttltttnittt[100X1[root@localhostBPMSJttrpm-ivhsamba-client-3.0.0-14.3E.i386.rpmwarning:samba-c1ient-3・0・0-14・3E・i386.rpm:U3DSAsignature:NOKEY,keyIDdb4Za60ePreparing.・•tttttttttttttttttttttttttttttttttttttttnttttttttttttttttttttttttttttttttttt
6、tttttttttt[100z]1:samba-client[100Z][rootPlocalhostRPMSIttpwd/mnt/cdrom/REdHat/RPMS(4)安装完成后,卸载Linux9.0的第二张光盘,插入Linux9.0第三张光盘并挂载。[root@localhost/Jttumount/deu/cdrom[root@Iocqlhost/]#mount/deu/cdromLrootl?1oca1host/]#cd-/mnt/cdrom/RedHat/RPMS[rootPlocalhostRPMSJttrpm-iuhsamba
7、-3・0.0-14.3E.i386.rpmearning:samba-3.0.0-14.3E.i386.rpm:U3DSAsignature:MOKEY,keyIDdb4Za60ePreparing...tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt##[100z]1:samba[100X1(5)进入到指定目录后,再安装"samba-3.0.0-14.3E.i386.rpm^。不安装这个包,samba服务是启动不了的。[roo
8、t@Iocqlhost/]#umount/dEV/cdrom[rootPlocalhost/]#mount/deu/cdrom[rootPlocalhost/]tt
此文档下载收益归作者所有