CentOS 7 Hypervisor I - SMB Netwọk

General index nke usoro: Netwọk Kọmputa maka SMEs: Okwu Mmalite

Ezigbo ndị na-agụ akwụkwọ!

Oge ụfọdụ anyị na - eche ihu maka Sava Ndị Ọkachamara na - akwado ụfọdụ sistemụ arụmọrụ oge inye ha - Nhazi mbido. Anyị ejirila aka anyị hụ sava na, n'oge usoro a, na-akwado naanị ihe ndị a:

  • Microsoft Windows Server 2003 na Ezinụlọ
  • Microsoft Windows Server 2008 na Ezinụlọ
  • Microsoft Windows Server 2012 na Ezinụlọ
  • Uhie Uhie Enterprise Linux RHEL 4, 6, na 7
  • SUSE Linux Enterprise Server 12

Debian, Ubuntu, ndi ozo ...?. Onweghị ihe. Ihe dị n'elu apụtaghị na anyị enweghị ike ịwụnye sistemụ arụmọrụ dị iche, mana gịnị ga-eme na akwụkwọ ikike ahụ, ndị ọkwọ ụgbọ ala, patch, mmelite, wdg. Ka onye ọ bụla na-agụ ya chọpụta nkwubi okwu nke ya.

Taa achọpụtara m site na nkwukọrịta onwe m na enyi m na onye otu Julio Cesar Carballo - ọ na-arụ ọrụ na Data Data dị mkpa - na ọ nọrọ ihe dị ka ụbọchị 10 wụnye sava ndị ọkachamara 180 «site na igbe ha ruo ogbe ahụ na mkpokọta cabling gụnyere»Na Ubuntu sistemụ arụmọrụ.

Nyochawa ya enwere ike iji Debian, Ubuntu, CentOS - RHEL, SuSE, ma ọ bụ sistemụ arụmọrụ ndị ọzọ UNIX Dị ka -agbanyeghi nke systemd- akwadoro maka ọrụ dị otú a, dị ka nkwado nkwado na sava ọkachamara nke ụdị ọ bụla.

N'isiokwu a anyị agaghị enye ọtụtụ njikọ n'etiti ahịrị, n'ihi na anyị were ya na ederede ndị gara aga na usoro «Netwọk Kọmputa maka SMEs«, Na na ha na-ama maara aha, acronyms na nkọwa. Gịnị bụ peeji ndị ahụ?

Ma ọ bụ ezie na ọ bụghị kpọmkwem site n'usoro ahụ, ịgụ isiokwu na-esonụ bara ezigbo uru, ebe ọ na-egosipụtakarị nhọrọ nke nkesa Linux anyị mere maka usoro ndị ahụ edepụtara n'elu:

Taa anyị na-agbalị na-enye a Nduzi iji wụnye Hypervisor na CentOS - Onye nlele CentOS. Onye ọ bụla na-agụ ga-imeghari ya dị ka ngwaike nke gị na ihe nkesa, na emeputa chọrọ. Anyị ahapụwo Nzọụkwụ site Nzọụkwụ site na Ihe oyiyi, iji kwado ọgụgụ nke isiokwu a.

  • Buru n'uche na Red Hat, Inc. bụ onye na-akwado CentOS, na Red Hat, Inc bụ onye nrụpụta libvirt, njikwa ọma, oVirt, yana ihe fọrọ nke nta ka ọ bụrụ ihe niile metụtara ịba uru site na iji Qemu -KVM na nchịkwa ya.

Obere mgbanwe mgbe ntinye ntinye site na ntinye

Iji mee ka ndụ dịkwuo mfe, n'ihi na anyị enweghị DNS na LAN, anyị gbanwee faịlụ a bit / wdg / onye ọbịa:

[mgbọrọgwụ @ centos7 ~] # nano / etc / ụsụụ ndị agha
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 :: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.10.10.4 centos7.desdelinux.fan centos 10.10.10.1 sysadmin.desdelinux.fan sysadmin

Anyị na-ekwupụta n'ụzọ doro anya nkwụnye ego anyị ga-eji ma melite usoro a:

[mgbọrọgwụ @ centos7 ~] # cd /etc/yum.repos.d/
[mgbọrọgwụ @ centos7 yum.repos.d] # ls -l
ngụkọta 28 -rw-r - r--. 1 mgbọrọgwụ mgbọrọgwụ 1664 Dec 9 2015 CentOS-Base.repo -rw-r - r--. 1 mgbọrọgwụ mgbọrọgwụ 1309 Dec 9 2015 CentOS-CR.repo -rw-r - r--. 1 mgbọrọgwụ 649 Dec 9 2015 CentOS-Debuginfo.repo -rw-r - r--. 1 mgbọrọgwụ mgbọrọgwụ 290 Dec 9 2015 CentOS-fasttrack.repo -rw-r - r--. 1 mgbọrọgwụ mgbọrọgwụ 630 Dec 9 2015 CentOS-Media.repo -rw-r - r--. 1 mgbọrọgwụ 1331 Dec 9 2015 CentOS-Sources.repo -rw-r - r--. 1 mgbọrọgwụ 1952 Dec 9 2015 CentOS-Vault.repo

N'ezie ọ dị mma ịgụ ọdịnaya nke faịlụ nkwupụta mbụ sitere na nchekwa CentOS akwadoro. Mgbanwe ndị anyị na-eme ebe a bụ n'ihi na anyị enweghị andntanetị ma anyị na-arụ ọrụ na ebe nchekwa mpaghara ebudatara na WWW.

[mgbọrọgwụ @ centos7 yum.repos.d] # mkdir mbụ
[mgbọrọgwụ @ centos7 yum.repos.d] # mv CentOS- * mbụ /

[mgbọrọgwụ @ centos7 yum.repos.d] # nano centos-base.repo
[centos-base] aha = CentOS- $ releasever baseurl = http: //10.10.10.1/repos/centos/7/base/ gpgcheck = 0 nyeere = 1

[mgbọrọgwụ @ centos7 yum.repos.d] # nano centos-updates.repo
[centos-updates]
name=CentOS-$releasever
baseurl=http://10.10.10.1/repos/centos/7/updates/x86_64/
gpgcheck=0
enabled=1

[mgbọrọgwụ @ centos7 yum.repos.d] # yum dị ọcha niile
Akwado plugins: fastestmirror, langpacks Nhicha nchekwa: centos-base centos-updates Ihicha ihe niile

[mgbọrọgwụ @ centos7 yum.repos.d] # yum melite
Akwado plugins: fastestmirror, centos-base langpacks | 3.4 kB 00:00 centos-mmelite | 3.4 kB 00:00 (1/2): centos-isi / isi_db | 5.3 MB 00:01 (2/2): centos-mmelite / primary_db | 9.1 MB 00:01 Dchọpụta enyo kachasị ọsọ Enweghị ngwugwu akara maka mmelite

Ozi "Enweghị (enwere) ngwugwu akara maka mmelite" - "Enweghị ngwugwu akara maka mmelite" na-egosi na, site na ịkọwapụta nchekwa kachasị dị ugbu a maka anyị n'oge nrụnye ahụ, n'ụzọ ziri ezi ka arụnyere nchịkọta ndị dị ugbu a.

Kedu ngwugwu metụtara Hypervisor?

Na folda / mgbọrọgwụ, Ihe nrụnye Anaconda hapụ faịlụ ya na ihe kachasị mkpa ejiri rụọ ọrụ n'oge CentOS. Anyị chọrọ ịma nke nchịkọta arụnyere, ebe ọ bụ na anyị etinyebeghị iwu ahụ ugbu a yum wụnye, mgbe ị na-eji ihe eserese eserese.

[mgbọrọgwụ @ centos7 ~] # pusi anaconda-ks.cfg ....
% packages @ ^ virtualization-ọbịa-gburugburu ebe obibi
@igbo
@ ndakọrịta ụlọ akwụkwọ
@oke
@IGIHE
@ Virtualization-hypervisor
@ virtualization-ikpo okwu
@ njirimara-ngwaọrụ
....

Ihe nchịkọta - nchịkọta ya na njiri mara @ na mbu, ha na-egosi Otu ngwugwu. N'okwu anyị, iji nweta ndepụta nke Otu - Otu dị iche iche, anyị ga-agbakwunye DVD echichi na nkwupụta nke nchekwa:

[mgbọrọgwụ @ centos7 ~] # ugwu / dev / sr0 / media /
ugwu: / dev / sr0 na-echebe-dee, arịọnụ naanị-agụ

[mgbọrọgwụ @ centos7 ~] # nano /etc/yum.repos.d/centos-media.repo
[centos-media] aha = CentOS- $ releasever baseurl = faịlụ: / // media gpgcheck = 0 nyeere = 1

[mgbọrọgwụ @ centos7 ~] # yum hichaa ihe niile
Adedkwanye plugins: fastestmirror, langpacks Nhicha nchekwa: centos-base centos-media centos-updates Nhicha ihe niile Nhicha ndepụta nke enyo kachasị ọsọ

[mgbọrọgwụ @ centos7 ~] # yum melite
Akwado plugins: fastestmirror, centos-base langpacks | 3.4 kB 00:00 centos-pụtara | 3.6 kB 00:00 centos-mmelite | 3.4 kB 00:00 (1/4): centos-mgbasa ozi / group_gz | 155 kB 00:00 (2/4): centos-mgbasa ozi / primary_db | 5.3 MB 00:00 (3/4): centos-isi / isi_db | 5.3 MB 00:00 (4/4): centos-mmelite / primary_db | 9.1 MB 00:01 Dchọpụta enyo kachasị ọsọ Enweghị ngwugwu akara maka mmelite

[mgbọrọgwụ @ centos7 ~] # yum repolist niile
Akwado plugins: fastestmirror, langpacks Na-awụ ọsọ enyo si echekwara hostfile repository id repository aha centos-base status CentOS-7 nyeere: 9,007 centos-media CentOS-7 nyeere: 9,007 centos-mmelite CentOS-7 nyeere: 2,560 repolist: 20,574

[mgbọrọgwụ @ centos7 ~] # yum otu ndepụta
... Otu ndi gburugburu ebe obibi di: Minimal Installation Compute Node Infrastructure Server Server na Bipute Njikwa Basic Web Server Virtualization Host Server na GUI Gnome Desktop Plasma KDE Workspaces Development na Creative Workstation E Nwere Otu Dị Iche: Nchịkwa Systems Na-akwado ralọ akwụkwọ. Hapụrụ UNIX nkwado Ngwaọrụ Njikwa Nzụlite Ngwaọrụ Nche Ngwaọrụ Eserese Ihe Ntanetị Ngwaọrụ Ntanetị. Nkwado sayensi na akwado Smart kaadi ...

ó

[mgbọrọgwụ @ centos7 ~] # yum dị iche iche ndepụta id
Akwadoro plugins: fastestmirror, langpacks Na-awụ ọsọ enyo site na nnabata nnabata enwere Otu dị iche iche: Otu nrụnye pere mpe Compute Node (compute-node-environment) Ihe nkesa akụrụngwa (akụrụngwa-ihe nkesa na gburugburu ebe obibi) Server na mbipụta faịlụ (mbipụta faịlụ) -server-gburugburu ebe obibi) Ntọala sava weebụ (sava ​​sava-gburugburu ebe obibi) Onye na-akwado ndị na-ahụ maka ihe na-ahụ maka ndị na-ahụ maka ihe na-eme ka ndị na-arụ ọrụ na-arụ ọrụ na-arụ ọrụ na-arụ ọrụ na GUI (ihe nkesa na-arụ ọrụ na gburugburu ebe obibi) kde-desktọọpụ-gburugburu ebe obibi) Development na Creative Workstation (Onye nrụpụta-arụ ọrụ-gburugburu ebe obibi) Ndị otu arụnyere: Liblọ akwụkwọ gakọtara ọnụ (ụlọ akwụkwọ ndị ọzọ) Legacy UNIX Support (legacy-unix) ) Ngwaọrụ nchekwa (nchekwa-ngwaọrụ) Otu dị: Nchịkwa sistemụ (sistemụ njikwa) Ngwaọrụ mmepe (mmepe) Ngwaọrụ Eserese ozi (graphical-admin-tools) Ngwaọrụ maka njikwa kọmputa. (console-internet) nkwado sayensị (sayensị) Nkwado maka kaadị smart (kaadị smart)

N'oge echichi anyị họrọ nhọrọ bụ isi Onye ọbịa Virtualization na n'ime ya na Ntọala Virtualization:

[mgbọrọgwụ @ centos7 ~] # yum groupinfo virtualization-host-environment
---- Otu gburugburu ebe obibi: Virtualization Onye ọbịa gburugburu ebe obibi Id: virtualization-host-environment Nkọwa: Nke kacha nta virtualization ọbịa. Otu dị mkpa: isi ihe
    virtualization-hypervisor
    usoro ihe eji eme ihe
Otu nhọrọ: debugging + network-file-system-client + remote-system-management
    virtualization-ikpo okwu

[mgbọrọgwụ @ centos7 ~] # yum groupinfo virtualization-hypervisor
.... Otu: Virtualization Hypervisor Group-Id: virtualization-hypervisor Nkọwa: Ntọala ndị ọbịa nwere ike ịnweta omume ọma. Ihe ngwugwu
   = arahụ
   = qemu-kvm
 Nhọrọ nchịkọta: qemu-kvm-ngwaọrụ

[mgbọrọgwụ @ centos7 ~] # yum groupinfo virtualization-ngwaọrụ
.... Otu: Ngwa oru oma Otu-Id: virtualization-tools Nkọwa: Ngwaọrụ maka ijikwa foto mebere na njikọ Nchịkọta ndabere:
   = libguestfs
 Nhọrọ nchịkọta: libguestfs-java libguestfs-tools libguestfs-tools-c

[mgbọrọgwụ @ centos7 ~] # yum groupinfo virtualization-platform
.... Otu: Virtualization Platform Group-Id: virtualization-platform Bayani: Na-enye interface iji nweta ma chịkwaa arịa dị mma na ndị ọbịa. Nchịkọta chọrọ: libvirt
   = libvirt-ahia
   = onye obula
 Nhọrọ nhọrọ: nsu-vird-libvirt nsu-vird-multicast nsu-vird-serial libvirt-cim libvirt-java libvirt-snmp perl-Sys-Virt

Wayzọ ọzọ iji nweta Ndepụta zuru ezu nke ngwugwu arụnyere bụ ihe ndị a:

[mgbọrọgwụ @ centos7 ~] # yum ndepụta arụnyere
[mgbọrọgwụ @ centos7 ~] # yum ndepụta arụnyere> install.txt

Ikwu banyere Hypervisor

[mgbọrọgwụ @ centos7 ~] # egrep "(vir | kvm | qemu)" installed.txt
ipxe-roms-qemu.noarch 20130517-8.gitc4bce43.el7_2.1 @Updates libvirt.x86_64 1.2.17-13.el7_2.5 @Updates libvirt-client.x86_64 1.2.17-13.el7_2.5 @Updates libvirt- daemon.x86_64 1.2.17-13.el7_2.5 @Updates libvirt-daemon-config-network.x86_64 1.2.17-13.el7_2.5 @Updates libvirt-daemon-config-nwfilter.x86_64 1.2.17-13.el7_2.5 .86 @Updates libvirt-daemon-drivers-interface.x64_1.2.17 13-7.el2.5_86 @Updates libvirt-daemon-onye ọkwọ-lxc.x64_1.2.17 13-7.el2.5_86 @Updates libvirt-daemon-driver- network.x64_1.2.17 13-7.el2.5_86 @Updates libvirt-daemon-driver-nodedev.x64_1.2.17 13-7.el2.5_86 @Updates libvirt-daemon-driver-nwfilter.x64_1.2.17 13-7.el2.5_86 .64 @Updates libvirt-daemon-driver-qemu.x1.2.17_13 7-2.5.el86_64 @Updates libvirt-daemon-driver-secret.x1.2.17_13 7-2.5.el86_64 @Updates libvirt-daemon-driver- nchekwa.x1.2.17_13 7-2.5.el86_64 @Updates libvirt-daemon-kvm.x1.2.17_13 7-2.5.el86_64 @Updates libvirt-python.x1.2.17_2 7-86.el64 @Base qemu-img. x10_1.5.3 105: 7-2.7.el86_64 @Ugbogi kwemu-kvm.x10_1.5.3 105: 7 2.7-86.el64_10 @Updates qemu-kvm-common.x1.5.3_105 7: 2.7-86.el64_1.13 @Updates virt-what.x6_7 0.14-9.el7 @Base virt-who.noarch 2.1-XNUMX. elXNUMX_XNUMX @ Emelitere

Rịba ama na mmepụta dị n'elu na-egosi ebe nchekwa ngwugwu nke ọ bụla ka arụnyere na. Site n'ụzọ, anyị na-enyocha n'ụzọ doro anya na anyị na-arụ ọrụ na ụdị CentOS 7.2. Anyị nwekwara ike ịhụ nke ahụ, na nza ejiri mee na ndepụta nke nchịkọta, dịka ọmụmaatụ, ngwugwu ndị na -ekwu okwu efu nke bukwa akụkụ nke Virtualization Platform.

Anyị na-atụ aro chọgharịa na Ndepụta nke arụnyere nchịkọta a bit.

Ọrụ ikpeazụ ... ma ọ bụ ihe fọrọ nke nta ka ọ bụrụ

Mechaa nhazi hypervisor centos7.fromlinux.fan ma mepụta igwe izizi gị, nke dịpụrụ adịpụ, dịka anyị gosiri n'isiokwu ahụ Virt-Manager na virsh: Ime nchịkwa site na SSH.

Maka ndị na-agụ akwụkwọ na-ahọrọ mgbe niile a na-eti ihe, anyị ga-arara ya nye isiokwu na-esonụ «CentOS 7 Hypervisor: Nchịkwa Ime Obodo» nke anyị ga-eji iwu na-eme ihe nwa agbọghọ y ịwụnye-nwụnye gbapụ na ebe anyị na-arụ ọrụ sysadmin.fromlinu.fan.

Nzọụkwụ ntinye site na ihe oyiyi

Kwuru:

  • Ihe oyiyi ahụ na-akọwapụta onwe ya. Onye nrụnye Anaconda site na CentOS ọ bụ ngwa ọrụ dị ike na klaasị ya
  • Shownkpụrụ ndị egosiri bụ maka ịnwale naanị na agaghị ewere oge ọ bụla ka akwadoro ma ọ bụ gọọmentị.
  • Usoro nke enyere iji mejuo ihe onye nrụnye chọrọ, bụ site na ihe atụ ọ dịghị ihe ọzọ
  • Otu nke anyị ahọpụtabeghị na nchekwa - Iwu gbasara nchekwa ọ bụla, apụtaghị na ị kwesịrị. Ihe bụ ihe ọzọ, anyị na-agba gị ka ị jiri ya
  • Site na nhọrọ KDUMP ọ na-eme otu ihe ahụ na nke gara aga
  • Na nhazi nke Network, anyị anaghị emetụ ọtụtụ nhọrọ n'ihi na anyị achọghị ha iji mee sava nyocha anyị. Ọ baghị uru ikwu, ọbụlagodi na ọ bụ ule, ọ na-arụ ọrụ nke ọma
  • Ofdị nkewa na oke nke nkewa ya bụ ihe atụ na ọ dịghị ihe ọzọ
  • Nhọrọ SOFTWARE bụ inweta Hypervisor na ọnụ ọgụgụ nchịkọta kachasị arụnyere. Anyị na-akpọ gị òkù ime ka ihe nkesa gị baawanye na mmepụta
  • Banyere INWU NKWUKWU, anyị na-ekwughachi na anyị na-eji ebe nchekwa mpaghara n'ihi enweghị njikọ ụlọ na .ntanetị. Anyị na-arụ ọrụ na ebe nchekwa dị na mpaghara nke ndị enyi na ndị ọrụ ibe anyị ibudatara na WWW
  • Ọ bụrụ na ị malitegharịrị sistemụ arụmọrụ na njedebe nke nwụnye, a gwara gị ka ị gụọ ma kwado nkwekọrịta nkwekọrịta ikpeazụ, usoro nke igodo ahụ bụ "1", "2" na "c", na-enweghị akara nkwupụta. Ana m asị gị nnọọ!. 😉

Osisi onyonyo


Ọdịnaya nke isiokwu agbaso ụkpụrụ anyị nke ụkpụrụ nduzi. Kpesa mmejọ pịa ebe a.

Ihe 6 kwuru, hapụ nke gị

Hapu okwu gi

Adreesị email gị agaghị bipụtara. Chọrọ ubi na-akara na *

*

*

  1. Rụ ọrụ maka data: Miguel Ángel Gatón
  2. Nzube nke data: Nchịkwa SPAM, njikwa okwu.
  3. Ikike: Nkwenye gị
  4. Nkwurịta okwu nke data: Agaghị agwa ndị ọzọ data ahụ ma ọ bụghị site na iwu.
  5. Nchekwa data: Ebe nchekwa data nke Occentus Networks (EU) kwadoro
  6. Ikike: Oge obula inwere ike igbachi, weghachite ma hichapụ ihe omuma gi.

  1.   Zodiac Carburus dijo

    Ezigbo mma Post, Fico. M na-atụ anya onye na-esote na nchịkwa dịpụrụ adịpụ site na virsh na virt-install. Ana m etinye ihe na emeputa ihe ederede gi PYMES ma rue ugbu a ana m eme nke oma. Daalụ Fico

  2.   nri dijo

    I meela ezigbo enyi Zodiac. Isiokwu ndị a na-adọrọ mmasị ndị na-agụ ole na ole, ọ dị ka.

  3.   juanjo dijo

    Isiokwu ndị ahụ dị mma, ọ na-enye aka dị ka ihe ncheta maka ihe ị na-echefu ma ọ bụ na-etinyeghị onyinye ahụ dị ukwuu

    1.    nri dijo

      Daalụ maka ịza ajụjụ, Juanjo. Mụ onwe m na-eji isiokwu ndị a dị ka nduzi na ntinye.

  4.   Ismael Alvarez Wong dijo

    Fico, dị ka mgbe niile na usoro dum ruo ugbu a, isiokwu dị na ya dị ezigbo mma.
    Ọ dị mgbe niile ihe ọhụụ: lee, ọ bụ, kama ịwụnye CentOS «ntakiri» (ọ bụ ihe a na-emebu); Site na otu usoro nwụnye, a họpụtara gburugburu «Virt Host» yana ya Virt Platform yana ọba akwụkwọ dakọtara.
    Usoro nke ịgbanwe ndozi ntinye ndabara nke onye ọ bụla na-eji (ebe nchekwa dị na CentOS installer ISO DVD) maka nchekwa mpaghara na netwọkụ enyere site na http dịkwa ezigbo mma (ebe a ka ọ dị mkpa, hazie kaadị ahụ na mbụ network, dị mma nke a). Ihe a na - emebu bụ na mgbe ịbanyechara ihe nkesa maka oge izizi ma hazie usoro ntanetị anyị, anyị na-enyere ebe nchekwa obodo ahụ aka.
    Nnọọ uru niile nzọụkwụ nyere na nnukwu nkọwa na-esi chọpụta ihe niile arụnyere nchịkọta na metụtara Virt kemu (si anaconda.cfg, na-arịọnụ ndị ISO DVD repository na-arụ ọrụ mgbe ahụ iji ìgwè dị iche iche).
    Enweghị enyi, ihe kachasị na ozi yana dịka paragraf ikpeazụ, isiokwu na-esonụ na-ekwe nkwa karịa.

  5.   nri dijo

    Daalụ enyi Wong maka okwu gị. Agbalịrị m ime ihe dị iche maka ịmara nchịkọta ndị arụnyere. Echere m na ọ bụ isiokwu na-adọrọ mmasị, ọ bụ ya mere m ji welite ya. Ana m eche gị n'isiokwu m ndị ọzọ