CentOS yog ib qho ntawm cov khoos phis tawm raws li Linux, thiab vim li no ntau tus neeg siv xav paub txog nws. Txhim kho nws ua qhov txheej txheem thib ob hauv koj lub PC tsis yog qhov kev xaiv rau txhua tus, tab sis hloov koj tuaj yeem ua haujlwm nrog nws hauv qhov chaw virtual, hu ua VirtualBox.
Saib ntxiv: Yuav ua li cas siv VirtualBox
Kauj ruam 1: Rub CentOS
Download tau CentOS ntawm lub vev xaib pub dawb. Rau qhov yooj yim ntawm cov neeg siv, cov neeg tsim tawm tau hloov pauv 2 ntawm cov khoom siv faib thiab ntau txoj kev rub tawm.
Lub operating system nws tus kheej yog nyob rau hauv ob version: tag nrho (Txhua yam) thiab stripped-down (Tsawg). Rau cov neeg paub tag nrho, nws raug pom zoo kom rub tawm tag nrho cov ntawv sau - hauv stripped-down ib qho tsis muaj txawm tias muaj lub plhaub graphical, thiab nws tsis yog npaj rau kev siv hauv tsev ib txwm. Yog tias koj xav tau ib qho kev pab txiav, ntawm ntawm CentOS lub nplooj ntawv tseem ceeb, nyem "Tsawg tsawg ISO"Cov. Nws yog rub tawm nrog tib txoj haujlwm zoo li Txhua Yam, rub tawm ntawm uas peb yuav xav hauv qab no.
Koj muaj peev xwm rub tawm txhua yam version ntawm torrent. Vim tias kwv yees cov duab loj kwv yees li ntawm 8 GB.
Txhawm rau rub tawm, ua cov hauv qab no:
- Nyem rau ntawm qhov txuas "ISOs kuj muaj nyob ntawm Torrent."
- Xaiv txhua qhov txuas los ntawm cov npe tsom iav uas muaj cov ntaub ntawv torrent.
- Nrhiav cov ntaub ntawv nyob rau hauv qhib qhib cov pej xeem ntawv "CentOS-7-x86_64-Txhua-1611.torrent" (Nov yog lub npe kwv yees, thiab nws yuav txawv me ntsis, nyob ntawm qhov tam sim no ntawm kev faib tawm).
Los ntawm txoj kev, ntawm no koj tuaj yeem rub tawm cov duab hauv ISO hom - nws nyob ntawm ib sab ntawm torrent ntawv.
- Daim ntawv torrent yuav rub tawm los ntawm koj tus browser, uas tuaj yeem qhib nrog torrent tus neeg siv tau nruab rau hauv PC thiab rub tawm daim duab.
Kauj Ruam 2: Tsim Lub Tshuab Virtual rau CentOS
Hauv VirtualBox, txhua txoj haujlwm ua haujlwm tsim kho xav tau ib lub tshuab sib txawv (VM). Nyob rau theem no, hom kab ke yuav tsum tau xaiv yog xaiv, lub zog virtual yog tsim thiab ntxiv cov haujlwm tau tsim.
- Tua tawm VirtualBox Tus Thawj Tswj thiab nyem rau ntawm lub pob Tsim.
- Sau lub npe CentOS, thiab lwm ob qho kev txwv yuav raug muab sau cia.
- Qhia kom meej qhov RAM uas koj tuaj yeem faib kom khiav thiab ua haujlwm ua haujlwm. Yam tsawg kawg nkaus rau kev ua haujlwm xis nyob - 1 GB.
Sim faib cov RAM kom ntau li ntau tau rau qhov kev xav tau ntawm lub cev.
- Tseg cov khoom xaiv tau "Tsim lub zog tshiab ntawm virtual hard drive".
- Hom kuj tsis hloov thiab tawm mus Vdi.
- Xum cia hom ntawv muaj zog.
- Xaiv qhov loj me rau virtual HDD raws li muaj qhov chaw pub dawb ntawm lub zog hard disk. Kev kho kom raug thiab kho dua tshiab ntawm OS, nws raug nquahu kom faib tsawg kawg 8 GB.
Txawm hais tias koj faib ntau qhov chaw ntxiv, ua tsaug rau cov hom cia dynamic, cov gigabytes no yuav tsis nyob hauv cov chaw kom txog thaum cov chaw no tau coj mus rau hauv CentOS.
Qhov no ua tiav VM kev teeb tsa.
Kauj ruam 3: Kho lub tshuab virtual
Cov kauj ruam no yog xaiv tau, tab sis yuav siv tau rau qee qhov chaw pib thiab dav dav dav nrog qhov yuav hloov pauv hauv VM. Txhawm rau nkag mus rau cov chaw, nyem rau ntawm lub tshuab virtual thiab xaiv Ciaj sia.
Nyob hauv tab "System" - Txheej Txheem Koj tuaj yeem nce tus naj npawb ntawm processors rau 2. Qhov no yuav muab qee qhov nce hauv CentOS kev ua haujlwm.
Mus rau Tso saib, koj tuaj yeem ntxiv qee qhov MB rau qhov video nco thiab pab 3D nrawm.
Cov kev teeb tsa ntxiv tuaj yeem tsim tau ntawm koj qhov kev txiav txim siab thiab xa rov qab rau lawv txhua lub sijhawm thaum lub tshuab tsis tau khiav.
Kauj ruam 4: Nruab ib lub CentOS
Lub ntsiab thiab theem kawg: txhim kho cov khoom siv faib khoom uas twb tau rub tawm.
- Xaiv lub virtual tshuab nrog nas nyem thiab nias rau khawm Khiav.
- Tom qab pib VM, nyem rau ntawm daim nplaub tshev thiab dhau los ntawm tus qauv txheej txheem txheej txheem tshawb xyuas qhov chaw uas koj tau rub lub OS duab.
- Lub kaw lus nruab yuav pib. Siv tus xub nce hauv koj cov keyboard los xaiv "Nruab Nruab CentOS Linux 7" thiab nyem Sau.
- Hauv hom tsis siv neeg, qee qhov haujlwm yuav tau ua.
- Lub installer pib.
- Lub CentOS graphical installer xa tawm. Peb xav kom nco ntsoov tam sim ntawd hais tias qhov kev faib khoom no muaj ib tus tseem tshaj plaws thiab tus phooj ywg teeb tsa, yog li ua haujlwm nrog nws yuav yooj yim heev.
Xaiv koj hom lus thiab nws yam lus.
- Hauv qhov rai uas muaj nqis, teeb tsa:
- Lub sij hawm cheeb tsam
- Qhov chaw teeb tsa.
Yog tias koj xav ua lub hard drive nrog ib qho kev faib tawm hauv CentOS, tsuas yog mus rau ntawm lub chaw ntawv qhia ua, xaiv lub virtual tsav uas tau tsim nrog lub tshuab virtual, thiab nyem Ua li cas;
- Qhov kev xaiv ntawm cov kev kawm.
Lub neej ntawd yog qhov kev teeb tsa me me, tab sis nws tsis muaj lub graphical interface. Koj tuaj yeem xaiv nrog ib puag ncig twg OS yuav raug teeb tsa: GNOME lossis KDE. Kev xaiv yog nyob ntawm koj nyiam, thiab peb yuav xav txog kev teeb tsa nrog KDE ib puag ncig.
Tom qab xaiv lub plhaub, cov tshuaj ntxiv yuav tshwm rau ntawm sab xis ntawm lub qhov rais. Koj tuaj yeem zuam tawm qhov koj xav pom hauv CentOS. Thaum xaiv tiav lawm, nias Ua li cas.
- Nyem rau feem khawm "Pib installation".
- Thaum lub sij hawm teeb tsa (cov xwm txheej tau tshwm rau hauv qab ntawm lub qhov rai uas yog qhov ua tau zoo), koj yuav qhia kom los nrog cov lej nkag hauv paus thiab tsim tus neeg siv.
- Sau tus password rau hauv paus (superuser) cov cai 2 zaug thiab nyem Ua li casCov. Yog tias lo lus zais yooj yim, lub pob Ua li cas xav nias ob zaug. Nco ntsoov hloov cov keyboard kab lus mus rau lus Askiv ua ntej. Cov lus tam sim no tuaj yeem pom nyob rau sab xis saum toj ntawm lub qhov rais.
- Sau cov ntawv cim yam xav tau hauv lub teb Nws Lub NpeCov. Txoj hlua Lub npe neeg siv yuav tau sau cia siv, tab sis nws tuaj yeem hloov kho manually.
Yog tias xav tau, tsim tus neeg siv no ua tus tswj hwm los ntawm khij lub npov raug.
Tsim tus lej cim account thiab nyem rau Ua li cas.
- Tos kom txog thaum cov OS raug teeb tsa thiab nyem rau ntawm lub pob "Ua tiav teeb".
- Qee qhov kev teeb tsa ntau ntxiv yuav raug txiav txim siab.
- Nyem rau feem khawm Rov ua haujlwm.
- Lub GRUB bootloader yuav tshwm sim, uas los ntawm lub neej ntawd yuav txuas ntxiv thauj khoom OS tom qab 5 vib nas this. Koj tuaj yeem ua qhov manually no tsis tas tos rau timer los ntawm nias rau Sau.
- Lub qhov rais CentOS khau raj yuav tshwm sim.
- Lub chaw qhib lub qhov rai tshwm dua ib zaug ntxiv. Lub sijhawm no koj yuav tsum lees txais cov lus cog tseg ntawm daim ntawv cog lus tso cai thiab teeb tsa lub network.
- Txheeb xyuas daim ntawv luv luv no thiab nyem Ua li cas.
- Txhawm rau muab Is Taws Nem, nyem rau ntawm qhov kev xaiv "Network thiab tus tswv tsev npe".
Nyem rau ntawm tus swb thiab nws yuav txav mus rau sab xis.
- Nyem rau feem khawm Xaus.
- Koj yuav raug coj mus rau tus account nkag mus tshuaj ntsuam qhov screen. Nyem rau nws.
- Hloov keyboard teeb, sau lo lus zais thiab nias ID nkag mus.
Tam sim no koj tuaj yeem pib siv CentOS operating system.
Txhim kho CentOS yog ib qho ntawm qhov yooj yim tshaj plaws, thiab tuaj yeem ua tau yooj yim txawm tias ib tus neeg nyuam qhuav nyiam. Qhov kev khiav hauj lwm no thaum xub thawj siab tuaj yeem pom qhov txawv ntawm Windows thiab txawv txawv, txawm tias yav tas los koj siv Ubuntu lossis MacOS. Txawm li cas los xij, kev txhim kho ntawm OS no yuav tsis ua rau muaj teeb meem tshwj xeeb vim yog thaj chaw yooj yim ntawm thaj chaw thiab kev nthuav dav kev thov thiab kev siv hluav taws xob.