Nruab cov cav: Archlinux

Qhov kev nyeem no tau hais txog tom qab Arch Linux yuav hloov nws txoj kev teeb tsa teeb tsa lub Xya Hli 2012Cov. Tamsim no, thiab txog thaum peb ua peb tus kheej qhia nyeem tshiab, peb pom zoo kom sab laj no nyeem npaj los ntawm peb cov phooj ywg blog Gespadas.

Tom qab KZKG ^ Gaara nws yuav tsim kev nco rau kuv USB bootable nrog rau cov kawg .iso tso ua ke los ntawm tus tsim ntawm ArchLinux, Kuv pib txhim kho qhov kev faib khoom no rau hauv kuv lub PC.

Txheej txheem kev teeb tsa.

Cov txheej txheem kev teeb tsa kuv piav qhia hauv qab no tau ua tom qab hauv lub tshuab virtual, ib yam dab tsi kuv pom zoo kom koj ua yog tias qhov no yog thawj zaug koj nruab ArchLinux. Txhua qhov yuam kev thov qhia rau kuv paub kho nws.

Thawj qhov screen uas peb yuav pom yog qhov no:

Vijtsam tsev

Raws li cov zajlus kom, peb xaiv cov kev xaiv muaj nyob hauv daim duab: Khau raj Arch Linux (i686). Tom qab pib, yog tias txhua yam mus zoo, peb tau txais lub vijtsam no:

Raws li koj tau nyeem, yuav pib txheej txheem installation peb yuav tsum ua cov lus txib:

# /arch/setup

Tab sis ua ntej, nws pom zoo kom kho peb cov keyboard, yog li peb sau:

# km

Nrog rau cov lus txib no ArchLinux tso cai rau peb xaiv cov keyboard layout uas peb yuav siv. Hauv kuv tsev neeg, kuv muaj cov lus Askiv keyboard, yog li kuv xaiv qhov kev xaiv hauv qab no:

Tom qab peb tau txais cov tshuaj ntsuam hauv qab no:

Qhov twg nws nug peb kom xaiv lub npe rau lub console. Kuv tawm ntawm lub neej ntawd .. Thiab tam sim no yog tias peb tso cov lus txib kom pib lub installation:

# /arch/setup

Thaum peb muab Sau peb yuav tau txais cov zaub mov zoo (uas peb caw kom peb tus kheej mus poob ntsej muag hahahaha)..

Nws mus yam tsis tau hais tias cov ntawv qhia zaub mov ua raws cov laj thawj muaj txiaj ntsig, yog li nws tsis xav kom hla cov kauj ruam twg, txawm hais tias nws zoo li kuv tias tus nruab nws tus kheej tsis cia koj. Thawj qhov kev xaiv no yuav tso cai rau peb xaiv qhov chaw uas peb yuav mus txhim kho thawj pob khoom thiab thaum muab Sau lub vijtsam no tsis tshwm sim.

Peb tawm nws los ntawm qhov tsis nyob rau hauv thawj qhov kev xaiv, kom nws nruab ib pob khoom tsim nyog los ntawm cov CD-ROM, los yog hauv qhov no los ntawm kev nco. Thaum peb muab Ok peb rov qab rau cov zaub mov hauv daim duab 5Cov. Peb mam li dhia mus rau theem ob, qhov uas peb xaiv cov kab lus sau peb xav siv:

Kuv tsis paub txog koj, tab sis tsawg kawg rau kuv VI nws yog rau cov neeg siv nrog octopus complex, yog li kuv siv NANO LOL. Thaum peb muab Ok peb rov qab rau cov zaub mov hauv daim duab 5Cov. Peb mus rau theem thib peb uas peb txhim kho lub moos tsim:

Hauv kuv qhov haujlwm kuv xaiv Meskas »Havana.

Tom qab ntawd peb teeb tsa lub moos nrog kev xaiv Teem sijhawm thiab sijhawmCov. Kuv siv cov kev xaiv: hwv zos.

Thiab Kuv xaiv qhov kev xaiv phau ntawv:

Thaum peb ua tiav nrog lub moos tuaj qhov tseem ceeb tshaj plaws ntawm lub teeb tsa: Disk sib faibCov. Piv txwv kev piv txwv no yav dhau los kuv muaj 3 qhov kev tsim:

  • sdaxnumx : Rau lub hauv paus [/].
  • sdaxnumx : Rau lub tsev [/ tsev].
  • sdaxnumx : Rau kev sib pauv [sib puav]
ArchLinux Los ntawm lub neej ntawd yog tias koj siv lub disk dawb, nws yuav tsim 4 ntu. Thawj zaug ntawm txhua tus yuav nyob hauv Ext2 thiab yog muab rau / khau rajCov. Hauv kuv kis tshwj xeeb Kuv tsis cais qhov / khau rajCov. Txhawm rau zam cov kauj ruam no peb yuav pom tom qab cov duab uas piav txog cov txheej txheem no.

Peb yuav tsum paub dab tsi thaum sib faib?

Thaum peb nkag mus hauv kev xaiv kev faib thiab lwm yam, peb yuav pom cov vijtsam no:

Peb muaj 4 txoj kev xaiv:

  1. Pib Npaj : Nws yog kev coj los faib ua ke. Nws siv tau zoo heev thaum peb muaj daim disk tsis txaus lossis peb saib xyuas me me ntawm qhov poob cov ntaub ntawv, tab sis nws tsis yog qhov peb yuav siv.
  2. Tes Taw Qhia Kev Ua Si Hard Drive : Ntawm no peb tsuas yog yuav tsum nkag mus yog tias peb xav tsim cov partitions tshiab lossis rho tawm lawv ntawm lub hard disk, peb tsis xav tam sim no.
  3. Ua qauv tsim cov khoom siv thaiv, cov kab ke thiab cov chaw teeb tsa : Qhov no yog qhov kev xaiv uas txaus siab rau peb txij li nws yuav cia peb xaiv qhov kev faib feem uas peb yuav nce hauv paus, lub tsev thiab sib puav.
  4. Rollback kawg filesystem hloov : Qhov kev xaiv no yog rov qab mus rau thawj zaug ntawm daim disk. Thiab kuv tsis xav tias peb xav tau.
Zoo, peb xaiv kev xaiv # 3 thiab peb yuav tsum tau txais qee yam zoo li no:

Hauv kuv qhov teeb meem tshwj xeeb, nrog lub hard drive, Kuv xaiv thawj qhov kev xaiv los ntawm lub neej ntawd. Xaiv qee qhov ntawm lwm qhov kev xaiv Kuv tsis paub yog tias nws yuav pom zoo, yog li tsis txhob kov lawv tshwj tsis yog koj nyob hauv lub tshuab ua haujlwm virtual. Peb muab rau Sau thiab peb tau txais hauv qab no:

Ntawm no peb tuaj yeem pom 3 ntu uas kuv tau qhia koj txog ua ntej. Tsis txhob saib qhov loj ntawm lawv. Lawv tsuas yog xav paub txog qhov ntawd sda1 yog rau cag, sda2 rau tsev y sda5 rau kev sib pauvCov. Peb xaiv thawj thiab muab SauCov. Peb tau txais hauv qab no:

Mloog nrog cov lus no. Qhov nws thov rau peb ntawm no yog qhov peb xaiv yog tias peb xav tau huv, hom los yog dab tsi koj xav hu rau muab faib nyob rau hauv nqe lus nug. Rau sda1 tsis muaj teeb meem, tab sis peb yuav tsum ceev faj yog tias peb xav khaws peb cov ntaub ntawv hauv kab ntawm cov / tsev.

Qhov no peb qhia koj tias YOG <Yes < thiab peb tau txais lub qhov rai hauv qab no:

Peb xaiv Ext4 nrog cov xib xub ntawm Saum / toj thiab peb muab SauCov. Tom qab ntawv tshuaj ntsuam qhov chaw uas peb xaiv qhov peb xav ua rau ntawm qhov muab faib tsis tshwm:

Hauv peb qhov xwm txheej peb xaiv / hauv paus. Peb muab rau Sau thiab peb mus rau lub vijtsam txuas ntxiv:

Ntawm no peb tuaj yeem tso rau a Daim ntawv lo lossis daim ntawv lo mus rau disk. Cov kauj ruam no yog xaiv tau, yog li kuv tawm nws li nws yog los ntawm lub neej ntawd. Peb muab rau Sau thiab peb mus rau hauv qab no:

Tib yam li cov kauj ruam dhau los, nws sab laug los ntawm lub neej ntawd tshwj tsis yog peb paub yuav ua li cas dhau qhov tshwj xeeb tsis tau mkfs.ext4.

Peb rov ua tib theem no mus sdaxnumx, nco ntsoov nco ntsoov tias peb yuav tsum tsis txhob muab Yes rau lub cim xaiv #16 yog peb xav ceev peb / tsevCov. Xws li ntawm sdaxnumx tsuas yog qhov uas hloov nrog sda1 yog tias hloov kev xaiv Ext4, peb xaiv qhov kev xaiv thawj zaug hauv daim duab #17, lossis Sib Pauv.

Yog tias peb ua txhua yam kom raug, cov partitions yuav tsum zoo li no:

Peb xaiv UA LI NTAWD, peb muab Sau thiab peb tau txais cov lus hauv qab no:

Qhov no qhia peb li cas yog qhov uas peb tsis tsim kom muaj kev faib cais rau cov / khau rajCov. Los ntawm lub neej ntawd nws nug peb kom rov qab mus kho qhov no nrog txoj kev xaiv: rov qab, tab sis peb xaiv qhov kev xaiv: tsis quav ntsejThaum peb muab Ok peb rov qab rau cov ntawv qhia zaub mov hauv daim duab 5 thiab mus rau qhov kev xaiv 5: Xaiv Cov Pob Khoom.

Qhov kev xaiv ntawm lwm yam ua rau peb tuaj yeem nruab tus Hub:

Thiab thaum ua tiav peb mus rau cov kev xaiv zaub mov tom ntej: Nruab Pob.

Los ntawm kev xaiv tsuas yog thawj qhov kev xaiv tau raug xaiv. Kuv khij ob qho tib si rau nruab cov ntawv thov ntxiv uas tom qab kuv yuav xav sau thiab ua li ntawd. Yog tias peb kos lub thib ob, lub vijtsam hauv qab no yuav tshwm sim:

Qhov twg peb yuav tau kos cim (nrog rau qhov chaw bar) cov pob khoom twg peb xav tau los nruab. Thaum peb ua tiav peb nyem OK thiab lub system pib rau nruab:

Thaum ua tiav, peb muab Sau thiab peb tau txais qhov no:

Yog tias peb xav peb tuaj yeem hla tus qib no, ntev npaum li peb paub tom qab uas peb yuav tsum hloov kho thiaj li Koov ua haujlwm raws li nws yuav tsum. Cov ntaub ntawv dab tsi uas kuv hloov kho?

  • /etc/rc.conf : Ib cov ntaub ntawv tseem ceeb txij li cov ntawv sau uas pib nrog lub kaw lus, lub network, cov qauv thiab lwm yam kev xaiv tau teeb tsa hauv nws.
  • /etc/resolv.conf : Txhawm rau tshawb nrhiav DNS rau lub network.
  • /etc/pacman.conf : Qhov twg kuv tsuas hloov kho cov kev xaiv siv tus neeg sawv cev hauv Pacman.
  • /etc/pacman.d/mirrorlist : Qhov twg Arch repositories ntxiv lossis tshem tawm.
  • Cag-Password : Yog tias kuv pom zoo kom koj xaiv qhov kev xaiv no los muab Root ib lo lus zais rau kev ruaj ntseg, txwv tsis pub nws yuav tsis nug txog tus lej siv rau tus neeg siv no.
Peb yuav pom tag nrho cov kev xaiv no hauv tshooj ob ntawm tshooj no. Thaum peb muab Sau en ua li cas Tus editor yuav tsum tau tawm tuaj nrog lub configuration ntawm cov GrubCov. Kuv los ntawm neej ntawd kaw nws nrog Ctrl + X kom tsis txhob hloov dab tsi hauv cov ntaub ntawv no thiab peb tau txais lub qhov rai no:
Peb muab rau Sau rau nws kom muab ntsia Grub hauv / dev / sda thiab thaum nws ua tiav peb tuaj yeem rov pib lub PC nrog qhov hais kom ua:

# reboot

Tom ntej tom qab.

Hauv tsab xov xwm tom ntej no peb yuav pom yuav kho cov ntaub ntawv li cas:

  • /etc/rc.conf.
  • /etc/resolv.conf.
  • /etc/pacman.conf.
  • /etc/pacman.d/mirrorlist.
Peb tseem yuav pom yuav ua li cas los tsim peb cov neeg siv thiab muab tso rau hauv cov pab pawg tsim nyog, ntxiv rau kev teeb tsa ntawm Xfce.

Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

20 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   cov menyuam said

    zoo heev ncej elav yog heev menyuam.
    Cov kauj ruam ntawm kev xaiv opts ntxiv rau mkfs.ext4 peb tuaj yeem ntxiv qee cov kev xaiv uas nthuav dav heev xws li noatime nodiratetime hauv koov wiki muaj cov ntaub ntawv zoo heev txog qhov no.

    1.    elav <° Linux said

      Nws yeej muaj tseeb, tab sis kuv tsis tau paub txhua tus paub tias yav tsaus ntuj yog dab tsi rau hahaha. Yog li koj zoo kawm nws muaj sia los ntawm kev nyeem 😛

  2.   cov menyuam said

    hehe Kuv tsis nco qab yuav ntxiv qhov url https://wiki.archlinux.org/index.php/Fstab_(Espa%C3%B1ol)

  3.   Guso said

    Txog thaum kuv tau txhawb kom tawm tswv yim xD ... tab sis lawv tau ntaus lub chord ...

    Kuv ib txwm yog ib qho ntawm cov uas mus dhau ntawm txhua qhov cuam tshuam uas pom, tab sis Arch yog qhov teeb meem cais hauv kuv lub keeb kwm, Kuv tseem xav sim gentoo thiab kuv tseem sim txhua zaus feem ntau x distro, tab sis ib qho uas tau siv sijhawm ntev tshaj plaws hauv kuv lub computer thiab ntau dua Kuv tau nyiam Arch, ob desktop thiab laptop ...

    Kuv tau txais me ntsis cuam tshuam: P, tab sis txawm li cas los kuv xav qhia koj 2 yam:
    1) Tus kheej Kuv xum hla lub grub, thiab qhov kawg ntawm kev teeb tsa, ua ntej pib dua qhov tseeb, ua tus txiv neej pias-grub2 && update-grub 😉

    Kuv xum nws txoj hauv kev no kom tsis txhob muaj teeb meem thaum hloov kho grub los ua tej yam zoo li nruab burg.

    2) Ib qhov kev pom zoo ... hauv kuv lub tswv yim txo hwj chim thiab txiav txim siab tias kuv kuj tau tsiv tawm ntawm debian ... ceev faj kom tsis txhob muaj siab txog yam dab tsi ntau ntawm cov tshiab hauv parcel (ntawm chav kawm thaum kuv tau ua nws yog muaj nyob rau lub sijhawm kde4.something), pacman Cov tshuaj tiv thaiv tshwj xeeb tshaj yog tias koj ntxiv AUR rau nws, thiab koj tuaj yeem mus nrog qhov "tshaj dhau" ntawm pob khoom uas koj yuav tsis siv dhau los ua qhov kev sim thawj.

    hehehehe Kuv xav tias kuv tau ncua ntev dua li qhov tsim nyog tab sis zoo rau tus so ua tsaug ntau rau cov ntawv thiab zoo siab: D.

    1.    elav <° Linux said

      Txais tos Guso:
      Ua tsaug ntau rau Grub taub, yog tias KZKG ^ Gaara tau ntsib nws ua ntej lub kaw lus yuav tsis tau thauj khoom ib zaug hahaha. Hmoov tsis zoo rau peb peb tsis tuaj yeem txaus siab rau tag nrho cov kev paub, vim tias peb tsis muaj kev nkag tau zoo hauv is taws nem thiab yog li tsis tuaj yeem siv AUR.

      regards

  4.   Miguelinux said

    Zoo heev tsab xov xwm, Kuv tau xav txog kev txhim kho Arch (nws cov chaw cia khoom rov qab los ua rau kuv siab siab) thiab thaum kuv luam tawm tsab xov xwm ntxiv Kuv yuav ua tus dhia

  5.   Holmes said

    nws yeej yog ib qho zoo tshaj plaws, Kuv tsis tau sim koov tseem, tab sis kuv mam li sim tom qab.
    Cheers….
    vlw fwi, Holmes

    1.    elav <° Linux said

      Ua tsaug rau Holmes

  6.   fredy said

    Ua tsaug ntau cov lus qhia, yog tias kuv tuaj yeem nruab kuv yuav qhia koj seb nws mus li cas.
    txais tos.

  7.   Siab tawv said

    Lub xeem iso Kuv tsis paub yog vim li cas ib yam dab tsi kuv ua tsis ncaj ncees lawm muab kuv teeb meem nrog pacman thiab internet.

    Kuv yuav txuag lub ncej rau qhov teeb meem tshwj xeeb ntawd nrog rau cov nkauj uas kuv muaj los ntawm xyoo tas los nws tsis tshwm sim rau kuv

    1.    Siab tawv said

      Los ntawm txoj kev, daws teeb meem.conf? Kuv xav tias cov ntawv ntawd tsis tas yuav kov

      1.    elav <° Linux said

        Kev ua siab loj, nco ntsoov tias peb siv IP zoo li qub thiab tawm mus los ntawm ib lub server nyob tom haujlwm. Yog li peb yuav tsum tshaj tawm cov ntaub ntawv ntawd, DNS server thiab lwm yam.

      2.    KZKG ^ Gaara <"Linux said

        Yog lawm, nyob ntawd koj sau cov npe ntawm koj LAN (ntawm linux.net piv txwv) thiab DNS servers uas koj yuav tsum siv.

  8.   Lucas Matias said

    Zoo heev, nws ua rau kuv nco txog ntau rau kev teeb tsa Vector Linux, Kuv yuav sim nws.

  9.   Alf said

    Kuv tau ua raws li cov kauj ruam teeb tsa los ntawm kauj ruam thiab nws tsis ua haujlwm, grub tsis nruab, tsis muaj qhov yuam kev, nws tsuas yog nruab.

    2 cov duab rub tawm, md5 soj ntsuam thiab tsis muaj dab tsi, 3 sim nrog txhua tus duab.

    Txhua yam hauv viirtualbox.

    1.    KZKG ^ Gaara said

      Koj qhia nws rau nruab Grub rau / dev / sda thiab nws TSIS TXHOB nruab nws?

  10.   Alf said

    Nws tsis nruab, thiab nws tsis muab cov lus yuam kev, nws cia li tsis nruab.

    Muaj ib hnub…

  11.   ezcamb said

    hav niam txiv, txhua yam yog zoo heev tau piav qhia hauv qhov blog, tab sis nws yuav tsim kom koj nthuav tawm lwm qhov, kev teeb tsa ntawm cov ntaub ntawv!…

  12.   Gurren-Lagan said

    Exclenete ncej txawm hais tias nws yuav zoo yog tias koj tau ua koj tus kheej nyeem los txhim kho lub version tshiab

  13.   Kev Poob Haujlwm said

    Uuuu, zoo heev, rau cov nyiam rau tom qab ua nws, Kuv tau xav siv Arch rau lub sijhawm ntev, txawm hais tias kuv yog qee yam kub nyhiab thaum yam tsis ua haujlwm, lossis kuv tau nyam mus ntev ntev hauv ib yam dab tsi, TSIS MUAJ DAB TSI zoo dua li lub siab txaus los ntawm kev daws teeb meem thiab kawm los ntawm qhov kev paub haha, yog li tom qab ntawd Kuv mam li nruab Arch dhia mus rau hauv dej thiab pib siv xws li cuam tshuam (Kuv tseem muaj cov txheej txheem uas kuv nyiam minimalism, thiab Arch tsim xav tib xD!)

    Ua Tsaug !!