Finyelela kumakhosombe ku-Debian, Ubuntu noma okuphuma ku-SSH hhayi nge-HTTP / FTP

Into ejwayelekile kunazo zonke emhlabeni ukuthi silungiselela ama-repos ethu ku-Debian, Ubuntu noma okuphuma kokunye okukhomba ama-repos asemthethweni nge-HTTP noma i-FTP, okungukuthi, ngihlela ifayili /etc/apt/source.list bese ngifaka into enjengale

deb http://repos.mired.net/ubuntu-precise/ precise universe multiverse restricted

Noma nge-Debian:

deb ftp://repos.mired.net/debian/wheezy/ wheezy main contrib non-free

Futhi lokhu kulungile, akukho lutho olungalungile ngakho.

Iqiniso ukuthi kwesinye isikhathi sidinga ukuvuselela nokufaka isoftware kukhompyutha yasekhaya noma, ngokwesibonelo, kuseva yenkampani yethu, futhi sidinga ukwenza lokhu ngaphandle kwezinkinga eziningi, ngaphandle kokufaka i-web server (i-Apache, i-Nginx, njll. ) kuseva yethu ye-FTP (Ukuvuselelwa okuvela kwi-inthanethi kukhishwa ngaphandle kaningi ngoba kudla umkhawulokudonsa nesikhathi, ngaphezu kwalokho, lapho sisebenzisa isiphequluli ukuthola umzila wendawo yokugcina izinto singazijabulisa ngohlobo oluthile lwezikhangiso zamahhala), sidinga ukuvuselela futhi senze i-voila, ngaphandle kokufaka i-Apache noma i-pure-ftpd, kude nayo ... singayisebenzisa i-SSH kulokhu.

I-SSH yindlela esilawula ngayo amakhompyutha ethu kude, yisevisi efakwe ngokuzenzakalela kuseva ngayinye, kahle, ukutshela i-X server / ikhompyutha ukuthi kufanele isebenzise ama-repos atholakala kuseva Y, silungiselela / etc / apt / imithombo.list ngokulandelayo:

deb ssh://root@repos.mired.cu:/var/www/ftp/repos/debian/wheezy/ wheezy main contrib non-free

Njengoba ukwazi ukubona, isikweletu sokuqalisa sigcinwa, bese siguqula i-http / ftp ibe yi-ssh, ilandelwe ngumsebenzisi lapho izotholakala khona kanye neseva ezotholakala, bese sikhombisa ukuthi indawo yokugcina isetshenziswa kuphi: / path njengoba kukhonjisiwe kulayini, lapho-ke sinokujwayelekile, inguqulo ye-distro namagatsha e-repo.

Bese kuba nento ejwayelekile:

apt-get update

Futhi kulapho engeke ivuselelwe khona ngokuzenzakalela, okusho ukuthi, uma utshela uhlelo ukuthi lusebenzise lelo khosombe nge-SSH, uhlelo luzokubuza ukuthi ngabe ufuna ukwengeza i-SSH kumaseva aziwayo kulena entsha, ukhombisa yebo ngokuthayipha yebo nangokucindezela Faka, khona-ke izocela iphasiwedi yezimpande futhi uma uyibeka, inqubo yokuvuselela izinkomba izoqala, okuyilokho abakukhombisile 🙂

Lokhu kube wusizo kimi, ngoba ngine-server yami ebonakalayo elungiselelwe kanjena (ngisebenzisa i-Arch, kepha iseva yami ebonakalayo isebenzisa i-Debian), isasindisa umsebenzi omningi noma umkhawulokudonsa, akunjalo? 🙂

Nokho ... ngiyethemba lokhu kube wusizo kuwe 😀

Phendula ngokucaphuna


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-6, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   I-FIXOCONN kusho

    Osebenza naye lapha uzokutshela ukuthi "uyihlosi"
    ngiyabonga ngokuthunyelwe kubukeka kwenzelwe thina (.cu)

  2.   neo61 kusho

    Kahle kangakanani. Umnikelo omkhulu njengabo bonke obashicilelayo. Ngingathanda ukuthola usizo futhi kumayelana nokuvuselela i-repo evela ekhaya, ulayini kufanele uhlelwe kanjani kuleso simo kusuka kumthombo.list?

    1.    KZKG ^ Gaara kusho

      Ukuthatha i-repo iku / home / neo / Linux / debian-repo kungaba:

      deb ssh://root@mipc:/home/neo/Linux/debian-repo/ wheezy main contrib non-free

      1.    neo61 kusho

        Uxolo ngokubambezeleka, bengingamakile ukuze ngaziswe ngeposi, ngiyabonga uzakwethu ngeminikelo yakho nangencazelo yakho. Njengoba abanye baseMexico be- "padre guey" bengasho

  3.   Jc852654 kusho

    Nginefayela lami le-source.list emithonjeni.list.d
    Ngokulandelayo:

    #Beka leli fayela ku /etc/apt/source.list.d/

    # SSH-Start ye /etc/apt/source.list yefayela ledeskithophu noma imishini yamathanga $
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy main don non-free
    deb-src ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy main don non-f $

    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy-updates main ayinikele n $
    deb-src ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy-updates main contr $

    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-security / wheezy / updates main $
    deb-src ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-security / wheezy / izibuyekezo m $

    #Izizinda
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-backports / Wheezy-backports mai $

    # SSH-Imultimedia
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-multimedia / wheezy main okungekho mahhala

    # Iceweasel-realease
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-mozilla / Wheezy-backports icewe $

    # Ukuphela kwefayela /etc/apt/source.list

    Kepha akusebenzi kimi ngokuphelele.
    Ungasiza

    lokhu kukhishwa lapho kwenziwa "isibuyekezo se-aptitude"
    Ign ssh: // c3uz @ VODK wheezy-backports Release.gpg
    Hit ssh: // c3uz @ VODK wheezy Release.gpg
    Ign ssh: // c3uz @ VODK wheezy-backports Release.gpg
    Ign ssh: // c3uz @ VODK wheezy-backports Khipha
    Hit ssh: // c3uz @ VODK wheezy Khipha
    Ign ssh: // c3uz @ VODK wheezy-backports Khipha
    Hit ssh: // c3uz @ VODK wheezy / main amd64 Packages
    Hit ssh: // c3uz @ VODK wheezy / non-free amd64 Packages
    Hit ssh: // c3uz @ VODK wheezy / main Translation-z
    Hit ssh: // c3uz @ VODK wheezy / non-free Translation-en
    Ign ssh: // c3uz @ VODK wheezy / main Translation-z
    Iphutha ssh: // c3uz @ VODK wheezy-backports / main amd64 Packages
    Ifayela ayitholakalanga
    Iphutha ssh: // c3uz @ VODK wheezy-backports / contrib amd64 Packages
    Ifayela ayitholakalanga
    Iphutha ssh: // c3uz @ VODK wheezy-backports / non-free amd64 Packages
    Ifayela ayitholakalanga
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Ukuhumusha-en_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Ukuhumusha-en
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Ukuhumusha-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Ukuhumusha-en
    Ign ssh: // c3uz @ VODK wheezy-backports / main Translation-es_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / main Translation-z
    Ign ssh: // c3uz @ VODK wheezy-backports / main Translation-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / main Translation-z
    Ign ssh: // c3uz @ VODK wheezy-backports / non-free Translation-es_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / non-free Translation-z
    Ign ssh: // c3uz @ VODK wheezy-backports / okungekho mahhala Ukuhumusha-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / non-free Translation-z
    Iphutha ssh: // c3uz @ VODK wheezy-backports / iceweasel-release amd64 Packages
    Ifayela ayitholakalanga
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Ukuhumusha-en_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Translation-z
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Ukuhumusha-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Translation-z

    1.    Jc852654 kusho

      Lesi yisakhiwo esiku-hard drive ye-USB engithola kuyo idatha
      ├── debian
      ├── ├── umbusi
      │ │ ├── ama-dists
      St │ │ ├── okudala -> khama
      Eze │ │ ├── khama
      ├── │ │ ├── esitebeleni -> wheezy
      │ │ │ └── wheezy
      Ichibi le-│ │ ├──
      ├── │ │ ├── iqhaza
      ├── │ │ ├── okuyinhloko
      -│ │ └── okungekho mahhala
      Iphrojekthi ye- │ │ └──
      └── │ └── umkhondo
      Ports ├── izindawo zokubuyela emuva ezikhethiwe
      │ │ └── amabanga
      │ │ └── khama-backports
      │ ├── debian-mozilla
      │ │ └── amabanga
      │ │ ├── khama-backports
      Ports │ └── iziteshi zasemuva ze-wheezy
      ├── ├── i-debian-multimedia
      │ │ ├── ama-dists
      St │ │ ├── okudala -> khama
      Eze │ │ ├── khama
      ├── │ │ ├── esitebeleni -> wheezy
      │ │ │ └── wheezy
      Ichibi le-│ │ ├──
      ├── │ │ ├── okuyinhloko
      -│ │ └── okungekho mahhala
      Iphrojekthi ye- │ │ └──
      └── │ └── umkhondo
      Security └── debian-ukuphepha
      │ ├── amabanga
      Eze │ ├── khama
      │ │ └── isondo
      Ichibi le-│ ├──
      └── │ └── izibuyekezo
      Iphrojekthi
      └── └── umkhondo