Uyifaka njani kwaye uyiqwalasele njani iSamba kwi-Ubuntu 14.10

ubuntu samba

I-Samba kukuphunyezwa kweenkonzo kunye neeprotokholi ezihambelana ne-SMB (ngoku ebizwa ngokuba yi-CIFS) apho iikhompyuter ze-Windows zinxibelelana khona: Yaphuhliswa ngu-Andrew Tridgell ngokusebenzisa ubunjineli obuchasayo, esebenzisa i-Wireshark-style traffic grabbers (eyayisaziwa njenge Ethereal) ukuhambelana kwiindawo ze-nix, into eyayifuneka ukunqanda ukubekwa bucala kwimimandla yokudibana kunye nemfundo apho amaqonga aliqela ahlala khona (Windows, Linux, Mac OS X).

Masibone emva koko uyifaka njani kwaye uyiqwalasele njani iSamba kwi-Ubuntu 14.10 Utopic Unicorn, ilungele unikezele ngezabelo ezingaziwa kunye nezinye ezikhuselekileyo apho kufanelekileyo ukungqinisisa ukufikelela, ukuze unikeze iifayile kuzo zonke iintlobo zabasebenzisi. Kwaye sisuka kwisiseko esifake Ubuntu iseva ye-14.10, inguqulelo yeCanonical distro enikezelwe kule micimbi, ngedilesi ye-IP esisetiweyo ye-192.168.1.100; Ukongeza koku, kunjalo sizakufuna ezinye izixhobo kwinethiwekhi efanayo yasekhaya, kwaye ngaphakathi kwiqela elinye lomsebenzi, ukuvavanya ukuba yonke into yenziwe njani.

Faka iSamba

Ukuqala, siza kufaka iiphakheji zeSamba, into elula kakhulu kuba iyinxalenye yogcino lwaseburhulumenteni:

# apt-fumana ukufaka i-samba samba-eqhelekileyo python-glade2 system-config-samba

Qwalasela iSamba

qwalasela isamba

Ngoku into ekufuneka siyenzile kukuhlela ifayile /etc/samba/smb.conf, yona ephethe lonke uqwalaselo lweseva yethu yeSamba. Ngaphambi koku senza ugcino lwefayile yangoku:

# cp /etc/samba.conf /etc/samba/smb.conf.back

Ngoku ukuba sihlela eyona fayile iphambili:

# nano /etc/samba/smb.conf

Sihlela icandelo [lehlabathi], kulapho Sichaza igama leqela lomsebenzi, umtya ochongwe ngawo kwinethiwekhi yendawo, igama le-netbios, uhlobo lokhuseleko kunye nezinye. Siyishiya ngolu hlobo lulandelayo (sinokutshintsha iiparameter zokuqala ezintathu ukuba sifuna):

[jikelele]
Iqela lomsebenzi = IQELA LOKUSEBENZA
Umtya womncedisi = Umncedisi weSamba% v
igama le-netbios = ubuntu
ukhuseleko = umsebenzisi
map ukuya kundwendwe = umsebenzisi ongalunganga
Ummeli we-dns = hayi

Emva koko siye ezantsi kwifayile, ukuya kwicandelo elithi 'Yabelana ngeenkcazo' kwaye oko kuqala nge [Ongaziwayo]. Apho sidibanisa (ewe, sinokutshintsha indlela eya kwifolda esiza kwabelana ngayo):

[Ongaziwayo]
indlela = / samba / engaziwa
ibrawuza = ewe
ibhaliwe = ewe
undwendwe ok = ewe
funda kuphela = hayi

Ngoku siqala kwakhona samba iseva:

# service smbd qala kwakhona

Imiba embalwa ekufuneka uyiqwalasele kukuba ifolda esiza kuyinika ukufikelela okungaziwayo kufuneka ibekhona kwifayile yethu kwaye kufuneka ifikeleleke kubo bonke abasebenzisi, oko kukuthi, xa idweliswa kunye:

ls -l

Kuya kufuneka isibonakalise ukuba sifunde kwaye siphumeza iimvume kuye wonke umntu, eyi-drwxr-xr-x, okanye i-755 kwi-jargon yamanani. Ukuba oku akunjalo, kufuneka sikwenze oko (sitshintsha 'ifolda ekwabelwana ngayo' ngegama kunye nendlela esiyifunayo):

# chmod -R 0755 / isabelo esikwifayile

Nje ukuba siqwalasele ifayile ye ufikelelo olungaziwayo masenze njalo naye iphasiwedi ithintelwe ukufikelela, kwaye le yinto ethatha umsebenzi omncinci, masiqale. Indawo yokuqala, kuba kuqwalaselo ngokubanzi simisele ukuba ukhuseleko luqhubeka umsebenzisi, oku kuthetha ukuba ukufikelela kwiifolda ezikhuselweyo kuya kufuneka sikwenze usebenzisa igama lomsebenzisi kunye negama lokugqitha elikhoyo kwiserver Ubuntu 14.10 Utopic Unicorn, kwaye ke kuyakufuneka senze iakhawunti (singasebenzisa igama esilifunayo, endaweni ka abasebenzisi njengoko senzile):

# useradd abasebenzisiamba -G sambashare

Sifaka iphasiwedi yomsebenzisi xa ushukunyiswa, kwaye emva koko kongeza iphasiwedi ye-samba:

# smbpasswd -a abasebenzisiamba

Siya kucelwa ukuba singenise iphasiwedi kabini, emva koko umsebenzisi esimenzileyo uya kuba negama eligqithisiweyo leSamba. Ngoku kufuneka songeze ukhetho loqwalaselo ekwabelwana ngalo kwifolda ekhuselweyo ngegama eligqithisiweyo, ke siza kuvula kwakhona ifayile yoqwalaselo lweSamba yokuhlela.

# nano /etc/samba/smb.conf

Songeza:

[ukufikelela ngokukhuselekileyo]
indlela = / ikhaya / isamba / ekwabelwana ngayo
Abasebenzisi abasebenzayo = @sambashare
undwendwe ok = hayi
ibhaliwe = ewe
ibrawuza = ewe

Ifolda / ikhaya / isamba / ekwabelwana ngayo kufuneka ukuba ifundile, ibhale kwaye yenza ukufikelela kulo lonke iqela le-sambashare, ngenxa yoko siza kuyiphumeza:

# chmod -R 0770 / ikhaya / isamba / ekwabelwana ngayo

#chown -R ingcambu: isasashare / ikhaya / isamba / ekwabelwana ngayo

Yiyo leyo, sele sikwazi qwalasela iSambkwaye oku sinokufikelela kule folda kuyo nayiphi na ikhomputha kwinethiwekhi yendawo eyinxalenye yeqela lomsebenzi UKUSEBENZA, kwaye ngokwenza njalo sinako nokugcina ipaswedi ukufikelela kwixesha elizayo ngokukhawuleza kwiWindows, Mac OS X okanye kwezinye iikhompyuter zeLinux.

Ukuhlelwa kwevidiyo
Inqaku elidibeneyo:
AbaHleli beVidiyo baSimahla beBuntu

Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-26, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   Ringer sitsho

    Enkosi ngegalelo, kodwa ndicinga ukuba liyabucokisa ubomi bakho, ukuba ubeka imouse ngaphezulu kwifolda ngeqhosha lasekunene layo, ukhetho "lwezixhobo ekwabelwana ngazo kuthungelwano lwasekhaya" luyavela nje ngokuvula, ubuntu ukufaka ngokuzenzekelayo kwaye iqwalasele yonke into eyenziwayo ukuze isebenze.

    1.    UWilly klew sitsho

      Kuyinyani, Bellman

      Kodwa besifuna ukubonisa ukuba zenziwa njani izinto 'ngesandla', hayi kuba sithanda ukuzenza nzima kodwa ngenxa yokuba umbono kukufunda inkqubo. Ke, ukuba kuya kufuneka senze into entsonkothileyo, njengokuvumela ukufikelela kubasebenzisi abathile kodwa hayi abanye, okanye ukuvumela ukufikelela kufundo kuphela kubo bonke kunye nokubhala ukufikelela kwiqela elithile, siya kuyazi indlela yokwenza.
      Enkosi ngezimvo! Ukubulisa

      1.    lwenemya23 sitsho

        Ukunika ukufikelela kubasebenzisi abathile kunye nabanye akuyi kuba yinto entle yokufunda.

  2.   Avelino De Sousa (@esousavelino) sitsho

    Molo, kulungile, iposti yakho indincedile, enkosi, ngendlela endine-Ubuntu Gnome 14.10 efakwe ngayo kwaye andikwazi ukuvula iLibreOffice. Umbuliso.

  3.   tron sitsho

    Kuchazwe kakuhle ... kodwa ayisebenzi kum, ayisiyiyo ngenxa yesifundo, andazi ukuba kutheni.

    Ndikwi kde kwaye akukho ndlela ndizibona ngayo iifolda kodwa emva koko andinayo imvume

  4.   UWilly klew sitsho

    Molo tron, myalezo mni osifumana kwinkqubo?

    Ngaba ubongezile abasebenzisi njengabasebenzisi beqela le-sambashare kunye nabasebenzisi benkqubo?

    1.    tron sitsho

      Molo uWilly enkosi ngokuphendula.

      Andazi ukuba ndenza impazamo, injongo yam yayikukudala umsebenzisi, umzekelo i-luis kwaye ndiyongeze kwiqela lesabelo le-samba kwaye yiyo lonto.

      Isiphoso andinika sona kukusilela kweemvume.

  5.   UMike isilivere sitsho

    Molo, ungandinceda ukumisela isikhombisi seefolda apho kufuneka bafikelele khona ngomsebenzisi kwaye bapase, kodwa omnye wabo basebenzisi akufuneki angene ku x ifolda?

    Umhlohli obalaseleyo!

  6.   yakhon79 sitsho

    Uxolo, kodwa kukho impazamo encinci kulayini ulandelayo:

    cp /etc/samba.conf /etc/samba/smb.conf.back, echanekileyo iya kuba:

    cp /etc/samba/samba.conf /etc/samba/smb.conf.back

    Ngaphandle kwalonto, iposti ilungile

  7.   UDavid figueroa sitsho

    Umhlobo obalaseleyo, igalelo lakho. Kudala ndizama ukunika abasebenzisi abathile ukufikelela kolu hlobo lwefolda ekwabelwana ngayo kwaye andikwazi ukuphuma.

  8.   iqentw sitsho

    Mva ntambama,

    Uxolo ngokungalungisi kodwa andikwazi ukwenza ufikelelo ngokuchanekileyo ...

    Ndiyazibona iifolda xa ndidibanisa \\ ip
    kodwa xa ndifuna ukufikelela kwifolda nge "access safe" ndifumana umyalezo othi .. "awunakufikelela"

    Inika imvakalelo yokuba ndibeke igama lomsebenzisi kunye negama eligqithisiweyo, kodwa hayi, ndijongile kwaye ichanekile.

    Okuqhotyoshelwe umfanekiso weskrini womyalezo:

    http://gyazo.com/b50a36dfa3b11b726063021a5d830f7b

    Ndiyabulela kwangaphambili.

  9.   yomoya sitsho

    molo mntu undincede ukusuka kubuntu ndibona yonke inethiwekhi yasekhaya kunye nazo zonke iikhompyuter ezikulo kodwa ukusuka kwi-pc nge-win 7 ayibonisi iserver enomthwalo wobuntu kwinethiwekhi zonke ezinye kodwa hayi ubuntu…. enkosi kwimpendulo yakho ekhawulezileyo

  10.   Abacuc sitsho

    Molo, iposti elungileyo, ndisebenzise ujongano lomzobo ukuyifaka kwaye yonke into iyasebenza. Nangona kunjalo, xa kukho iingxaki zombane xa uqala iseva, kufuneka uqalise iinkonzo ze-samba ngesandla kwaye andinakuziqala ngokuzenzekelayo xa uqala inkqubo.Ngaba ungandinceda?

  11.   aa sitsho

    ayisebenzi

  12.   makenciee sitsho

    mmmmmmmmmmmmmmmmmm ndinomdla wokuyibeka njani xa ivele ivule

  13.   Ongaziwayo sitsho

    ayiphumeli, kukho izinto ezininzi ezingalunganga kwisifundo, amanye amagama axubekile kwaye iimvume azinakuba njalo

  14.   mnyama sitsho

    Iposti ilungile nangona kuya kufuneka uyihlaziye Ubuntu 16.04.

  15.   UJorge Mint sitsho

    Ndiyavumelana noMnyama. Iposi lihle kakhulu kodwa kufuneka uyihlaziye kwi-Ubuntu 16.04.
    Ukususela sele enkosi kakhulu.
    Umsebenzi ogqwesileyo +10

  16.   samuel sitsho

    Hee bendifuna ukufaka iseva yesibane ku-ubuntu 16 kodwa xa ndizama ukugcina iziseko zedatha nge-sql yam indixelele impazamo ye-php, ukuba andinayo imodyuli ye-mysql, emva kophando oluninzi andifumananga sisombululo sekhonkrithi, ke Ndithathe isigqibo sokufaka iserver yam Ubuntu 14, ndibuyile apha kodwa ndinayo yonke into esele ifakiwe xa ndizama ukuvula ifolda komnye umatshini nge windows indithumelela impazamo isithi ubungqina bam ngokuqinisekileyo abunazo iimvume kwaye emva kwempazamo ithi ukuba ukufikelela kungasafumaneki, bendizama ukusombulula loo nto kodwa andikwazi, umntu andincede?

  17.   Mhlobo sitsho

    Enkosi kweyokuqala, ewe kuya kufuneka ube nengqondo eqhelekileyo malunga nendlela echanekileyo yomkhombandlela.
    Ukubulisa

  18.   UJosé Luis sitsho

    Molo, ndiyavuyisana nawe ngomdla owufakileyo kule micimbi, ndiba malunga ne-elektroniki kunenkqubo, kodwa ndiyayithanda Ubuntu kuba bayazenzela kwaye banomtsalane okhethekileyo.
    Enkosi ngeemfundiso zakhe.
    Ndiyakuvuyela ngebhola ekhatywayo, ndingumntu othanda umlomo, waseArgentina.
    Ukuwolana.

  19.   ukulungiswa kwezixhobo sitsho

    Iluncedo kakhulu, eli nqaku belindilungele kwaye ndinokufaka iSamba ngokuchanekileyo, ukubulisa.

  20.   UHugo Garcia sitsho

    Isikhokelo esihle kakhulu, wandinceda kakhulu. Endingakuqondiyo, kungenxa yokuba kuya kufuneka unike imvume 755 kwifolda ekwabelwana ngayo kodwa emva koko kubonisiwe ukuba kufuneka inikwe imvume 770.
    Isebenze kakuhle kum, kodwa loo ntandabuzo ihleli.

  21.   Iifayile sitsho

    Iposti elungileyo. Isebenze ngokugqibeleleyo kum. Ndiba nemibono ngabantu abakhalaza ngokungathi kukho into abayityalwayo, okanye iiTolosabos eziqhelekileyo "zilula ngeqhosha lasekunene kwaye ...". Andizukuba nawo umonde wokwenza oku simahla ... chwayita!

  22.   Abelardo sitsho

    Sawubona,

    Ndilandele amanyathelo okwabelana ngeefolda kodwa andiziboni iifayile ngaphakathi kwazo kwi-mac endiyisebenzisayo ukunxibelelana no-Ubuntu bam.

    Enkosi ngenqaku elithe, kude neempazamo, lacacisa kakuhle inkqubo emayilandelwe.

    Ukugqithisa kakhulu

  23.   Ipanishi sitsho

    Mva kwemini, ndiyayithanda imbono yokufaka i-samba ngesandla, kodwa ndingacinga ukuba "ngesandla" kunokuba endaweni yekhowudi yomthombo, ngaphandle kokwenza i-apt-fumana ukufaka isamba, kodwa, ukufaka konke ukuxhomekeka kunye nokusebenzisa imiyalelo: ./configure, yenza kwaye uyenze ibe yinkqubo elula! Ukubulisa 😀