- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
快速搭建samba服务器(Build Samba server quickly)
快速搭建samba服务器(Build Samba server quickly)
Build Samba server quickly
1. testing installation of Samba services
(1) check that the Samba service package is installed:
RPM -qa grep Samba |
(2) if not installed, insert the first installation disk and execute:
Mount /mnt/cdrom
CD /cdrom/Redhat/RPMS
(3) install the Samba file after entering the directory:
Note: shipped Samba requires at least three files, respectively:
Samba-common-2.2.7a-7.9.0.i386.rpm / / both the server and the client need to file
Samba-2.2.7a-7.9.0.i386.rpm / / server file
Samba-client-2.27a-7.9.0.i386.rpm / / client files
Install the above 3 files
RPM -ivh Samba-common-2.2.7a-7.9.0.i386.rpm / / two also omit
(4) eject the drive after the installation is complete:
CD; eject
2. set the password file
(1) this setting is used to import the system user (/etc/passwd) in the Linux into the Samba password file
(/etc/Samba/smbpasswd)
Cat /etc/passwd | mksmbpasswd.sh /etc/Samba/smbpasswd
(2) next, set access rights to files and folders such as smbpasswd
Chown root.root /etc/Samba/smbpasswd
Chmod 600, /etc/Samba/smbpasswd
Chmod 600, /etc/Samba
Check it out:
Ll -d Samba
(3) if you want to add a user manually, you must first ensure that the user exists in the Linux:
Useradd Liu
Passwd Liu
Smbpasswd -a Liu / / this step is to add Samba users
3. configure the /etc/Samba/smb.conf file
Although the content of the document is large, there is not much to be changed:
(1) modify the [global] (global configuration parameter)
Workgroup = workgroup / working group.
Server string = Samba server%v at%h / / set the server name.%v version number%h is running
The hostname of the SMB service
Host allow = 192.168.80. 192.168.70. / / allow access to the host server
Client code page = 939 / / support simplified Chinese sharename
The above four are more important. Other configurations can be modified as needed
(2) create a shared folder
Since there are many kinds of user access (read, write, execute), and there are many kinds of vis
您可能关注的文档
- 对中国高速公路景观的思考(Thoughts on the landscape of Chinese expressways).doc
- 对仲裁中财产保全案件的一点认识(A brief understanding of property preservation cases in arbitration).doc
- 对体育实用人工智能的展望(Prospects for practical artificial intelligence in sports).doc
- 对企业影响(Impact on business).doc
- 对信息技术课堂教学导入有效性的实践与思考(Practice and Reflection on the effectiveness of introducing information technology into classroom teaching).doc
- 家长寄语通用版(Parents to universal Edition).doc
- 对口高考c语言程序改错试题(With the university entrance exam of C language program proofreading test).doc
- 对外经济管理《自考》(Foreign economic management self examination).doc
- 对外经济管理概论复习资料(Introduction to foreign economic management review).doc
- 对市规模企业人才队伍情况的调查与思考(Investigation and Reflection on the personnel team of city scale enterprises).doc
- 成都大学仪器设备维修管理办法(Measures for the maintenance and administration of instrument and equipment of Chengdu University).doc
- 成都市天之韵策划案(Chengdu Tian Yun planning case).doc
- 成长、成才、成功(Growth, success, success).doc
- 成龙回应捐古建筑给新加坡 不做对不起民族的事(Jackie Chan responded to the donation of ancient architecture to Singapore without doing sorry for the nation).doc
- 户外出游着装讲究(Dress well in outdoor outings).doc
- 房事国是世界事(Sex country is the world thing).doc
- 房价问题(House price problem).doc
- 房地产企业三大清算与企业重组的纳税操作技巧(Tax payment skills of three major liquidation and enterprise reorganization of real estate enterprises).doc
- 房地产及建筑法规-时间表(Real estate and building code - Schedule).doc
- 房地产全程策划方案的撰写((Writing of whole estate planning scheme).doc
文档评论(0)