Pezani malo osungira mu Debian, Ubuntu kapena zotumphukira ndi SSH osati ndi HTTP / FTP

Chomwe chimadziwika bwino kwambiri padziko lapansi ndikuti timakhazikitsa mpumulo wathu ku Debian, Ubuntu kapena zotumphukira zomwe zikuloza malo opumira kudzera pa HTTP kapena FTP, ndiye kuti, ndimasintha fayilo /etc/apt/source.list ndikuyika china chonga ichi:

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

Kapena ndi Debian:

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

Ndipo izi ndi zabwino, palibe cholakwika ndi izi.

Chowonadi ndichakuti nthawi zina timafunikira kusintha ndikuyika mapulogalamu pakompyuta yakunyumba kapena, mwachitsanzo, pa seva ya kampani yathu, ndipo tiyenera kuchita izi popanda zovuta zambiri, popanda kukhazikitsa tsamba lawebusayiti (Apache, Nginx, ndi zina zambiri. ) pa seva yathu ya FTP (Kusintha kuchokera pa intaneti kumayendetsedwa nthawi zambiri chifukwa kumawononga chiwongolero ndi nthawi, kuwonjezera apo, tikamagwiritsa ntchito msakatuliyo kuti tipeze njira yosungira titha kudzisangalatsa ndi mtundu wina wa zotsatsa zaulere), tifunika kusintha ndikusintha, osafunikira kukhazikitsa Apache kapena pure-ftpd, kutali ndi izi ... chifukwa cha izi titha kugwiritsa ntchito SSH.

SSH ndiyo njira yomwe timayang'anira makompyuta athu kutali, ndi ntchito yomwe imayikidwa mwachisawawa pa seva iliyonse, chabwino, kuuza X seva / kompyuta kuti igwiritse ntchito mpumulo womwe uli pa seva Y, timakonza / etc / apt /source.list motere:

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

Monga mukuwonera, ndalama zoyambira zimasungidwa, kenako timasintha http / ftp kukhala ssh, ndikutsatiridwa ndi wogwiritsa ntchito yemwe adzapezeke ndi seva yomwe ipezeke, ndiye kuti tikuwonetsa komwe kuli malo osungiramo zinthu pogwiritsa ntchito: / njira monga akuwonetsera pamzere, ndiye kuti tili ndi zachizolowezi, mtundu wa distro ndi nthambi za repo.

Ndiye pali chinthu chachizolowezi:

apt-get update

Ndipo ndipamene sichingasinthidwe zokha, ndiye kuti, mukauza dongosololi kuti ligwiritse ntchito chosungira kudzera pa SSH, dongosololi likufunsani ngati mukufuna kuwonjezera SSH kumaseva odziwika kumeneku, akuwonetsa inde polemba inde ndikukanikiza Lowani, pamenepo ipempha mawu achinsinsi ndipo mukawayika, njira yosinthira ma index iyamba, zomwe ndi zomwe adawonetsa 🙂

Izi zandithandizadi, chifukwa ndili ndi seva yanga yomwe yakonzedwa motere (ndimagwiritsa ntchito Arch, koma seva yanga imagwiritsa ntchito Debian), imapulumutsabe ntchito yambiri kapena bandwidth, sichoncho? 🙂

Komabe ... ndikhulupilira kuti izi zakhala zothandiza kwa inu 😀

zonse


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Ndemanga za 6, siyani anu

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

  1.   OTHANDIZA anati

    Wogwira naye ntchito pano akhoza kukuwuzani "ndinu nyalugwe"
    zikomo chifukwa cha positiyi ikuwoneka kuti yatipangira (.cu)

  2.   neo61 anati

    Chabwino bwanji. Chopereka chachikulu monga onse omwe mumasindikiza. Ndikufuna thandizo ndipo likukhudzana ndikusintha repo kuchokera kunyumba, nanga mzerewu ungakonzedwe bwanji pankhani ya source.list?

    1.    KZKG ^ Gaara anati

      Kungoganiza kuti repo ili mkati / kunyumba / neo / Linux / debian-repo ikhoza kukhala:

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

      1.    neo61 anati

        Pepani chifukwa chakuchedwetsa, sindinalembe kuti ndidziwitsidwe ndi makalata, zikomo mnzanga chifukwa cha zopereka zanu ndi tanthauzo lanu. Monga "padre guey" wina waku Mexico anganene

  3.   jc852654 anati

    Ndili ndi fayilo yanga ya source.list mu source.list.d
    motere:

    #Ikani fayilo iyi mu /etc/apt/source.list.d/

    # SSH-Start ya /etc/apt/source.list fayilo ya desktop kapena lap makina $
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy zazikulu zimapereka zopanda ufulu
    deb-src ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy zazikulu zomwe sizili f $

    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy-zosintha zazikulu zimathandizira n $
    deb-src ssh: // c3uz @ VODK: / media / USBDEB / debian / debian / wheezy-zosintha main contr $

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

    #Mabwalo
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-backports / wheezy-backports mai $

    # SSH-Multimedia
    deb ssh: // c3uz @ VODK: / media / USBDEB / debian / debian-multimedia / wheezy zazikulu zopanda

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

    # End ya fayilo /etc/apt/source.list

    Koma sizimandigwirira ntchito kwathunthu.
    Mutha kuthandiza

    izi ndi zomwe zimatulutsidwa mukamapanga "# aptitude update"
    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 Kutulutsidwa
    Hit ssh: // c3uz @ VODK wheezy Kutulutsidwa
    Ign ssh: // c3uz @ VODK wheezy-backports Kutulutsidwa
    Hit ssh: // c3uz @ VODK wheezy / main amd64 Packages
    Hit ssh: // c3uz @ VODK wheezy / non-free amd64 Packages
    Hit ssh: // c3uz @ VODK wheezy / main Translation-en
    Hit ssh: // c3uz @ VODK wheezy / non-free Translation-en
    Ign ssh: // c3uz @ VODK wheezy / kutanthauzira kwakukulu
    Err ssh: // c3uz @ VODK wheezy-backports / main amd64 Maphukusi
    Fayilo sinapezeke
    Err ssh: // c3uz @ VODK wheezy-backports / contrib amd64 Maphukusi
    Fayilo sinapezeke
    Err ssh: // c3uz @ VODK wheezy-backports / non-free amd64 Maphukusi
    Fayilo sinapezeke
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Kutanthauzira-en_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Kutanthauzira-en
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Kutanthauzira-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / contrib Kutanthauzira-en
    Ign ssh: // c3uz @ VODK wheezy-backports / main Translation-es_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / kutanthauzira kwakukulu-en
    Ign ssh: // c3uz @ VODK wheezy-backports / kutanthauzira kwakukulu-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / kutanthauzira kwakukulu-en
    Ign ssh: // c3uz @ VODK wheezy-backports / non-free Translation-es_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / yopandaulere Translation-en
    Ign ssh: // c3uz @ VODK wheezy-backports / osakhala omasulira-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / yopandaulere Translation-en
    Err ssh: // c3uz @ VODK wheezy-backports / iceweasel-release amd64 Maphukusi
    Fayilo sinapezeke
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Kutanthauzira-en_ES
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-kutulutsa Translation-en
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-release Kutanthauzira-es_SV
    Ign ssh: // c3uz @ VODK wheezy-backports / iceweasel-kutulutsa Translation-en

    1.    jc852654 anati

      Uku ndi kapangidwe ka USB hard drive komwe ndikupezako deta
      Anayankha
      Ian ├── anayankha
      Chimamanda Ngozi Adichie
      St │ │ ├── chakale -> finyani
      │ │ │ ├── Finyani
      ├── │ │ ├── khola -> wheezy
      Alirezatalischi
      Dziwe la │ │ ├──
      │ │ │ ├── zopereka
      ├── │ │ ├── chachikulu
      -│ │ └── yopanda
      └── │ └── ntchito
      Ace │ └── kufufuza
      ├── ├── kumbuyo-kumbuyo
      Chimamanda Ngozi Adichie
      │ │ └── Finyani-kumbuyo
      @Alirezatalischioriginal
      Chimamanda Ngozi Adichie
      │ │ ├── Finyani-kumbuyo
      Ports │ └── mawilo-kumbuyo
      ├── ├── debian-matumizidwe ophatikizika amawu, nyimbo ndi zithunzi
      Chimamanda Ngozi Adichie
      St │ │ ├── chakale -> finyani
      │ │ │ ├── Finyani
      ├── │ │ ├── khola -> wheezy
      Alirezatalischi
      Dziwe la │ │ ├──
      ├── │ │ ├── chachikulu
      -│ │ └── yopanda
      └── │ └── ntchito
      Ace │ └── kufufuza
      Chitetezo cha debian-chitetezo
      ├── madera
      │ │ ├── Finyani
      @Alirezatalischioriginal
      ├── dziwe
      │ │ └── zosintha
      └── ntchito
      └── └── kufufuza