日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

文件共享服务器第二部,第二章-构建Samba文件共享服务器.docx

發(fā)布時(shí)間:2023/12/4 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 文件共享服务器第二部,第二章-构建Samba文件共享服务器.docx 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

洛陽(yáng)鴻卓國(guó)際IT

洛陽(yáng)鴻卓國(guó)際IT教育培訓(xùn)中心

姓名: 梁冬輝

時(shí)間:2012

章實(shí)驗(yàn)報(bào)告

所在班級(jí): T1181

月16

實(shí) 驗(yàn) 任 務(wù)

Linux服務(wù)器版系統(tǒng)的地址為

Win dows系統(tǒng)的地址為

網(wǎng)絡(luò)拓?fù)?/p>

檢查smb服務(wù)消息是否安裝

[rootocaThOSt /]# cd /unt/Asianux/RPMS/

i root^Iocalhostrpir *qa | grep samba

sanb3*client*;3.O.;33-3.28.O,l,AX£3

sanb3*3,0,33*5.28,0,l.AXS3 sanba*coiii[non*5.0.;33-3.28.0,1, AXS3

安裝

詳 細(xì) 實(shí) 驗(yàn) 步 驟

[root^localhost /]#[wi /etE/yum.rgpos.d/Emignux.repo〕 (root@Tocalhost /]l# lyum Lnstall samba-clien甘 tore

core/primary

core

Setting

Package

ion

Nothinq

1.3 kB

555 kB

00:00

00:00

1457/1457

up Install FrocesE

samba-client-3.0.33-3,,. 28.0.1 .AXS3.1366 already installed and

latest vers

to do

倉(cāng)U建 public、devel、training

[rool^lacalhost share]# nkdir training

[rool^Tocalhost share]# nkdir devel

[rool^locaThost share!# Is

devel public traininq

設(shè)置為匿名訪問(wèn)

Security can be set to user, sharet de predated I or pervert deprecated)

Backend to store user infornalion in. New installations should use either tdbsani or Idap呂am. snibpasswd is available for backwards 匚onpatibility, tdbsam requires ro further configuration,

security = share| passdb baickend = tdbsam

設(shè)置用戶名及密碼登陸的訪問(wèn)

Security can be set to user. share(deprecated) our server!deprecated)

Backend to store user information in. New installations should use either tdbsam or Tdapsam, smbpa芻swd is aw日ilable for backward芻 compatibility, tdbsam requires no further configuration.

security = user passdb backend 二 tdbsam

設(shè)置共享文件的名稱(chēng)、路徑、權(quán)限、

[public]path=/var/sh3re/public read only二yes publ.ic=ye£[peixun]path=/var/share/lraining valid user=admin,^j

[public]

path=/var/sh3re/public read only二yes publ.ic=ye£

[peixun]

path=/var/share/lraining valid user=admin,^jishu

[kaiful

pa th =/var/share/devel read user=Ojishu write list=admin.^benet directory iiask=0700 Sreste mask=0600

更改文件的權(quán)限

Iroot^Xocalhost (root^Xocalhost [root^localhost

share]# share]# share]#

chmod 1777 chmod 1777

Ts

devel training

devel public training [root^localhost share]# 總計(jì)24 drwxr-xr-x dr>/xr-xr-x drvxrwj^rwt dxrwEt drvxrwxfvt

Is -al

5

23

2

2

2

root root root roo

總結(jié)

以上是生活随笔為你收集整理的文件共享服务器第二部,第二章-构建Samba文件共享服务器.docx的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。