In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "centos7 esxi6.7 template application case analysis", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "centos7 esxi6.7 template application case analysis" bar!
First, create and optimize the centos7.6 system
1. Close networkmanager
Systemctl disable networkmanagersystemctl stop networkmanager
two。 Close selinux
Setenforce 0sed-I "s#selinux=enforcing#selinux=disabled#g" / etc/selinux/config
3. Close firewalld
Systemctl stop firewalldsystemctl disable firewalld
4. Install software for daily use
Yum install vim nc wget lrzsz telnet net-tools epel-release bind-utils tree cifs-utils ntpdate-y
5. Modify the network configuration (change to / etc/sysconfig/network-scripts/ifcfg-eth0) and the configuration of multiple network cards
# modify the file name of the network card and configure cd / etc/sysconfig/network-scriptscp ifcfg-ens192 / tmp/ifcfg-ens192_baksed-I "s#name=.*#name='eth0'#g" ifcfg-ens192sed-I "s#device=.*#device='eth0'#g" ifcfg-ens192mv ifcfg-ens192 ifcfg-eth0### modify the grub configuration sed-I configuration grubbing cmdlineroomlinux.roomgrubrubbing cmdlineroomlinux =\ "rhgb quiet net.ifnames=0 biosdevname=0\" # g'/ etc / default/grubgrub2-mkconfig-o / boot/grub2/grub.cfg
6. Modify the maximum number of files for all users
# cat > > / etc/security/limits.conf / etc/security/limits.conf.\ ovftool.exe-dm=thin "vi://10.10.90.239/centos-template" d:\ centos-template\ centos-template.ova # 10.10.90.239 enter yesenter login information for source vi://10.10.90.239/username: root # user name password: * for the host ipfingerprint will be added to the known host filewrite 'yes' or' no'yes # * * password opening vi source: vi://root@10.10.90.239:443/centos-templateopening ova target: d:\ centos-template\ centos-template.ovawriting ova package: d:\ centos-template\ centos-template.ovatransfer completedcompleted successfully
two。 Modify the file in the ova template
1) change the suffix name of centos-template.ova to centos-template.rar
2) decompress centos-template.rar
3) delete centos-template.mf and centos-template.nvram
4) modify the centos-template.ovf file, delete the two lines with nvram characters, and save the file
three。 Import ovf template
Open the browser-- > go to the vmware esxi6.7 host page-- > Virtual Machine-- > create / register a virtual machine-- > deploy a virtual machine from an ovf or ova file-- > test-centos-template (enter a name for the virtual machine. )-- > Click to select a file or drag and drop (drag and drop centos-template.ovf and centos-template-disk1.vmdk files to this area)-- > default next page-- > finish
Note: do not refresh the browser when deploying this virtual machine.
At this point, I believe that everyone on the "centos7 esxi6.7 template application case analysis" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.