Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use esxi6.7 templates in centos7

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to use esxi6.7 template in centos7? I believe that many inexperienced people are helpless about this. For this reason, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Create Centos 7.6 System and Optimize System

1. Close NetworkManager

systemctl disable NetworkManagersystemctl stop NetworkManager

2. 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 network configuration (change to/etc/sysconfig/network-scripts/ifcfg-eth0) and multi-NIC configuration

###Modify NIC filename and configuration 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-ens 192mv ifcfg-ens 192 ifcfg-eth0###Modify grub configuration sed -i 's#GRUB_CMDLINE_LINUX=.*# GRUB_CMDLINE_LINUX=\"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 ipFingerprint will be added to the known host fileWrite 'yes' or 'no'yes #Enter yesLogin information for source vi://10.10.90.239/Username: root #User Name Password: ****** #Secret Code Opening VI source: vi://root@10.10.90.239:443/centos-templateOpening OVA target: d:\centos-template\centos-template.ovaWriting package: d: \centos-template\centos-template.ovaTransfer Completed successfully

2. Modify files in ova template

1) Change the suffix centos-template.ova to centos-template.rar

2) Uncompress centos-template.rar

3) Delete centos-template.mf and centos-template.nvram

4) Modify centos-template.ovf file, delete two lines with nvram character, save file

III. Import ovf template

Open browser--> Go to vmware esxi6.7 Host page--> Virtual machine--> Create/register virtual machine--> Deploy virtual machine from OVF or OVA file--> test-centos-template (Enter name for virtual machine)--> Click to select files or drag and drop (drag and drop centos-template.ovf and centos-template-disk1.vmdk to this area)--> Default Next Page--> Finish

After reading above, do you know how to use esxi 6.7 template in centos 7? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report