CentOS 7 Hypervisor I - Ma network a SMB

Chizindikiro chonse cha mndandanda: Ma Network Networks a ma SME: Mau Oyamba

Okondedwa Owerenga!

Nthawi zina timakumana ndi Professional Servers zomwe zimangothandiza machitidwe ena pa Kupereka kwawo - Kupereka choyambirira. Tidakumana ndi ma seva omwe, panthawiyi, amangothandiza zotsatirazi:

  • Microsoft Windows Server 2003 ndi Banja
  • Microsoft Windows Server 2008 ndi Banja
  • Microsoft Windows Server 2012 ndi Banja
  • Red Hat Enterprise Linux RHEL 4, 6, ndi 7
  • SUSE Linux Enterprise Server 12

Debian, Ubuntu, zina ...?. Palibe. Zomwe tatchulazi sizitanthauza kuti sitingakhazikitse njira ina yogwiritsira ntchito, koma chidzachitike ndi chitsimikizo, madalaivala, zigamba, zosintha, ndi zina zambiri. Lolani kuti wowerenga aliyense azilingalire yekha.

Lero ndazindikira kudzera kulumikizana ndekha ndi mnzanga komanso mnzanga Julio Cesar Carballo - amagwira ntchito yofunika ku Data Center - kuti adakhala masiku pafupifupi 10 akuyika ma seva 180 odziwika bwino «kuyambira mabokosi awo kupita pachithandara chophatikizira zonse»Ndi mawonekedwe a Ubuntu.

Mwaukadaulo ndizotheka kugwiritsa ntchito Debian, Ubuntu, CentOS - RHEL, SuSE, kapena machitidwe ena UNIX Monga -ngakhale kuti systemd- yovomerezeka pantchito yotere, monga kuthandizira kwamphamvu pamaseva akatswiri amtundu uliwonse.

Munkhaniyi sitikupatsani maulalo ambiri pakati pamizere, chifukwa tikuganiza kuti zolemba zam'mbuyomu mndandanda «Ma Network Networks a ma SME«, Ndipo amadziwa kale mayina, mayina ndi matanthauzidwe. Masamba ake ndi ati?:

Ndipo ngakhale sizichokera mwachindunji, kuwerenga nkhani yotsatirayi ndikothandiza, chifukwa kumatsimikizira pang'ono kusankha magawidwe a Linux omwe tapanga pazomwe tatchulazi:

Lero timayesa kupereka Zotsatira kukhazikitsa Hypervisor ndi CentOS - Woyang'anira CentOS. Wowerenga aliyense ayenera kusintha malinga ndi hardware ya seva yanu, ndi zofunikira za wopanga. Tasiya fayilo ya Khwerero ndi Gawo Kuyika kudzera pa Zithunzi, kuti athandizire kuwerenga nkhaniyi.

  • Kumbukirani kuti Red Hat, Inc. ndi omwe amathandizira kwambiri CentOS, ndikuti Red Hat, Inc ndiye wopanga ma libvirt, manejala wamafuta, oVirt, ndipo pafupifupi chilichonse chokhudzana ndi kuzindikira pogwiritsa ntchito Qemu -KVM ndi kayendetsedwe kake.

Kusintha kochepa pambuyo poyika pang'onopang'ono

Kupangitsa moyo kukhala wosavuta, chifukwa tidalibe DNS mu LAN, timasintha fayilo pang'ono / etc / wolandira:

[root @ centos7 ~] # nano / etc / makamu
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 :: 1 localhost localhost.

Timalengeza motsimikiza zosungira zomwe tikugwiritsa ntchito ndikusintha makinawa:

[miz @ centos7 ~] # cd /etc/yum.repos.d/
[miz @ centos7 yum.repos.d] # ls -l
okwana 28 -rw-r-r--. Muzu 1 mizu 1664 Dec 9 2015 CentOS-Base.repo -rw-r-r--. Muzu 1 mizu 1309 Dec 9 2015 CentOS-CR.repo -rw-r-r--. Muzu 1 muzu 649 Dec 9 2015 CentOS-Debuginfo.repo -rw-r-r--. Muzu 1 muzu 290 Dec 9 2015 CentOS-fasttrack.repo -rw-r-r--. Muzu 1 muzu 630 Dec 9 2015 CentOS-Media.repo -rw-r-r--. Muzu 1 muzu 1331 Dec 9 2015 CentOS-Sources.repo -rw-r-r--. Muzu 1 muzu 1952 Dec 9 2015 CentOS-Vault.repo

Zachidziwikire kuti ndibwino kuwerenga zomwe zili m'mafayilo oyambira kuchokera ku malo osungidwa a CentOS. Zosintha zomwe timapanga pano zimachitika chifukwa choti tilibe intaneti ndipo timagwira ntchito ndi nkhokwe zakomweko zojambulidwa kuchokera ku WWW.

[miz @ centos7 yum.repos.d] # mkdir choyambirira
[miz @ centos7 yum.repos.d] # mv CentOS- * choyambirira /

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

[miz @ centos7 yum.repos.d] # nano centos-zosintha.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 yeretsani zonse
Mapulagini odzaza: fastestmirror, malipanga Kukonza malo osungira: zosintha za centos-base centos Kukonza zonse

[root @ centos7 yum.repos.d] # yum zosintha
Mapulagini odzaza: fastestmirror, malipoti oyambira ma centos | 3.4 kB 00:00 zosintha ma centos | 3.4 kB 00:00 (1/2): centos-base / primary_db | 5.3 MB 00:01 (2/2): masentos-zosintha / primary_db | 9.1 MB 00:01 Kuzindikira magalasi ofulumira kwambiri Palibe maphukusi omwe amadziwika kuti asinthidwe

Uthengawo "Palibe (alipo) maphukusi omwe adasinthidwa" - ukuwonetsa kuti, polengeza malo osungira omwe tili nawo nthawi yonseyi, makamaka maphukusi omwe adalipo kale.

Ndi maphukusi ati okhudzana ndi Hypervisor omwe adaikidwa?

Mu foda / mizu, Wokhazikitsa Anaconda siyani fayilo yokhala ndi magawo ofunikira kwambiri omwe adagwiritsidwa ntchito pantchito yotumiza CentOS. Tikufuna kudziwa ma phukusi omwe adaikidwa, popeza mpaka pano sitinagwiritse ntchito lamuloli yum kukhazikitsa, mukamagwiritsa ntchito chojambulira.

[miz @ centos7 ~] # mphaka anaconda-ks.cfg ....
% maphukusi @ ^ kukonzanso-kokhala-chilengedwe
@alirezatalischioriginal
@ malaibulale
@woso_updates
@yamautisyouten
@ virtualization-hypervisor
@ virtualization-nsanja
@ zida zamakono
....

Phukusi - phukusi ndi chizindikirocho @ poyamba, amawonetsa Magulu a Paketi. M'malo mwathu, kuti tipeze mndandanda wa Magulu - Magulu, timayenera kuwonjezera DVD yokhazikitsira kulengeza kwa nkhokwe:

[miz @ centos7 ~] # kukwera / dev / sr0 / media /
mount: / dev / sr0 ndiyotetezedwa ndi kulemba, kuyika kuwerenga-kokha

[miz @ centos7 ~] # nano /etc/yum.repos.d/centos-media.repo
[centos-media] name = CentOS- $ releasever baseurl = fayilo: /// media gpgcheck = 0 inathandiza = 1

[root @ centos7 ~] # yum yeretsani zonse
Mapulagini onyamula: fastestmirror, malipanga oyeretsera malo osungira: centos-base centos-media centos-zosintha Kukonza chilichonse Kukonza mndandanda wazipangizo zofulumira kwambiri

[root @ centos7 ~] # yum zosintha
Mapulagini odzaza: fastestmirror, malipoti oyambira ma centos | 3.4 kB 00:00 centos-mean | Zosintha za 3.6 kB 00: 00 centos | 3.4 kB 00:00 (1/4): centos-media / gulu_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): masentos-zosintha / primary_db | 9.1 MB 00:01 Kuzindikira magalasi ofulumira kwambiri Palibe maphukusi omwe amadziwika kuti asinthidwe

[root @ centos7 ~] # yum repolist onse
Mapulagini onyamula: othamanga kwambiri, malipanga Kutsegula magalasi othamanga kuchokera pamalo osungidwa osungira malo osungira dzina Centos-base udindo CentOS-7 yathandiza: 9,007 centos-media CentOS-7 yathandiza: 9,007 centos-zosintha CentOS-7 zathandiza: 2,560 repolist: 20,574

[root @ centos7 ~] # yum mndandanda wamagulu
... Magulu Othandizira Opezekanso: Kukhazikitsa Kakang'ono Kakompyuta Yoyeserera ya Node Infrastructure Server ndi Sindikizani File Basic Web Server Virtualization Host Server ndi GUI Gnome Desktop Plasma KDE Malo Opangira Ntchito ndi Creative Workstation Magulu Omwe Alipo: Ma Library Oyendetsera Makalata Othandizira Cholowa cha UNIX chothandizira zida za Management Management Zida Zopangira Zida Zida Zojambula Zojambula pa Internet Console Tools. Thandizo lazasayansi Kuthandizira makhadi ...

ó

[root @ centos7 ~] # yum mndandanda wamagulu id
Mapulagini omwe adadzaza: othamanga kwambiri, zotsekemera zolowera Kutsegula magalasi kuchokera pa fayilo yosungidwa yomwe ilipo Magulu a Zachilengedwe: Kukhazikitsa kocheperako ka Compute Node (compute-node-chilengedwe) Seva ya zomangamanga (zomangamanga-seva-chilengedwe) Seva ndi fayilo yosindikiza (file-print) -server-environment) Basic web server (web-server-chilengedwe) Virtualization host (virtualization-host-environment) Seva yokhala ndi GUI (graphical-server-chilengedwe) Gnome desktop (gnome-desktop-chilengedwe) Malo ogwirira ntchito a Plasma KDE ( kde-desktop-chilengedwe) Development and Creative Workstation (opanga-malo ogwiritsira ntchito-malo) Magulu Okhazikitsidwa: Malaibulale Ogwirizana (malaibulale amtundu) Cholowa cha UNIX Support (legacy-unix) Zida Zamakina a Systems (system-admin-tools Zida zachitetezo (zida zachitetezo) Magulu omwe akupezeka: Makina oyang'anira (kayendetsedwe ka kayendetsedwe kazida) kutumikira (graphical-admin-tools) Zida zogwiritsa ntchito intaneti. (kutonthoza-intaneti) Kuthandizira kwasayansi (kwasayansi) Kuthandizira makhadi anzeru (makhadi anzeru)

Pakukhazikitsa timasankha njira yayikulu Kusintha Kwawo ndi mkati mwake pa Maofesi a Virtualization:

[root @ centos7 ~] # yum groupinfo kukonzekereratu-malo okhala
- Gulu la Zachilengedwe: Virtualization Host Environment Id: mawonekedwe osungira-chilengedwe-Kufotokozera: Ochepetsa ocheperako. Magulu ovomerezeka: maziko oyambira
    chithunzithunzi-chowonjezera
    zida zogwiritsira ntchito
Magulu osankha: kukonza '+ network-file-system-client + remote-system-management
    virtualization-nsanja

[miz @ centos7 ~] # yum groupinfo virtualization-chiwopsezo
.... Gulu: Virtualization Hypervisor Gulu-Id: virtualization-hypervisor Kufotokozera: Kakonzedwe kocheperako kotheka kogwirizira. Zolemba zofunikira:
   = ufulu
   = qemu-kvm
 Ma phukusi osankha: qemu-kvm-tools

[root @ centos7 ~] # yum groupinfo zida zogwiritsira ntchito
.... Gulu: Zipangizo zogwiritsa ntchito Gulu-Id: zida zamagwiritsidwe Kufotokozera: Zida zogwiritsa ntchito pazosanja pazithunzi. Phukusi lokhazikika:
   = libguestfs
 Ma phukusi osankha: libguestfs-java libguestfs-zida libguestfs-zida-c

[root @ centos7 ~] # yum groupinfo kukonzanso-nsanja
.... Gulu: nsanja yokometsera Gulu-Id: mawonekedwe osanja-nsanja Kufotokozera: Imapatsa mawonekedwe kuti athe kulumikizana ndi kuwongolera zotengera ndi alendo. Zofunikira phukusi: libvirt
   = wotsatsa-kasitomala
   = pafupifupi-ndani
 Maphukusi osankha: fence-virtd-libvirt fence-virtd-multicast fence-virtd-serial libvirt-cim libvirt-java libvirt-snmp perl-Sys-Virt

Njira ina yopezera Mndandanda Wathunthu Wamapaketi Oyikidwa ndi iyi:

[root @ centos7 ~] # yum mndandanda waikidwa
[root @ centos7 ~] # yum mndandanda udayikidwa> kuyika.txt

Wachibale wa Hypervisor

[miz @ centos7 ~] # egrep "(vir | kvm | qemu)" yoyikidwa.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 @Usintha 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

Dziwani kuti zomwe zatchulidwazi zikuwonetsa komwe phukusi lililonse lidayikidwa. Mwa njira, timayang'ana molakwika ngati tikugwira ntchito ndi mtundu wa CentOS 7.2. Titha kuwonanso kuti, ndi fyuluta yomwe imagwiritsidwa ntchito pamndandanda wamaphukusi, mwachitsanzo, package kutchfuneralhome yemwenso ndi gawo la Virtualization Platform.

Tikupangira sakatulani Mndandanda wamaphukusi Oyikidwa pang'ono.

Ntchito zomaliza ... kapena pafupifupi

Malizitsani kukonzekera kwa hypervisor centos7.fromlinux.fan ndipo pangani makina anu oyamba, kutali, monga zasonyezedwera m'nkhaniyi Virt-Manager ndi virsh: Maulamuliro Akutali kudzera pa SSH.

Kwa owerenga omwe amakonda Console yomwe imamenyedwa nthawi zonse, tidzipereka nkhani yotsatira «CentOS 7 Hypervisor: Remote Administration» momwe tidzagwiritsa ntchito malamulo kachilombo y pafupifupi-kukhazikitsa kuthamanga kutali ndi kuntchito kwathu sysadmin.fromlinu.fan.

Khwerero ndi sitepe kuyika kudzera pazithunzi

Zochitika:

  • Zithunzizo ndizofotokozera. Wokhazikitsa Anaconda ndi CentOS ndi chida champhamvu kwambiri m'kalasi mwake
  • Miyezo yomwe ikuwonetsedwa ndiyoyeserera kokha ndipo sayenera kutengedwa monga oyenera kapena ovomerezeka nthawi iliyonse.
  • Lamulo lotsatiridwa kuti likwaniritse zofuna za okhazikitsa, sichitsanzo
  • Yemwe sitinasankhe Security Policy - MALAMULO achitetezo zilizonse, sizitanthauza kuti muyenera. Kuphatikiza apo, tikukupemphani kuti mugwiritse ntchito
  • Ndi njira ya KDUMP zimachitika chimodzimodzi ndi mfundo yapita
  • Mukusintha kwa Network, sitikhudza zosankha zambiri chifukwa sitifunikira kuti apange seva yathu yoyesera. Mosakayikira, ngakhale ndiyeso, imagwira ntchito molondola
  • Mtundu wa magawidwe ndi kukula kwa magawidwe ake ndi chitsanzo osati china
  • SOFTWARE SELECTION ndikupeza Hypervisor wokhala ndi phukusi locheperako lomwe lidayikidwa. Tikukupemphani kuti mulimbikitse seva yanu pakupanga
  • Ponena za INSTALLATION SOURCE, timabwereza kuti timagwiritsa ntchito nkhokwe zakomweko chifukwa chosagwirizana ndi intaneti. Timagwira ntchito ndi nkhokwe zakomweko zojambulidwa-ndi abwenzi ndi anzathu- kuchokera ku WWW
  • Ngati mutayambitsanso makinawo kumapeto kwa unsembe mukafunsidwa kuti muwerenge ndikuvomereza Pangano Lomaliza Laisensi, dongosolo la mafungulo ndi "1", "2" ndi "c", opanda zilembo. Mwalandilidwa!. 😉

Galeni ya zithunzi


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Ndemanga za 6, siyani anu

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

  1.   Zodiac Carburus anati

    Post yabwino kwambiri, Fico. Ndikuyembekezeranso chotsatira chotsatira zakutali kudzera pa virsh ndi en-install. Ndikugwiritsa ntchito popanga pafupifupi zolemba zanu zonse za PYMES ndipo pakadali pano ndikuchita bwino kwambiri. Zikomo Fico

  2.   federico anati

    Zikomo kwambiri mzanga Zodiac. Mitu imeneyi ndiyosangalatsa kwa owerenga ochepa, zikuwoneka.

  3.   Juanjo anati

    Zolemba zake ndi zabwino, zimakhala zokumbutsani zinthu zomwe mumayiwala kapena kuyika choperekacho.

    1.    federico anati

      Zikomo poyankhapo, Juanjo. Inemwini ndimagwiritsa ntchito zolemba izi ngati zitsogozo pakukwaniritsa.

  4.   Ismael Alvarez Wong anati

    Fico, monga nthawi zonse komanso mndandanda wonse mpaka pano, nkhani yomwe ikufunsidwayo ndi yabwino kwambiri.
    Nthawi zonse pamakhala china chatsopano: apa ndikuti, m'malo moyika CentOS «zochepa» (ndichizolowezi); Kuchokera pamakonzedwe omwewo, malo a "Virt Host" amasankhidwa limodzi ndi Virt Platform yake ndi malaibulale ovomerezeka.
    Njira yosinthira njira yosinthira yomwe aliyense amagwiritsa ntchito (chosungira chomwe chili mu CentOS installer DVD ISO) posungira malo pamaneti omwe amathandizidwa ndi http ndichabwino kwambiri (nachiyenera, konzani khadiyo poyamba network, zabwino kwambiri izi). Chizolowezi chake ndikuti titatha kulowa mu seva koyamba ndikukonzekera mawonekedwe athu, timatha kusungitsa malo.
    Zothandiza kwambiri pamachitidwe onse operekedwa mwatsatanetsatane momwe mungafufuzire maphukusi onse omwe ali okhudzana ndi Virt kemu (kuchokera ku anaconda.cfg, kukweza chikhomo cha ISO DVD kuti mugwiritse ntchito ndikugwiritsa ntchito Magulu).
    Palibe bwenzi, zomwe zili ndi chidziwitso chokwanira komanso malinga ndi ndime yomaliza, nkhani yotsatira ikulonjeza zambiri.

  5.   federico anati

    Zikomo bwenzi Wong chifukwa cha ndemanga zako. Ndidayesera njira ina kuti ndidziwe maphukusi omwe adaikidwa. Ndinaganiza kuti inali nkhani yosangalatsa, ndichifukwa chake ndidabweretsa. Ndikukuyembekezerani m'nkhani zotsatira