Cov txheej txheem:

Kuv tuaj yeem qhia tau li cas yog Samba tab tom khiav ntawm Linux?
Kuv tuaj yeem qhia tau li cas yog Samba tab tom khiav ntawm Linux?

Video: Kuv tuaj yeem qhia tau li cas yog Samba tab tom khiav ntawm Linux?

Video: Kuv tuaj yeem qhia tau li cas yog Samba tab tom khiav ntawm Linux?
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim

Txoj kev yooj yim dua yog kuaj nrog koj tus thawj tswj pob. dpkg, yum, emerge, etc. Yog uas tsis ua haujlwm, koj tsuas yog xav tau ntaus ntawv samba --version thiab yog nws nyob hauv koj txoj kev nws yuav tsum ua haujlwm. Thaum kawg koj tuaj yeem siv nrhiav / -executable -name samba mus nrhiav tej executable npe samba.

Hais txog qhov no, Kuv yuav pib Samba ntawm Linux li cas?

Teeb tsa Samba File Server ntawm Ubuntu / Linux:

  1. Qhib lub davhlau ya nyob twg.
  2. Nruab samba nrog cov lus txib hauv qab no: sudo apt-mus nruab samba smbfs.
  3. Configure samba typing: vi /etc/samba/smb.conf.
  4. Teem koj pawg neeg ua haujlwm (yog tias tsim nyog).
  5. Teem koj cov folders sib koom.
  6. Restart samba.
  7. Tsim cov ntaub ntawv qhia tawm: sudo mkdir / koj-share-folder.

Ib tug kuj yuav nug, Kuv yuav ua li cas thiaj paub yog tias CIFS khiav? Txheej txheem

  1. Siv PuTTY thiab IP chaw nyob ntawm DeviceManager nkag mus rau OceanStor 9000 raws li tus neeg siv omuser.
  2. Khiav miv / proc/monc_pipmap kom tau txais IP chaw nyob ntawm thawj qhov.
  3. Khiav ssh kom nkag mus rau hauv lub hauv paus ntawm tus neeg siv omuser.
  4. Khiav kev pabcuam nascifs xwm txheej los xyuas seb qhov xwm txheej ntawm tag nrho cov txheej txheem CIFS tab tom khiav.

Kuv yuav kuaj Samba server li cas?

Yuav ua li cas txheeb xyuas qhov kev teeb tsa thiab teeb tsa ntawm Samba

  1. Kuaj cov ntaub ntawv smb.conf. Yog tias cheeb tsam thoob ntiaj teb raug siv rau Samba.
  2. Yog siv winbind, pib thiab sim winbind. Pib thiab sim winbind.
  3. Pib thiab sim Samba. Pib Samba.
  4. Nres cov smbd, nmbd, thiab winbindd daemons.
  5. Unmount cov ntaub ntawv muaj nyob hauv zos heev.
  6. Tshem tawm cov tswv tsev logical.

Puas yog Samba khiav Ubuntu?

Samba muaj nyob rau hauv feem ntau Linux distributions. Rau nruab Samba ntawm Ubuntu , yooj yim khiav cov lus txib hauv qab no hauv terminal. Mus xyuas yog tias Samba kev pabcuam yog khiav , tawm cov lus txib hauv qab no. Thaum pib, smbd yuav mloog ntawm TCP chaw nres nkoj 139 thiab 445.

Pom zoo: