CentOS 7 Hypervisor I - SMB Networks

Faʻasino lautele o le faʻasologa: Fesootaiga komepiuta mo SMEs: Faatomuaga

Lau faitau le au faitau!

O nisi taimi matou te feagai ma Tomai Faʻapitoa e naʻo le lagolagosua i ni Faagaioiga Faagaioiga i taimi o a latou Fuafuaga. Tuuina atu amataga Na matou oʻo lava i le aufaigaluega, i le taimi o lenei gaioiga, naʻo le lagolagoina o mea nei:

  • Microsoft Windows Server 2003 ma le Aiga
  • Microsoft Windows Server 2008 ma le Aiga
  • Microsoft Windows Server 2012 ma le Aiga
  • Red Hat Enterprise Linux RHEL 4, 6, ma le 7
  • SUSE Linux Enterprise Server 12

Debian, Ubuntu, isi ...?. Leai se mea O luga e le o lona uiga e le mafai ona tatou faʻapipiʻi se eseʻese faiga faʻagaioiga, ae o le a le mea o le a tupu i le tusi pasi, avetaʻavale, patch, faʻafouina, etc. Tuu atu i tagata faitau taʻitasi e tusia a latou lava faaiuga.

O le aso na ou iloa ai e ala i laʻu lava fesoʻotaʻiga ma laʻu uo ma laʻu paʻaga ia Julio Cesar Carballo - e faigaluega i se taua Data Center - na ia faʻaaluina pe tusa o le 10 aso faʻapipiʻi 180 polofesa tautua «mai a latou atigipusa i le fata ma le aofaʻi cabling aofia ai»Ma le Ubuntu faʻagaioiga faʻagaioiga.

Tekinolosi e mafai ona faʻaaoga Debian, Ubuntu, CentOS - RHEL, SuSE, poʻo isi faʻagaioiga UNIX Pei -e ui lava i faatulagaga- fautuaina mo ia galuega, pei o virtualization lagolago i polofesa 'auʻaunaga o soʻo se tulaga.

I lenei tusitusiga tatou te le ofaina le tele o soʻotaga i le va o laina, aua matou te manatu o muamua pou i le faasologa «Fesootaiga komepiuta mo SMEs«, Ma ua uma ona masani i igoa, faʻapuʻupuʻu ma faʻauiga. O a na itulau?:

Ma e ui lava e le o faʻapitoa mai le faʻasologa, o le faitauina o le tala o loʻo sosoʻo mai e aoga tele, aua o se vaega e faʻamaonia ai le filifiliga o tufatufaina Linux na matou faia mo le vaega ua taua o pou:

Aso nei matou taumafai e ofo a Taiala faʻapipiʻi se Hypervisor ma CentOS - CentOS Hypervisor. Taʻitasi tagata faitau e tatau ona fetuʻunaʻi ia tusa ai ma le masini a lau 'auʻaunaga, ma i le kamupanī manaʻoga. Ua tatou tuua le Laasaga i lea laasaga Faʻapipiʻi ala Ata, e faʻafaigofie ai le faitauga o lenei tusitusiga.

  • Manatua o Red Hat, Inc. o le lagolago sili a le CentOS, ma o Red Hat, Inc o ia lea na te tausia le atinaʻeina o le libvirt, virt-manager, oVirt, ma toetoe lava o le tele o mea uma e fesoʻotaʻi ma virtualization ala Qemu. -KVM ma lona pulega.

Laʻititi fetuʻunaʻiga pe a maeʻa sitepu ma lea laasaga

Ia faʻafaigofie le olaga, aua e leai lava a tatou DNS i le LAN, matou te fesuiaʻi laititi le faila / etc / talimalo:

[aʻa @ centos7 ~] # nano / etc / au
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

Matou te faʻailoa manino atu fale teuoloa o le a matou faʻaogaina ma faʻafouina le faiga:

[root @ centos7 ~] # cd /etc/yum.repos.d/
[root @ centos7 yum.repos.d] # ls -l
aofaʻi 28 -rw-r - r--. 1 aʻa aʻa 1664 Tes 9 2015 CentOS-Base.repo -rw-r - r--. 1 aʻa aʻa 1309 Tes 9 2015 CentOS-CR.repo -rw-r - r--. 1 aʻa aʻa 649 Tes 9 2015 CentOS-Debuginfo.repo -rw-r - r--. 1 aʻa aʻa 290 Tes 9 2015 CentOS-fasttrack.repo -rw-r - r--. 1 aʻa aʻa 630 Tes 9 2015 CentOS-Media.repo -rw-r - r--. 1 aʻa aʻa 1331 Tes 9 2015 CentOS-Punaoa.repo -rw-r - r--. 1 aʻa aʻa 1952 Tes 9 2015 CentOS-Vault.repo

E moni e maloloina le faitau i mea o loʻo iai i le amataga o faila faasilasilaga mai le faleoloa ua fautuaina e le CentOS. O suiga na matou faia iinei e mafua mai i le mea moni e leai sa matou Initaneti ma matou te galulue faʻatasi ma faleoloa i totonu o le atunuʻu na aumai mai le WWW.

[root @ centos7 yum.repos.d] # mkdir muamua
[root @ centos7 yum.repos.d] # mv CentOS- * original /

[root @ centos7 yum.repos.d] # nano centos-base.repo
[centos-base] igoa = CentOS- $ releasever baseurl = http: //10.10.10.1/repos/centos/7/base/ gpgcheck = 0 mafai = 1

[root @ 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

[root @ centos7 yum.repos.d] # yum mama uma
Mauaina o plugini: vave tele, faʻamamaina o le fufuluina o fale teu oloa: centos-base centos-faʻamamaina Faʻamamaina mea uma

[root @ centos7 yum.repos.d] # yum faafouga
Uila plugins: saoasaoa o le moto, centos-base langpacks | 3.4 kB 00:00 centos-faʻafouga | 3.4 kB 00:00 (1/2): centos-base / primary_db | 5.3 MB 00:01 (2/2): centos-updates / primary_db | 9.1 MB 00:01 Fuafuaina vave faʻata leai ni afifi faʻailogaina mo le faʻafouga

O le feau "Leai (i ai) afifi na makaina mo le toefaʻafouina" - "Leai ni afifi na makaina mo le faʻafouina" faʻailoa mai e, i le faʻalauiloaina o sili ona lata mai fale teuoloa avanoa mo i matou i le taimi o le faʻapipiʻiina, o le sili ona lata mai afifi na faʻapipiʻiina.

O a pusa ole Hypervisor-related na faʻapipiʻiina?

I le pusa / aʻa, O le faʻapipiʻi Anaconda tuʻu se faila ma faʻapitoa taua na faʻaaogaina ile taimi ole CentOS. Matou te fia iloa poʻo fea afifi na faʻapipiʻiina, talu mai nei matou te leʻi faʻaaogaina saʻo le poloaʻiga yum faʻapipiʻi, pe a faʻaaogaina se kalafi installer.

[root @ centos7 ~] # pusi anaconda-ks.cfg ....
% afifi @ ^ virtualization-host-environment
@faʻavae
@ compat-faletusi
@autu
@debug
@ virtualization-hypervisor
@ virtualization-platform
@ virtualization-mea faigaluega
....

O afifi - afifi ma le faailoga @ i le taimi muamua, latou te faʻailoaina Pusa Pusa. I la matou tulaga, ina ia maua le lisi o Vaega - Vaega, matou te faʻaopopoina le DVD faʻatulagaina i le faʻalauiloaina o fale teu oloa:

[Root @ centos7 ~] # Mauga / dev / sr0 / ala faʻasalalau /
faʻapipiʻi: / dev / sr0 e tusitusi-puipuia, faʻapipiʻi faitauga naʻo

[root @ centos7 ~] # nano /etc/yum.repos.d/centos-media.repo
[centos-media] igoa = CentOS- $ releasever baseurl = faila: /// media gpgcheck = 0 ua mafai = 1

[root @ centos7 ~] # yum mama uma
Utaina plugins: sili ona vave faʻamalama, langpacks Faʻamamaina fale teu oloa: centos-base centos-media centos-faʻamamaina Faʻamamaina mea uma Faʻamamaina lisi o televave faʻata

[root @ centos7 ~] # yum faafouga
Uila plugins: saoasaoa o le moto, centos-base langpacks | 3.4 kB 00:00 centos-uiga | 3.6 kB 00:00 centos-faʻafouga | 3.4 kB 00:00 (1/4): centos-media / group_gz | 155 kB 00:00 (2/4): centos-media / primary_db | 5.3 MB 00:00 (3/4): centos-base / primary_db | 5.3 MB 00:00 (4/4): senitori-faʻafouga / primary_db | 9.1 MB 00:01 Fuafuaina vave faʻata leai ni afifi faʻailogaina mo le faʻafouga

[root @ centos7 ~] # yum repolist uma
Utaina plugins: saoasaoa faʻamalama, langpacks Utaina faʻata televave mai cache teuina nofoaga teu ai igoa igoa faleoloa centos-tulaga tulaga CentOS-7 mafai: 9,007 centos-media CentOS-7 mafai: 9,007 centos-faʻafouga CentOS-7 mafai: 2,560 repolist: 20,574

[root @ centos7 ~] # yum lisi lisi
... Avanoa Siosiomaga Vasega: Minimal Faʻapipiʻi Compute Node Infrastructure Server Server ma Lolomi Faila Autu Upega Tafaʻilagi Virtualization Host Server ma GUI Gnome Desktop Plasma KDE Workspaces Atinaʻe ma Creative Workstation Avanoa Avanoa: Faʻataʻotoga Faʻatautaia Lagolago Faletusi Legacy UNIX lagolago Faʻataʻitaʻiga Meafaigaluega Atinae Meafaigaluega Puipuiga Meafaigaluega Puipuiga Faʻataʻiga Faʻataʻitaʻiga Meafaigaluega Initaneti Console. Lagolago faasaienisi Smart card lagolago ...

ó

[root @ centos7 ~] # yum kulupu lisi lisi id
Utaina plugins: sili ona vave faʻataʻitaʻi, langpacks O loʻo faʻatautaia le saoasaoa o le faʻata mai le cache i luga o le upega tafaʻilagi Avanoa Vaega Siosiomaga: Laʻititi faʻapipiʻiina Compute Node (compute-node-environment) Auʻaunaga tetele (infrastructure-server-environment) Server ma lolomi faila (faila-lolomi -server-environment) 'Upega tafaʻilagi autu (' upega tafaʻilagi-server-siʻosiʻomaga) Faʻafeiloaʻiga talimalo (virtualization-host-siʻosiʻomaga) Server ma le GUI (graphic-server-environment) Gnome desktop (gnome-desktop-environment) Plasma KDE workspaces ( kde-desktop-environment) Atinaʻeina ma Foafoaga Galuega (fausia-falefaigaluega-siʻosiʻomaga) Faʻapipiʻi Vasega: Talafaʻatasia Potutusi (compat-faletusi) Legacy UNIX Lagolago (legacy-unix) Faʻataʻitaʻiga Meafaigaluega Meafaigaluega (faiga-admin-mea faigaluega ) Puipuiga meafaigaluega (saogalemu-mea faigaluega) Avanoa vaega: Faʻataʻitaʻiga pulega (faiga-pulega) Atinaʻe mea faigaluega (atinaʻe) Faʻataata Ad mea faigaluega auaunaga (kalafi-admin-mea faigaluega) Mea faigaluega mo le Initaneti faʻamafanafana. (console-initaneti) Lagolago faasaienisi (faasaienisi) Lagolago mo le smart card (smart-card)

I le taimi o le faapipiiina tatou filifilia le autu filifiliga Talimalo talimalo ma totonu o ia i le Virtualization tulaga:

[root @ centos7 ~] # yum groupinfo virtualization-host-siosiomaga
---- Vaega o le Siosiomaga: Virtualization Host Siosiomaga Id: virtualization-host-siosiomaga Faʻamatalaga: Minimum virtualization host. Vaega faʻamalosia: faʻavae autu
    virtualization-hypervisor
    virtualization-mea faigaluega
Vaega e filifili ai: debugging + network-file-system-client + remote-system-management
    virtualization-tulaga

[Root @ centos7 ~] # yum groupinfo faʻatulagaina-hypervisor
.... Vaega: Virtualization Hypervisor Group-Id: virtualization-hypervisor Faʻamatalaga: O le laʻititi mafai ono virtualization talimalo talimalo. Faʻamalosia afifi:
   = taupulega
   = qemu-kvm
 Filifiliga afifi: qemu-kvm-mea faigaluega

[Root @ centos7 ~] # yum groupinfo faʻaaoga-masini
.... Vaega: Meafaʻatino meafaigaluega Vasega-Id: faʻamaʻaina-meafaigaluega Faʻamatalaga: Meafaigaluega mo le offline ata pulega ata. Afifi le aoga:
   = faʻaletonu
 Filifiliga afifi: libguestfs-java libguestfs-mea faigaluega libguestfs-meafaigaluega-c

[Root @ centos7 ~] # yum groupinfo virtualization-platform
.... Vaega: Virtualization platform Group-Id: virtualization-platform Faʻamatalaga: Faʻaavanoa se fesoʻotaʻiga e ulufale ai ma faʻatonutonu vaʻaia faʻavaʻa ma malo. Manaʻomia afifi: libvirt
   = libvirt-client
   = virt-o ai
 Filifiliga afifi: pa-virtd-libvirt pa-virtd-multicast pa-virtd-serial libvirt-cim libvirt-java libvirt-snmp perl-Sys-Virt

O le isi auala e maua ai le Lisi Atoa o Pusa Faʻapipiʻiina o le nei:

[root @ centos7 ~] # yum lisi faʻapipiʻi
[root @ centos7 ~] # lisi o le lisi ua faapipiiina> install.txt

Aiga i le Hypervisor

[root @ centos7 ~] # egrep "(vir | kvm | qemu)" install.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-driver-interface.x64_1.2.17 13-7.el2.5_86 @Updates libvirt-daemon-driver-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- storage.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 @Updates qemu-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 @Updates

Manatua o le i luga galuega faatino faʻaali mai ai fale teu taʻitasi taʻitasi afifi na faʻapipiʻiina. I le auala, matou te suʻea faʻasolosolo o loʻo matou galulue ma le CentOS 7.2 lomiga. E mafai foi ona tatou vaʻaia lena mea, faʻatasi ai ma le faamama i le lisi o afifi, mo se faʻataʻitaʻiga, o le afifi libguestfs o se vaega foi o le Virtualization Platform.

Matou te fautua atu vaʻavaʻai teisi i le Lisi o Afifi Faʻapipiʻi.

Faagaioiga mulimuli ... pe toeititi

Faʻauma le hypervisor configuration centos7.fromlinux.fan ma fausia lau muamua masini tafailagi, remotely, pei ona faʻailoa mai i le tusitusiga Virt-Manager ma virsh: Remote Administration e ala i le SSH.

Mo le aufaitau e mananaʻo i le Console taia i taimi uma, matou te faʻapaʻia le mataupu e sosoʻo «CentOS 7 Hypervisor: Remote Administration» lea o le a matou faʻaaogaina ai tulafono taupou y toe faʻapipiʻi tamoʻe mamao mai le tatou falefaigaluega sysadmin.fromlinu.fan.

Laʻasaga-i lea laasaga faʻapipiʻi ala i ata

Matauga:

  • O ata e faamatala lava ia. Le faʻapipiʻi Anaconda e le CentOS o se meafaigaluega sili ona mamana i lana vasega
  • O faʻatauaina faʻaalia e mo naʻo faʻataʻitaʻiga faʻamoemoe ma e le tatau ona avea e pei ona fautuaina pe aloaʻia i soʻo se taimi.
  • O le faʻatonuga mulimuli atu e faʻamalieina ai manaʻoga o le installer, e ala i faʻataʻitaʻiga leai se isi mea
  • Le mea matou te le i filifilia Filifiliga Faiga Faʻavae - FAIGA FAIGALUEGA soo se mea, e le o lona uiga e tatau ona. E le gata i lea, matou te valaʻaulia oe e faʻaoga
  • Faatasi ai ma le filifiliga a le KDUMP e tupu tutusa lava ma le mea na muamua atu
  • I le faʻatulagaina o le Network, matou te le o paʻi i le tele o filifiliga aua matou te le manaʻomia latou e faia ai la matou virtual test server. E leai se aoga e fai atu ai, tusa lava pe o se suʻega, e matua saʻo lava
  • Le ituaiga o vaeluaina ma le tele o ona vaeluaina o se faʻataʻitaʻiga ma leai se mea sili atu
  • SOFTWARE SELECTION ole maua lea ole Hypervisor ma le aofaʻi laʻititi o afifi na faʻapipiʻiina. Matou te valaʻaulia oe e faʻatamaoaigaina lau sapalai i le gaosiga
  • E tusa o le INSTALLATION SOURCE, matou te toe fai atu matou te faʻaaogaina fale teuoloa i le lotoifale ona o le leai o se fesoʻotaʻiga i le Initaneti. Matou te galulue faʻatasi ma faleoloa e faʻatau mai e au uo ma paaga mai le WWW
  • Afai a maeʻa le toe amataina o le faʻagaioiga i le iʻuga o le faʻapipiʻiina oe e talosagaina e faitau ma faʻamaonia le Final Laisene Maliega, o le faʻatonuga o ki o le "1", "2" ma le "c", aunoa ma le upusii. Faafetai foʻi!. 😉

Faʻafanua Ata


O mataupu o le tusitusiga e tausisi ia tatou mataupu silisili o amio lelei faʻatonu. E lipotia se mea sese kiliki iinei.

6 manatu, tuʻu lau

Tuʻu lau faamatalaga

o le a le lomia lou tuatusi imeli.

*

*

  1. E tali atu mo faʻamatalaga: Miguel Ángel Gatón
  2. Faamoemoega o faʻamatalaga: Pulea le SPAM, faʻamatalaga pulega.
  3. Tulaga faʻatulafonoina: Lau maliega
  4. Fesoʻotaʻiga o faʻamatalaga: O faʻamatalaga o le a le fesoʻotaʻi atu i isi vaega vagana i tulafono faʻatulafonoina.
  5. Teuina o faʻamatalaga: Faʻamaumauga tuʻufaʻatasia e Occentus Networks (EU)
  6. Aia Tatau: I soo se taimi e mafai ai ona e faʻatapulaʻaina, toe maua ma aveʻese au faʻamatalaga.

  1.   Zodiac Carburus malo

    Lelei tele Post, Fico. O loʻo ou vaʻavaʻai foʻi i le isi mea i luga ole pulega mamao e ala i virsh ma virt-install. O loʻo ou faʻaaogaina le tele o au tusitusiga mai le PYMES series i le gaosiga ma o lea ua ou sologa lelei. Faʻafetai Fico

  2.   Feterika malo

    Faʻafetai tele lava uo Zodiac. O nei mataupu e fiafia iai nai tagata faitau, e foliga mai.

  3.   Juanjo malo

    O tusitusiga e lelei, e avea ma mea e manatua ai mea mo mea e te faʻagaloina pe sese ai le saofaga.

    1.    Feterika malo

      Faʻafetai mo le faʻamatalaga, Juanjo. O aʻu lava ia ou te faʻaaogaina nei tusitusiga o ni taʻiala i le faʻaaogaina.

  4.   Ismael Alvarez Wong malo

    Fico, e pei ona masani ai ma i le atoaga o le faasologa, ua matua lelei lava le tusitusiga o loʻo fesiligia.
    E i ai lava se mea fou: o lenei o lena, nai lo le faʻapipiʻiina o le CentOS «laʻititi» (o le mea masani lea); Mai lava i le faʻapipiʻiina o gaioiga, o le siʻosiʻomaga o le «Virt Host» e filifilia faʻatasi ai ma le Virt Platform ma faletusi talafeagai.
    O le metotia o le suia o le faaletonu faapipiiina faʻavae e faʻaaoga e tagata uma (o le teuina o loʻo i totonu o le CentOS installer DVD ISO) mo se faleoloa i le lotoifale i luga o le upega tafaʻilagi mafai e http e lelei tele foi (iinei e manaʻomia, faʻamau muamua le kata fesoʻotaʻiga, lelei tele foi lenei). O le mea masani o le maeʻa ona e ulu i totonu o le 'auʻaunaga mo le taimi muamua ma faʻatulagaina la matou fesoʻotaʻiga fesoʻotaʻiga, matou te faʻaavanoaina le faleoloa e teu ai.
    E aoga tele i laʻasaga uma na tuʻuina mai i le maoaʻe o auiliiliga pe faʻafefea ona suʻesuʻe uma mea na faʻapipiʻiina e fesoʻotaʻi ma le Virt kemu (mai le anaconda.cfg, i le faʻapipiʻiina o le faleoloa DVD DVD e faʻaoga ona faʻaaoga ai lea o Vaega).
    Leai se uo, o le maualuga i faʻamatalaga ma e tusa ai ma le parakalafa mulimuli, o le tala o loʻo sosoʻo mai folafolaina sili atu mea.

  5.   Feterika malo

    Faafetai tele i lau uo Wong mo lau faamatalaga. Sa ou taumafai e uia se auala ese i auala e iloa ai le faapipiiina afifi. Sa ou manatu o se mataupu manaia, ma o le mafuaaga lena na ou aumaia ai. Ou te faʻatali mo oe i laʻu isi tala