Kuisa Debian kubva kune imwe Distro uchishandisa Debootstrap

Ini munguva pfupi yapfuura ndaida kumomesa diski yandaive nayo, ndaida kuisa Debian, ye server uye kuyedza zvinhu. Iyo poindi yaive yekuti, ini ndaive nehusimbe zvekugadzira iyo Bootable USB, wobva wabhuya komputa yangu uye wotanga kuisa zvese.

Uye aivewo nezvimwe zvinhu zvekuita. Saka ini ndakatanga basa rekutsvaga maitiro ekuiisa kubva kune imwe Linux, sekunge yaive yakagadziriswa. Aya ndiwo masanganiro andakaita Debootstrap.  Uye ini ndichatsanangura muchidimbu maitiro andakaita:

Kuiswa.

Izvi zvinogara zvichienderana nekuti maitiro acho achaitwa kupi. Ini semuenzaniso shandisa Manjaro. Saka chingave chinhu chakadai.

yaourt -S debootstrap

Using Debian uye zvakafanana, zvingave zvakadaro.

sudo apt-get install debootstrap

Izvo zvakakoshawo kuti uzive zvatichada Chroot.

Kumhanya

Iye zvino ngatitaurei kune iyo poindi. !! Chinhu chekutanga chatinofanira kuitaer kutsanangura claKazhinji iyo dhisiki uye ndeipi chikamu cheiyo disk yatinozoshandisa.

Somuenzaniso:

Ndine ma disc maviri:

Chinyorwa chekutanga:  sda  Yakakamurwa mukati 4 zvidimbu (sda1, sda2, sda3, sda4)

Chechipiri Disc: sdb  Ndipo pandakaisa system yangu yepasi. Ndizvozvo Manjaro.

Mune ino marongero epfungwa. Ini ndakasarudza diski  zviwanikwa nechikamu sdaxnumx

Zvino zvandinoita kukwirisa chikamu.

Ini ndinogadzira dhairekitori kwandinoenda kukwidza chikamu.

sudo mkdir /media/Debian

Iye zvino ndinoisa chikamu.

sudo mount /dev/sda3 /media/Debian

Isa iyo base system

Mune ino nhanho isu tinoenderera mberi nekuisa iyo base system yeDebian yedu. Nezve izvo zvatinoita.

sudo debootstrap --arch i386 wheezy /media/Debian http://ftp.fr.debian.org/debian

– Arch: Isu tinosarudza iyo 32 kana 64 bit dhizaini.

Wheezy:  Pano isu tiri kusarudza iyo Debian vhezheni.

/ midhiya / Debian: Kwatinoisa kukamura kwedu.

Tevere tinoona masisitimu edu ekutanga anotanga kuiswa.

Screenshot kubva 2013-08-16 14:07:05

Izvi zvinotora maminetsi mashoma zvichienderana nebandwidth

Kana tapedza tichaona iyi meseji uye zvakare tichaona kuti zvechokwadi kana mafaera akadhirowewa:

Screenshot kubva 2013-08-16 14:15:35

Screenshot kubva 2013-08-16 14:15:55

Kugadzira Debian.

Zvino izvo zvatinofanirwa kuita "kupinda mukati" iyo Debian. Saka isu tinogona kuita maodha sekunge isu taive mu Debian. Isu tinomhanya zvinotevera pane koni.

LANG=C.UTF-8 chroot /media/Debian /bin/bash

Nenzira iyi tinogona kuita maodha kubva kunyaradzo Debian.

Zvino chii?

Ngatitorei kernel! .. Kune izvo, kutanga tichaenda kugadzirisa zvinyorwa.list.

nano /etc/apt/sources.list

Kugadzira mufaro zvinyorwa.list tinogona kushandisa zvinotevera WEB

Uye isu tinogadziridza.!

apt-get update && sudo apt-get upgrade

Saka isu tinotsvaga kernel yatinoda nayo:

aptitude search linux-image-

Ipapo isu tichawana runyorwa rweinowanikwa kernels. Mune yangu kesi ini ndakaisa iyo linux-mufananidzo-3.2.0-4-686-pae

apt-get install linux-image-3.2.0-4-686-pae

Mupfungwa iyi tinenge tatova naDebian, asi isu tichagadzirisa zvishoma.

Kuisa Zvikamu.

Kugadzirisa iyo / etc / fstab faira

nano /etc/fstab

Zvatichaisa ipapo zvinoenderana nekombuta imwe neimwe. Mune yangu nyaya ini ndinongokuudza iwe kuti mudzi "/" uri mu sda3 (Kwaunoisa Debian)

Chingave chinhu chakadai.

"/ Dev / sda3 / ext4 zvisizvo 0 1"

Uye ikozvino isu tinongotasva ne:

mount -a

Iye zvino tava kuzochinja maitiro zvishoma. Nemurairo unotevera tinogadzirisa nguva yenguva:

dpkg-reconfigure tzdata

Tichaisa iyo ssh (ndichaibata chete neRED)

apt-get install ssh

Tinowedzera vashandisi uye tinoshandura password ku ROOT

adduser usuarioprueba
passwd root

Iye zvino isu tinongo ita "kubuda" kuti tigare mune yakasikwa system koni uye kugadzirisa iyo grub

sudo update-grub

 

Screenshot kubva 2013-08-16 15:03:07

Kubva pano zvichienda mberi iwe unogona kuita chero gadziriso iyo yatove kune yaunoda. Maitiro ekuisa mamwe masevhisi kana graphical nharaunda.

Ndinovimba iwe unofarira iyo posvo.!

Mufaro.!


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   gonzalezmd (# Bik'it Bolom #) akadaro

    Basa rakanaka.

  2.   pfungwa akadaro

    Whoa! zvinobatsira sei. Ndichaita bvunzo

  3.   Chaparral akadaro

    Hukuru!

  4.   eliotime3000 akadaro

    Zvakanaka. Debian Kubva kuScrarch kune vanopfura.

  5.   x11tete11x akadaro

    pane kukanganisa

    1.    @Jlcmx akadaro

      Lol handife ndakakwanisa neshoko iro. Ndinogara… NDINOGARA ndichikanganisa kuzvitaura. uu

      1.    x11tete11x akadaro

        hapana dambudziko, mushure mekunge imwe yema mods yaigadzirisa: v

        1.    Bhuku reManyuko akadaro

          Hongu, hongu, usazvinetse nekushandisa spell checker, ndizvo zvatiri, kuti tishandise iwe, hahaha. 😀

          Ok, ndizvozvo, uye sezvineiwo iniwo ndakadaira iyo Yaourt rairo nekuti haifanire kushandiswa semudzi. 😛

  6.   Cristian akadaro

    Inonakidza uye inoshanda kwazvo.

  7.   sieg84 akadaro

    zvinonakidza.

  8.   g919v3r akadaro

    senguva dzose zvinonakidza ... kazhinji ndinokurumidza kukanganwa chero zvese zvandinoverenga uye nekuchengetedza iyo yepakati pfungwa, asi mune ino kesi, ini handigone kutora iyo 'fenzi' yechetatu ndima kubva mumusoro mangu, zvimwe basa rakanaka!

    1.    Bhuku reManyuko akadaro

      Hahaha, zvatogadziriswa. 😀