Yog tias koj xav tau los ua haujlwm nrog cov ntawv qub ntawm lub khoos phis tawj sib txawv ntawm kev ua haujlwm txawv, Samba yuav pab koj txog qhov no. Tab sis teeb tsa cov folders qhia rau koj tus kheej tsis yooj yim li, thiab rau cov neeg siv dog dig txoj haujlwm no tsis yooj yim sua. Kab lus no yuav qhia koj yuav ua li cas rau configure Samba hauv Ubuntu.
Nyeem kuj:
Yuav ua li cas rau nruab Ubuntu
Yuav teeb teeb tsa siv internet li cas rau hauv Ubuntu
Dav Dav Hlau
Kev Siv "Chaw Nres Tsheb" nyob rau hauv Ubuntu, koj tuaj yeem ua txhua yam koj nyiam; raws li, koj kuj tuaj yeem tsim Samba. Rau kev yooj yim ntawm kev nkag siab, tag nrho cov txheej txheem yuav muab faib ua theem. Peb txoj hauv kev teeb tsa cov ntawv tais ceev tseg yuav nthuav tawm hauv qab no: nrog sib qhia nkag (txhua tus neeg siv tuaj yeem qhib nplaub tshev tsis tas nug tus password), nrog kev nkag mus nyeem nkaus xwb thiab nrog kev lees paub.
Kauj ruam 1: Npaj Windows
Ua ntej koj txhim kho Samba hauv Ubuntu, koj yuav tsum npaj koj lub Windows operating system. Yuav kom ntseeg tau tias kev ua haujlwm raug, nws yog ib qho tsim nyog kom txhua qhov kev koom tes nrog tib pab pawg ua haujlwm, uas tau teev nyob hauv Samba nws tus kheej Los ntawm lub neej ntawd, ntawm txhua txoj haujlwm ua haujlwm, pawg neeg hu ua haujlwm "WORKGROUP"Cov. Txhawm rau txiav txim siab pab pawg tshwj xeeb uas siv hauv Windows, koj yuav tsum siv "Kab hais kom ua".
- Nias luv Yeej + r thiab hauv popup Khiav sau hais kom ua
cmd
. - Hauv qhib Kab hais kom ua khiav lub nram qab no hais kom ua:
net config workstation
Lub npe ntawm pawg neeg koj xav tau yog nyob ntawm kab Chaw Haujlwm Ua HaujlwmCov. Koj tuaj yeem pom thaj chaw tshwj xeeb hauv daim duab saum toj no.
Ntxiv mus, yog tias nyob hauv computer nrog Ubuntu tus IP zoo li qub, nws yuav tsum tau rau npe "hosts" ntawm qhov rais. Qhov yooj yim ua qhov no yog siv Kab hais kom ua nrog cov thawj coj cov cai:
- Tshawb nrhiav cov kab ke nrog cov lus nug Kab hais kom ua.
- Hauv kev tshwm sim, nyem rau ntawm Kab hais kom ua txoj cai-nyem (RMB) thiab xaiv "Khiav raws li tus tswj hwm".
- Hauv qhov rai uas qhib, ua cov hauv qab no:
notepad C: Windows System32 tsav tsheb etc hom
- Hauv cov ntawv uas qhib tom qab qhov kev txiav txim tiav, sau koj tus IP chaw nyob hauv kab sib cais.
Saib ntxiv: Cov Lus Qhia Siv Uas Nrov Ntau Ntawm Cov Lus Qhia Hauv Windows 7
Tom qab ntawd, kev npaj ntawm Windows tuaj yeem pom tias ua tiav. Tag nrho cov kauj ruam tom ntej yog ua rau lub khoos phis tawm ua haujlwm ntawm lub operating system Ubuntu.
Saum toj no tsuas yog ib qho piv txwv ntawm kev pom. "Kab hais kom ua" hauv Windows 7, yog tias vim li cas koj tsis tuaj yeem qhib nws lossis koj muaj qhov hloov tshiab ntawm kev ua haujlwm, peb xav kom koj nyeem cov lus qhia ntxaws ntawm peb lub vev xaib.
Ntxiv:
Qhib Cov Lus Qhia Kom Ua Sai nyob rau hauv Windows 7
Qhib Kev Hais Kom Ua Sai nyob rau hauv Windows 8
Qhib Kev Hais Kom Ua Sai nyob rau hauv Windows 10
Kauj ruam 2: Kho Samba Server
Kev teeb tsa Samba yog cov txheej txheem siv sijhawm ntau, yog li ua tib zoo ua raws txhua kis ntawm cov lus qhia kom thaum kawg txhua yam ua haujlwm raug.
- Nruab txhua cov pob software tsim nyog uas xav tau rau Samba ua haujlwm kom raug. Rau qhov no hauv "Chaw Nres Tsheb" khiav qhov hais kom ua:
sudo apt-tau nruab -y samba python-glade2
- Tam sim no lub system muaj tag nrho cov tsim nyog Cheebtsam los kho qhov program. Thawj kauj ruam yog rov thaub qab cov ntaub ntawv configuration. Koj tuaj yeem ua qhov no nrog cov lus txib no:
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
Tam sim no, yog tias muaj kev nyuaj, koj tuaj yeem xa rov qab mus rau qhov qub pom ntawm cov ntaub ntawv teeb tsa "smb.conf"los ntawm kev ua:
sudo mv /etc/samba/smb.conf.bak /etc/samba/smb.conf
- Tom ntej no, tsim qhov tshiab ntawv config:
sudo gedit /etc/samba/smb.conf
Nco tseg: los tsim thiab cuam tshuam nrog cov ntaub ntawv, tsab xov xwm siv cov Gedit text editor, tab sis koj tuaj yeem siv lwm tus kws kho ntawv los ntawm sau nws lub npe hauv cov ntu ntawm cov lus txib.
- Tom qab cov kauj ruam saum toj no, ib daim ntawv sau khoob yuav qhib, koj yuav tsum luam cov kab hauv qab no rau hauv nws, thiaj li teeb tsa thoob ntiaj teb rau Sumba server:
[thoob ntiaj teb]
pawg ua haujlwm = UA HAUJ LWM
netbios npe = rooj vag
server string =% h server (Samba, Ubuntu)
dns proxy = muaj
log file = /var/log/samba/log.%m
max qhov loj me = 1000
daim ntawv qhia rau cov qhua = tus neeg siv tsis zoo
usershare pub qhua = yog - Txuag cov kev hloov pauv mus rau cov ntawv los ntawm nias lub khawm coj.
Saib ntxiv: Cov Ntawv Hloov Cov Ntawv Muaj Suab rau Linux
Saib ntxiv mus: Yuav tsim cov ntaub ntawv lossis rho tawm cov ntaub ntawv ntawm Linux li cas
Tom qab ntawd, thawj kev teeb tsa ntawm Samba tiav. Yog tias koj xav nkag siab txhua yam txwv tsis pub, tom qab ntawd koj tuaj yeem ua qhov no rau ntawm lub xaib no. Txhawm rau kom pom cov parameter ntawm kev txaus siab, nthuav cov npe ntawm sab laug "smb.conf" thiab nrhiav nws nyob ntawd los ntawm xaiv thawj tsab ntawv ntawm lub npe.
Ntxiv nrog rau cov ntaub ntawv "smb.conf", hloov yuav tsum ua "limits.conf"Cov. Ua li no:
- Qhib cov ntaub ntawv xav tau nyob hauv cov ntawv xov xwm:
sudo gedit /etc/security/limits.conf
- Ntxig cov ntawv sau hauv qab no ua ntej kab kawg hauv kab ntawv:
* - nofile 16384
hauv paus - nofile 16384 - Txuag cov ntaub ntawv.
Raws li qhov tshwm sim, nws yuav tsum muaj daim ntawv hauv qab no:
Qhov no yog qhov tsim nyog kom tsis txhob muaj qhov ua yuam kev uas tshwm sim thaum ntau tus neeg siv sib txuas rau lub zos network hauv tib lub sijhawm.
Tam sim no, kom paub tseeb tias cov kev nkag mus tsis raug, koj yuav tsum khiav qhov hais kom ua:
sudo testparm /etc/samba/smb.conf
Yog tias vim li ntawd koj pom cov ntawv uas tau qhia hauv daim duab hauv qab no, tom qab ntawd tag nrho cov ntaub ntawv koj nkag mus raug.
Nws tseem nyob kom rov ua dua rau Samba server nrog qhov kev qhia nram qab no:
sudo /etc/init.d/samba rov qab
Muaj kev soj ntsuam nrog txhua cov ntaub ntawv hloov tau "smb.conf" thiab hloov pauv mus rau "limits.conf", koj tuaj yeem mus ncaj qha rau kev tsim cov ntawv tais ceev tseg
Saib ntxiv: Cov Lus Qhia Uas Siv Ntau Dhau Hauv Linux Terminal
Kauj ruam 3: Tsim qhov Shared Folder
Raws li tau hais los saum toj no, thaum lub sijhawm kawm hauv tsab xov xwm, peb yuav tsim peb lub phij xab nrog cov cai sib txawv. Tam sim no peb yuav ua kom pom yuav ua li cas los tsim cov ntawv qhia sib qhia kom txhua tus neeg siv tau siv nws yam tsis muaj kev txheeb xyuas tseeb.
- Txhawm rau pib, tsim daim nplaub tshev nws tus kheej. Koj tuaj yeem ua qhov no hauv cov ntawv qhia chaw, hauv qhov piv txwv nplaub tshev yuav nyob ntawm txoj kev "/ tsev / sambafolder /", thiab hu ua - "qhia tawm"Cov. Ntawm no yog cov lus txib koj yuav tsum tau ua rau qhov no:
sudo mkdir -p / tsev / sambafolder / share
- Tam sim no hloov cov kev tso cai ntawm daim nplaub tshev kom txhua tus neeg siv tuaj yeem qhib nws thiab cuam tshuam nrog cov ntaub ntawv txuas nrog. Qhov no yog ua nrog rau cov lus txib hauv qab no:
sudo chmod 777 -R / tsev / sambafolder / share
Thov nco tseg: qhov lus txib yuav tsum qhia kom meej txoj hauv kev rau daim nplaub tshev yav dhau los tsim.
- Nws tseem nyob los piav qhia txog daim nplaub tshev tsim nyob rau hauv Samba cov ntaub ntawv teeb tsa. Thawj zaug qhib nws:
sudo gedit /etc/samba/smb.conf
Tam sim no nyob rau hauv cov ntawv nyeem cov ntawv nyeem, thaub qab ob kab rau hauv qab ntawm kab ntawv, muab tshuaj rau cov hauv qab no:
[Qhia tawm]
tawm tswv yim = Cov Qhia Tag Nrho
txoj kev = / tsev / sambafolder / qhia tawm
qhua ok = muaj
cuab lug = yog
sau tawm = yog
nyeem xwb = tsis muaj
quab yuam neeg siv = tus neeg siv
yuam pawg = cov neeg siv - Txuag cov kev hloov pauv thiab kaw lub editor.
Tam sim no tus txheem ntawm cov ntaub ntawv teeb tsa yuav tsum zoo li no:
Rau txhua qhov kev hloov pauv kom mus ua haujlwm, koj yuav tsum rov pib dua Samba. Qhov no yog ua los ntawm cov lus qhia kom zoo:
sudo kev pab smbd pib dua
Tom qab ntawv, cov tsim tsim txheej yuav tsum tshwm nyob rau ntawm Windows. Txhawm rau soj ntsuam qhov no, ua Kab hais kom ua Cov hauv qab no:
rooj vag qhia tawm
Koj tuaj yeem tuaj yeem qhib nws hauv Explorer, los ntawm kev mus rau hauv phau ntawv "Network"uas tau muab tso rau ntawm sidebar ntawm lub qhov rais.
Nws tshwm sim uas daim nplaub tshev tseem tsis pom. Feem ntau cov yuav, yog vim li cas rau qhov no yog ib qho teeb meem configuration. Yog li ntawd, ib zaug ntxiv koj yuav tsum mus dhau tag nrho cov theem saum toj no.
Kauj Ruam 4: Tsim Daim Ntawv Xaiv Tsuas Luam
Yog tias koj xav kom cov neeg siv tau tuaj yeem saib cov ntaub ntawv hauv lub network hauv zos tab sis tsis kho lawv, koj yuav tsum tsim cov ntawv tais ceev tseg nrog kev nkag mus Nyeem TsuasCov. Qhov no yog ua los ntawm cov lus sib piv nrog cov nplaub tshev sib koom, tsuas yog lwm qhov tsis xws luag tau teev tseg hauv cov ntaub ntawv teeb tsa. Tab sis yog li kom tsis muaj cov lus nug tsis tsim nyog, peb yuav soj ntsuam txhua yam hauv theem:
Saib ntxiv: Yuav ua li cas thiaj pom qhov loj me ntawm daim nplaub tshev hauv Linux
- Tsim nplaub tshev. Hauv qhov ua piv txwv, nws yuav nyob hauv tib qho chaw "Qhia tawm", tsuas yog lub npe yuav muaj "Nyeem"Cov. Yog li ntawd hauv "Chaw Nres Tsheb" nkag mus:
sudo mkdir -p / tsev / sambafolder / nyeem
- Tam sim no muab nws cov cai tsim nyog los ntawm kev ua:
sudo chmod 777 -R / tsev / sambafolder / nyeem
- Qhib Samba cov ntaub ntawv teeb tsa:
sudo gedit /etc/samba/smb.conf
- Tom kawg ntawm daim ntawv, muab cov ntawv txuas ntxiv no:
[Nyeem]
comment = Tsuas yog Nyeem
txoj kev = / tsev / sambafolder / nyeem
qhua ok = muaj
cuab lug = yog
sau tawm = tsis tau
nyeem xwb = muaj
quab yuam neeg siv = tus neeg siv
yuam pawg = cov neeg siv - Txuag cov kev hloov pauv thiab kaw lub editor.
Raws li qhov tshwm sim, yuav tsum muaj peb ntu ntawv nyob hauv cov ntaub ntawv teeb tsa:
Tam sim no rov qab qhib lub Samba server rau txhua qhov kev hloov pauv kom ua haujlwm:
sudo kev pab smbd pib dua
Tom qab ntawd daim nplaub tshev nrog cov cai Nyeem Tsuas yuav raug tsim, thiab txhua tus neeg siv yuav nkag mus rau hauv nws, tab sis yuav tsis tuaj yeem hloov kho cov ntaub ntawv uas muaj nyob hauv nws txhua txoj kev.
Kauj ruam 5: tsim tus ceev ntawv
Yog tias koj xav kom cov neeg siv tau tuaj yeem qhib lub network nplaub tshev los ntawm kev lees paub, cov kauj ruam tsim nws yog me ntsis txawv ntawm qhov saum toj no. Ua hauv qab no:
- Tsim nplaub tshev e.g. "Pasw":
sudo mkdir -p / tsev / sambafolder / pasw
- Hloov nws txoj cai:
sudo chmod 777 -R / tsev / sambafolder / pasw
- Tam sim no tsim tus neeg siv hauv ib pawg "samba", uas yuav ua rau nrog txhua txoj cai nkag mus rau lub network nplaub tshev. Ua li no, ua ntej tsim pawg "smbuser":
sudo pab pawg smadder
- Ntxiv rau cov pab pawg neeg tsim tshiab. Koj tuaj yeem tuav nws lub npe rau koj tus kheej, hauv qhov piv txwv yuav muaj "xib fwb":
sudo sivradd -g smbuser xibfwb
- Teem tus password uas koj yuav tsum nkag mus los qhib lub nplaub tshev:
sudo smbpasswd -a xib fwb
Nco tseg: tom qab qhov kev txiav txim tiav, koj yuav raug hais kom ntaus ib tus lej zais, thiab tom qab ntawv rov ua nws, nco ntsoov tias cov cim tsis pom thaum nkag.
- Nws tsuas yog yuav tsum nkag mus rau txhua qhov tsim nyog nplaub tshev cov ntaub ntawv rau hauv Samba cov ntaub ntawv teeb tsa. Ua qhov no, ua ntej qhib nws:
sudo gedit /etc/samba/smb.conf
Thiab tom qab ntawv luam cov ntawv no:
[Pasw]
tawm tswv yim = Tsuas yog lo lus zais
txoj kev = / tsev / sambafolder / pasw
siv tau raug = xib fwb
nyeem xwb = tsis muajTseem ceeb: yog tias koj ua tiav nqe plaub ntawm cov lus qhia no, koj tsim tus neeg siv nrog lub npe txawv, tom qab ntawd koj yuav tsum sau nws rau hauv txoj kab "cov neeg siv tau" tom qab cim "=" cim thiab chaw.
- Txuag qhov hloov pauv thiab kaw cov ntawv xov xwm kho.
Cov ntawv nyeem nyob hauv cov ntawv configuration yuav tsum tam sim no zoo li no:
Yuav kom muaj kev nyab xeeb, tshawb xyuas cov ntawv siv cov lus txib:
sudo testparm /etc/samba/smb.conf
Yog li ntawd, koj yuav tsum pom tej yam zoo li no:
Yog tias txhua yam yog ok, rov qab qhib lub neeg rau zaub mov:
sudo /etc/init.d/samba rov qab
System config samba
Lub graphical interface (GUI) tuaj yeem pab cov txheej txheem ntawm kev teeb tsa Samba ntau ntau hauv Ubuntu. Yam tsawg kawg, ib tus neeg siv uas nyuam qhuav hloov mus rau Linux yuav pom qhov txheej txheem no nkag siab dua.
Kauj Ruam 1: Kev Nruab
Thaum pib, koj yuav tsum teeb tsa cov phiaj xwm tshwj xeeb hauv cov kab ke, uas muaj qhov sib tshuam thiab tsim nyog rau kev teeb tsa. Koj tuaj yeem ua nrog qhov no "Chaw Nres Tsheb"los ntawm kev khiav qhov kev hais kom ua:
sudo Apt nruab qhov system-config-samba
Yog tias ua ntej koj tsis tau nruab txhua lub Samba rau hauv koj lub khoos phis tawm, koj yuav tsum rub tawm thiab nruab ib co pob ntxiv nrog nws:
sudo apt-tau nruab -y samba samba-common sej-glade2 system-config-samba
Thaum txhua qhov tsim nyog tau raug teeb tsa, koj tuaj yeem txuas ncaj qha mus rau kev teeb tsa.
Kauj ruam 2: Laij ya
Muaj ob txoj hauv kev los khiav Qhov System Configa Samba: siv "Chaw Nres Tsheb" thiab los ntawm cov zaub mov Bash.
Txoj kev 1: Cov davhlau ya nyob twg
Yog tias koj txiav txim siab siv "Chaw Nres Tsheb"tom qab ntawd koj yuav tsum tau ua cov hauv qab no:
- Nias luv Ctrl + kev + T.
- Ntaus cov nram qab no:
sudo system-config-samba
- Nyem Sau.
Tom ntej no, koj yuav tsum tau nkag mus rau kab ke system, tom qab ntawd qhov program program yuav qhib.
Nco ntsoov: thaum lub sijhawm ua tiav ntawm Samba kev teeb tsa siv System Configa Samba, tsis txhob kaw "Terminal" qhov rai, vim tias qhov no qhov program yuav kaw thiab tag nrho cov kev hloov pauv yuav tsis raug cawm dim.
Txoj Kev 2: Bash Cov Ntawv qhia zaub mov
Qhov txheej txheem thib ob yuav zoo li yooj yim rau ntau yam, vim txhua txoj haujlwm tau ua hauv lub graphical interface.
- Nyem rau lub tshuab raj Bash, uas yog nyob rau sab laug sab saum toj ntawm lub desktop.
- Nkag mus rau cov lus nug tshawb hauv lub qhov rai uas qhib "Samba".
- Nyem rau ntawm qhov kev pab cuam ntawm tib lub npe hauv seem "Ntawv Thov".
Tom qab ntawv, lub kaw lus yuav nug koj txog tus password siv. Nkag mus rau nws thiab qhov kev zov me nyuam yuav qhib.
Kauj ruam 3: Ntxiv Cov neeg siv khoom
Ua ntej koj pib teeb tsa Samba folders ncaj qha, koj yuav tsum ntxiv cov neeg siv khoom. Qhov no yog ua tiav los ntawm cov phiaj xwm tshuab raj.
- Nyem rau ntawm yam khoom "Teeb" nyob rau sab saum toj vaj huam sib luag.
- Hauv daim ntawv qhia zaub mov, xaiv "Cov Neeg Siv Samba".
- Nyob rau hauv lub qhov rai uas tshwm, nyem Ntxiv Neeg Siv.
- Hauv daim ntawv teev nco "Unix username" xaiv tus neeg siv uas yuav raug tso cai mus rau hauv lub nplaub tshev.
- Ntaus koj tus Windows username.
- Sau tus password, thiab tom qab ntawd mam rov xaiv nws hauv qhov chaw uas tsim nyog.
- Nias lub khawm OK.
Txoj kev no koj tuaj yeem ntxiv ib lossis ntau tus neeg siv Samba, thiab txiav txim siab lawv txoj cai yav tom ntej.
Nyeem kuj:
Yuav ua li cas ntxiv cov neeg siv rau ib pab pawg ntawm Linux
Yuav ua li cas thiaj saib cov npe ntawm cov neeg siv ntawm Linux
Kauj ruam 4: teeb neeg rau zaub mov
Tam sim no koj yuav tsum pib teeb tsa koj cov neeg rau zaub mov Samba. Qhov kev txiav txim no yog kev txiav txim ntawm qhov ntau dua tau yooj yim hauv qhov graphical interface. Nov yog qhov koj yuav tsum tau ua:
- Hauv qhov rai program loj, nyem rau ntawm qhov khoom "Teeb" nyob rau sab saum toj vaj huam sib luag.
- Los ntawm cov npe, xaiv kab Cov chaw rau zaub mov.
- Nyob rau hauv lub qhov rai uas tshwm, hauv tab "Main"nkag rau hauv kab "Ua haujlwm pab pawg" Lub npe ntawm cov pab pawg, txhua tus ntawm nws lub khoos phis tawm tuaj yeem txuas rau Samba server.
Nco tseg: raws li tau hais thaum pib ntawm tsab xov xwm, lub npe ntawm cov pab pawg yuav tsum yog tib yam rau txhua tus neeg tuaj koom. Los ntawm lub neej ntawd, txhua lub khoos phis tawm muaj ib pab pawg - "WORKGROUP".
- Ntaus cov lus piav qhia rau pab pawg. Yog tias koj xav tau, koj tuaj yeem tso tawm tus nqi qub, qhov no tsis cuam tshuam dab tsi.
- Mus rau tab "Ruaj Ntseg".
- Txhais tau hom authentication li "Tus Neeg Siv".
- Xaiv los ntawm txoj kev teev cia Nkag Tus lej Password kev xaiv uas koj txaus siab rau.
- Xaiv tus qhua.
- Nyem OK.
Tom qab ntawd, cov neeg rau zaub mov kev teeb tsa yuav ua tiav, koj tuaj yeem mus ncaj qha rau kev tsim cov Samba cov folders.
Kauj ruam 5: Tsim Folders
Yog tias koj tsis tau tsim yav tas los ua cov chaw khaws ntaub ntawv, qhov program program yuav tas. Txhawm rau tsim daim nplaub tshev tshiab, koj yuav tsum tau ua cov hauv qab no:
- Nyem rau tag nrho cov kos npe khawm.
- Hauv qhov rai uas qhib, hauv tab "Main"nyem "Txheej txheem cej luam".
- Hauv tus thawj tswj ntaub ntawv, qhia cov ntawv tais ceev tseg xav qhia rau nws.
- Khij lub thawv nyob ib sab ntawm koj nyiam. "Teev cia" (tus neeg siv yuav raug tso cai los kho cov ntaub ntawv hauv qhov chaw ceev tseg) thiab "Pom" (ntawm lwm lub PC, daim nplaub tshev uas yuav muab ntxiv yuav pom).
- Mus rau hauv lub tab "Nkag Mus".
- Ntawm nws muaj ib txoj hauv kev los txhais tau cov neeg siv uas yuav raug tso cai qhib lub chaw faib tawm. Txhawm rau ua qhov no, khij lub npov nyob ib sab "Muaj kev tso cai nkaus xwb rau cov neeg siv tshwj xeeb"Cov. Tom qab ntawd, koj yuav tsum xaiv lawv los ntawm daim ntawv.
Yog tias koj yuav ua tus tshaj tawm pej xeem, tom qab ntawd muab lub pob nyem rau hauv qhov chaw "Muaj kev nkag tau rau txhua tus".
- Nias lub khawm OK.
Tom qab ntawd, cov ntawv tsim tawm tshiab yuav tshwm nyob rau hauv lub qhov rai program loj.
Yog tias koj xav tau, koj tuaj yeem tsim ob peb kab ntawv ntxiv ntxiv uas siv cov lus qhia saum toj no, lossis hloov cov uas twb tau tsim los ntawm nias lub pob "Hloov cov yam ntxwv ntawm cov ntawv qhia xaiv".
Sai li uas koj tsim txhua daim ntawv tsim nyog, koj tuaj yeem kaw qhov kev zov me nyuam. Qhov no ua tiav cov lus qhia rau kev teeb tsa Samba hauv Ubuntu siv Qhov System Config Samba.
Nautilus
Muaj lwm txoj hauv kev los teeb tsa Samba hauv Ubuntu. Nws yog qhov zoo tagnrho rau cov neeg siv uas tsis xav txhim kho software ntxiv rau lawv lub computer thiab tus uas tsis nyiam siv los siv "Chaw Nres Tsheb"Cov. Txhua lub chaw yuav ua nyob rau hauv tus thawj tswj fwm cov ntaub ntawv Nautilus.
Kauj Ruam 1: Kev Nruab
Siv Nautilus los teeb tsa Samba, txoj kev rau nruab cov program kuj sib txawv me ntsis. Txoj haujlwm no tseem tuaj yeem ua nrog "Chaw Nres Tsheb"raws li tau piav saum toj no, tab sis lwm txoj kev yuav tau tham hauv qab no.
- Qhib Nautilus los ntawm txhaj rau ntawm lub taskbar icon ntawm tib lub npe lossis los ntawm kev tshawb cov kab ke.
- Mus rau hauv phau ntawv teev cov khoom npe uas xav tau rau kev sib koom nyob.
- Nyem rau nws nrog RMB thiab xaiv kab ntawm kab ntawv "Khoom".
- Nyob rau hauv lub qhov rai uas qhib, mus rau lub tab "Public LAN sis".
- Kos rau lub thawv tom ntej Luam daim ntawv no.
- Lub qhov rai yuav tshwm nyob rau hauv uas koj xav tau nyem rau ntawm khawm "Nruab Qhov Kev Pabcuam"kom tau Samba nruab rau hauv koj lub cev.
- Ib lub qhov rai yuav tshwm nyob rau hauv uas koj tuaj yeem pom cov npe ntawm cov pob khoom ntsia. Tom qab tshuaj xyuas, nyem Nruab.
- Nkag mus rau koj tus neeg siv tus password kom tso cai rau lub kaw lus rub tawm thiab nruab.
Tom qab ntawd, koj tsuas yog yuav tsum tau tos rau lub installation ntawm cov program kom tiav. Thaum qhov no ua tiav, koj tuaj yeem txuas ncaj qha rau teeb tsa Samba.
Kauj ruam 2: Teeb tsa
Txhim kho Samba hauv Nautilus yooj yim dua li siv "Chaw Nres Tsheb" lossis System Configa Samba. Txhua yam tsis tau teeb tsa nyob rau hauv cov khoom catalog. Yog tias koj tsis nco qab yuav qhib lawv li cas, tom qab ntawd ua raws li thawj peb yam ntawm cov lus qhia ua ntej.
Txhawm rau ua daim nplaub tshev pej xeem, ua raws li cov lus qhia:
- Hauv qhov rai, mus rau ntawm lub tab "Txoj Cai".
- Txhais cov cai rau tus tswv, pab pawg thiab lwm tus neeg siv.
Nco tseg: yog tias koj xav tau txwv tsis pub nkag mus rau hauv cov ntawv qhib pej xeem, tom qab ntawd xaiv cov kab "Tsis Yog" los ntawm daim ntawv.
- Nyem "Hloov cov ntawv tso cai".
- Hauv lub qhov rai uas qhib, los ntawm kev sib piv nrog cov kab lus thib ob ntawm daim ntawv no, txiav txim siab cov cai ntawm cov neeg siv los sib cuam tshuam nrog txhua cov ntaub ntawv hauv daim nplaub tshev.
- Nyem "Hloov", thiab tom qab ntawd mus rau hauv lub tab "Public LAN sis".
- Khij khoom Luam daim ntawv no.
- Sau lub npe rau hauv daim nplaub tshev no.
Nco tseg: koj tuaj yeem tso cov lus dab tsi rau seem yog tias koj xav tau.
- Kos lossis tsis kos lub thawv nrog "Tso cai rau lwm tus siv hloov kho cov ncauj lus" thiab Qhua Kev Nkag MusCov. Thawj kab lus yuav tso cai rau cov neeg siv tsis tau tso cai los kho cov ntawv txuas nrog. Qhov thib ob - yuav qhib kev nkag mus rau txhua tus neeg siv uas tsis muaj daim npav hauv zos.
- Nyem Thov.
Tom qab ntawd, koj tuaj yeem kaw lub qhov rai - daim nplaub tshev tau ua pej xeem. Tab sis nws yog tsim nyog sau cia tias yog tias koj tsis tau teeb tsa lub Samba neeg rau zaub mov, tom qab ntawd muaj qhov ua tau tias daim nplaub tshev yuav tsis tshwm rau hauv lub network.
Nco tseg: yuav ua li cas teeb tsa cov neeg rau zaub mov Samba tau piav qhia thaum pib ntawm tsab xov xwm.
Xaus
Tshaj tawm tuaj, peb tuaj yeem hais tias txhua qhov ntawm cov txheej txheem saum toj no yog qhov sib txawv ntawm ib leeg, tab sis txhua tus ntawm lawv sib npaug koj tso cai rau configure Samba hauv Ubuntu. Yog li siv "Chaw Nres Tsheb", koj tuaj yeem ua qhov hloov kho tau yooj yim los ntawm kev teeb tsa txhua qhov tsim nyog ntawm ob lub Samba server thiab cov chaw tsim muaj rau pej xeem. System Config Samba tso cai rau koj los kho cov neeg rau zaub mov thiab cov ncauj ke tib si, tab sis cov lej koj qhia tsawg dua. Lub ntsiab kom zoo ntawm cov qauv no yog lub xub ntiag ntawm lub graphical interface, uas yuav pab tau yooj yim rau kev teeb tsa rau cov neeg siv nruab nrab. Siv Nautilus tus thawj tswj hwm cov ntaub ntawv, koj tsis tas yuav tsum rub tawm thiab nruab software ntxiv, tab sis qee qhov nws yuav tsim nyog los teeb tsa lub Samba server, siv tib "Chaw Nres Tsheb".