CentOS yog ib qho ntawm cov qauv nrov tshaj plaws raws Linux, thiab vim li no ntau cov neeg siv xav paub txog nws. Txhim kho nws li kev ua haujlwm thib ob hauv koj lub PC tsis yog ib qho kev xaiv rau txhua tus neeg, tab sis koj tuaj yeem ua hauj lwm nrog nws nyob rau hauv ib qho chaw uas muaj kev sib tsoo hu ua VirtualBox.
Saib kuj: Siv VirtualBox li cas
Theem 1: Download CentOS
Koj tuaj yeem luam CentOS los ntawm lub tsev kawm ntawv dawb. Rau cov kev yooj yim ntawm cov neeg siv, cov neeg tsim khoom tsim tau 2 cov kev hloov ntawm cov khoom siv tis thiab ntau txoj kev ces.
Lub operating system nws tus kheej yog nyob rau hauv ob versions: tiav (Txhua yam) thiab trimmed (Tsawg). Rau ib tus neeg paub zoo, nws tau pom zoo kom download tau tag nrho version - nws tsis muaj txawm tias ib daim duab nrawm hauv ib lub khib nyiab, thiab nws tsis yog siv rau kev siv hauv tsev. Yog hais tias koj xav tau ib tug shortened ib, ntawm lub CentOS ntsiab phab nias "Tsawg tsawg ISO". Nws downloads raws nraim li tib yam li txhua yam, lub download ntawm uas peb xav hauv qab no.
Koj mus muab tau cov ntaub ntawv ntawm txhua yam. Txij li cov duab loj kwv yees txog 8 GB.
Mus download, ua cov hauv qab no:
- Nyem ntawm qhov link "ISOs tseem muaj nyob ntawm Torrent."
- Xaiv qhov txuas ntawm daim ntawv teev cov iav nrog cov ntaub ntawv tso tawm kom pom.
- Nrhiav cov ntaub ntawv nyob rau hauv cov ntawv npluas (public folder) uas qhib. "CentOS-7-x 86_64-Txhua yam-1611.torrent" (qhov no yog ib lub npe kwv yees, thiab nws yuav txawv me ntsis, nyob ntawm seb tam sim no tus qauv ntawm qhov kev faib).
Los ntawm txoj kev, ntawm no koj tuaj yeem download tau ib daim duab nyob rau hauv ISO hom - nws nyob tom ntej no rau cov ntaub ntawv torrent.
- Ib tug torrent-ntaub ntawv yuav tsum downloaded los ntawm koj tus browser, uas yuav qhib los ntawm torrent tus neeg tau txais kev pab nyob rau hauv lub PC thiab download tau daim duab.
Kauj Ruam 2: Tsim Lub Tshuab Chaw Ua Si rau CentOS
Nyob rau hauv VirtualBox, txhua lub operating system yuav tsum tau siv lub tshuab virtual cais (VM). Nyob rau ntawm theem no, hom kab ke yuav tsum tau xaiv yog xaiv, kev tsav tsheb yog tsim thiab cov txheej txheem ntxiv tsis muaj teeb tsa.
- Launch VirtualBox Manager thiab nyem rau ntawm lub pob. "Tsim".
- Sau npe CentOS, thiab ob seem ntxiv yuav tsum tau ntim cia.
- Qhia kom meej tias tus nqi ntawm RAM uas koj tuaj yeem faib rau kev tso tawm thiab kev lag luam ntawm qhov kev khiav hauj lwm. Yam tsawg kawg rau kev ua haujlwm zoo - 1 GB.
Sim faib ntau npaum li RAM tau rau lub cev xav tau.
- Cia xaiv "Tsim ib qho tshiab virtual hard disk".
- Hom tseem tsis hloov thiab tawm mus VDI.
- Xav kom zoo hom ntawv - "dynamic".
- Xaiv qhov me me rau cov HDD virtual raws li qhov chaw muaj pub dawb rau ntawm lub cev hard disk. Kev txhim kho installation thiab kev hloov ntawm OS, nws pom zoo kom faib tsawg kawg 8 GB.
Txawm hais tias koj faib ntau qhov chaw, ua tsaug rau cov txheej txheem dynamic cia, cov gigabytes yuav tsis tau nyob rau hauv kom txog rau thaum qhov chaw no nyob hauv hauv CentOS.
Qhov no ua tiav VM installation.
Kauj Ruam 3: Configure virtual machine
Cov kauj ruam no yog xaiv tau, tab sis yuav pab tau rau qee cov kev yooj yim thiab cov kev taw qhia dav dav rau dab tsi hloov hauv VM. Yuav tsum nkag mus rau qhov chaw, txoj cai-nias ntawm lub tshuab virtual thiab xaiv qhov khoom "Kho dua".
Hauv tab "Tsim" - "Processor" Koj tuaj yeem nce cov naj npawb ntawm processors rau 2. Qhov no yuav muab qee cov kev nce hauv kev ua tau zoo ntawm CentOS.
Mus rau "Zaub", koj tuaj yeem ntxiv qee tus MB rau lub cim xeeb ntawm video thiab pab kom tau 3D acceleration.
Lwm cov nqis yuav teem rau koj tus kheej thiab xa rov tuaj rau lawv txhua lub sijhawm thaum lub tshuab tsis ua haujlwm.
Kauj Ruam 4: Nrawm CentOS
Lub ntsiab thiab theem kawg: lub installation ntawm lub faib, uas twb tau raug downloaded.
- Nqa cov tshuab fais fab nrog ib tus nas nyem thiab nias rau ntawm lub pob. "Khiav".
- Tom qab pib lub VM, nias ntawm daim nplaub tshev thiab siv tus qauv system explorer los qhia txog qhov chaw uas koj download tau OS duab.
- Lub tshuab installer yuav pib. Siv tus xub tuaj rau koj cov keyboard los xaiv "Nruab CentOS Linux 7" thiab nias Sau.
- Nyob rau hauv hom tsis siv neeg, qee cov haujlwm yuav tsum tau ua.
- Lub tshuab nruab nrab pib.
- The CentOS graphical installer pib. Tam sim no, peb xav kom nco ntsoov tias qhov no faib tau ib qho ntawm feem ntau zoo-tsim thiab phooj ywg installers, yog li nws yuav ua tau yooj yim mus ua hauj lwm nrog nws.
Xaiv koj cov lus thiab ntau yam.
- Nyob rau hauv lub qhov rais uas tsis muaj, configure:
- Lub sij hawm cheeb tsam;
- Qhov chaw nruab.
Yog hais tias koj xav ua ib qho nyuaj disk nrog ib qho kev faib tawm ntawm CentOS, cia li mus rau qhov chaw ntawv qhia zaub mov, xaiv qhov kev tsav tsheb uas tau tsim nrog lub tshuab virtual, thiab nias "Ua li cas";
- Xaiv cov kev pab cuam.
Lub neej yog qhov tsawg tshaj plaws kev teeb tsa, tab sis nws tsis muaj lub graphical interface. Koj tuaj yeem xaiv qhov chaw nruab nrab ntawm OS yuav tsum tau nruab: GNOME los yog KDE. Qhov kev xaiv yog nyob ntawm koj nyiam, thiab peb yuav saib cov kev txhim kho nrog lub chaw KDE.
Tom qab xaiv lub plhaub nyob rau sab xis ntawm lub qhov rais yuav tshwm ntxiv. Koj tuaj yeem zuam txog yam koj xav pom hauv CentOS. Thaum tiav lawm, nias "Ua li cas".
- Nias lub khawm "Pib installation".
- Thaum lub caij txhim kho (qhov xwm txheej tau tshwm nyob hauv qab ntawm lub qhov rais ua ib qhov kev kawm nce qib) koj yuav raug hais kom tsim tau ib qho password thiab tsim ib tus neeg siv.
- Sau tus password rau hauv paus (superuser) 2 lub sij hawm thiab nyem "Ua li cas". Yog hais tias tus password yooj yim, khawm "Ua li cas" yuav tsum nias ob zaug. Tsis txhob hnov qab hloov cov keyboard layout rau lus Askiv ua ntej. Cov lus tam sim no tuaj yeem pom nyob rau sab pem hauv ntej ntawm lub qhov rais.
- Nkag mus rau lub npe ntawm cov tsiaj ntawv "Tas nrho cov npe". Txoj hlua "Lub npe" yuav tau sau rau hauv yeej, tab sis koj tuaj yeem hloov tau nws.
Yog tias koj xav tau, muab tus neeg siv no ua tus saib xyuas los ntawm kev khij lub npov uas tsim nyog.
Tsim ib lo lus zais rau koj tus account thiab nias "Ua li cas".
- Tos rau OS installation thiab nias lub khawm. "Tag teeb".
- Muaj qee qhov chaw ntxiv yuav raug txiav txim.
- Nias lub khawm Reboot.
- Lub GRUB bootloader yuav tshwm sim, uas yog lub neej ntawd tseem yuav khau raj lub OS tom qab 5 feeb. Koj tuaj yeem ua tau manually, tsis tas tos lub timer, los ntawm txhaj rau Sau.
- Lub qhov rais qhib qhov rais qhib.
- Lub qhov rais qhib yuav rov qab qhib dua. Lub sijhawm no koj yuav tsum lees txais cov lus cog tseg ntawm daim ntawv tso cai thiab teeb tsa lub network.
- Saib cov ntawv luv luv no thiab nias. "Ua li cas".
- Yuav kom muaj internet, nias qhov xaiv "Network thiab hostname".
Nyem ntawm pob qhov rooj thiab nws yuav tsiv mus rau sab xis.
- Nias lub khawm "Teb".
- Koj yuav tsum tau coj mus rau tus account ID nkag mus. Nias rau nws.
- Hloov cov ntawv sau tawm, sau tus password, thiab nias "ID nkag mus".
Tam sim no koj tuaj yeem pib siv lub CentOS operating system.
Kev txhim kho CentOS yog ib qho nyuaj, thiab txawm yuav yooj yim ua los ntawm tus thawj coj. Qhov kev khiav hauj lwm no, raws li kev tshoov siab thawj zaug, tuaj yeem txawv ntawm qhov rais thiab tsis txawv, txawm tias koj tau siv yav dhau los Ubuntu los yog MacOS. Txawm li cas los xij, txoj kev loj hlob ntawm OS no yuav tsis ua rau muaj teeb meem vim yog lub chaw kawm zoo thiab muaj ntau daim ntawv teev npe thiab khoom siv hluav taws xob.