A.
1. Go to the official Download VMDK disk image link address is https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.2.6/ Zabbix_appliance_3.2.6_x86_64.vmdk.tar.gz/download
650) this.width=650; "title=" 1.png "src=" https://s4.51cto.com/wyfs02/M02/9B/B0/ Wkiol1ll6aazlqvnaaae0eto9xe298.png-wh_500x0-wm_3-wmp_4-s_2059330561.png "alt=" Wkiol1ll6aazlqvnaaae0eto9xe298.png-wh_50 "/>
2. unzip the downloaded compressed package to a local
650) this.width=650; "title=" Zabbix Appliance "src=" https://s1.51cto.com/wyfs02/M01/9B/B1/ Wkiom1ll6fjjhiljaaaihbwuxzu940.png-wh_500x0-wm_3-wmp_4-s_3310170641.png "alt=" Wkiom1ll6fjjhiljaaaihbwuxzu940.png-wh_50 "/>
3. Upload to the Virtual machine folder in the server data store browser you want to deploy--focus on uploading ZABBIX_APPLIANCE_3.2.6_X86_64.VMDK This folder to the server is not a file
4. Add ZABBIX_APPLIANCE_3.2.6.VMX to the list
650) this.width=650; "Width=" 501 "height=" 304 "title=" 3.png "style=" width:534px;height:341px; "src=" https:// S4.51cto.com/wyfs02/m01/9b/b1/wkiom1ll6k2q4xsvaagxkqbkxds183.png-wh_500x0-wm_3-wmp_4-s_1806712096.png "alt=" Wkiom1ll6k2q4xsvaagxkqbkxds183.png-wh_50 "/>
650) this.width=650; "title=" 4.png "src=" https://s2.51cto.com/wyfs02/M02/9B/B0/ Wkiol1ll6pvip1mqaafpb7rvzxy741.png-wh_500x0-wm_3-wmp_4-s_199798542.png "alt=" Wkiol1ll6pvip1mqaafpb7rvzxy741.png-wh_50 "/>
6. Edit the virtual machine settings to remove the NIC and add the network card you need. and start the virtual machine.
650) this.width=650; "title=" 5.png "src=" https://s4.51cto.com/wyfs02/M01/9B/B1/wKiom1ll6jayex-GAAC_ Mx4vupg051.png-wh_500x0-wm_3-wmp_4-s_2614402615.png "alt=" Wkiom1ll6jayex-gaac_mx4vupg051.png-wh_50 "/>
650) this.width=650; "title=" 6.png "src=" https://s2.51cto.com/wyfs02/M01/9B/B1/ Wkiol1ll6kttjlzfaacrcoiumwc086.png-wh_500x0-wm_3-wmp_4-s_1897577858.png "alt=" Wkiol1ll6kttjlzfaacrcoiumwc086.png-wh_50 "/>
Two. Focus on the important matter three times! The error! Thick to Thin conversion
650) this.width=650; "title=" 7.png "src=" https://s1.51cto.com/wyfs02/M02/9B/B1/wKiom1ll6mzAooDOAACv_ Gfpa54838.png-wh_500x0-wm_3-wmp_4-s_1024349929.png "alt=" Wkiom1ll6mzaoodoaacv_gfpa54838.png-wh_50 "/>
Http://www.bubuko.com/infodetail_86120.html---solution here
To turn on the server physical machine SSH service
650) this.width=650; "title=" 8.png "src=" https://s3.51cto.com/wyfs02/M02/9B/B1/ Wkiom1ll6t6b6aq8aaj3fns7yr8222.png-wh_500x0-wm_3-wmp_4-s_2908699123.png "alt=" Wkiom1ll6t6b6aq8aaj3fns7yr8222.png-wh_50 "/>
650) this.width=650; "title=" 9.png "style=" Float:none; "src=" https://s1.51cto.com/wyfs02/M00/9B/B1/ Wkiol1ll6vcdupbeaacaebms-2k057.png-wh_500x0-wm_3-wmp_4-s_2161730359.png "alt=" Wkiol1ll6vcdupbeaacaebms-2k057.png-wh_50 "/>
650) this.width=650; "title=" 10.png "style=" Float:none; "src=" https://s1.51cto.com/wyfs02/M01/9B/B1/ Wkiom1ll6vdscfzgaabe_mrzve4928.png-wh_500x0-wm_3-wmp_4-s_2443370258.png "alt=" wKiom1ll6vDScFzGAABE_ Mrzve4928.png-wh_50 "/>
2. Use the SSH tool to log in and generate the thin disk
User name: root password: Use vsphere client login esx/esxi Password
3. Log on to the physical server
4. Enter the Datestore directory where the virtual machine resides Cd/vmfs/volumes/datastore (data store directory)/ZABBIX_APPLIANCE_3.2.6_X86_64.VMDK (virtual machine directory)/
5.vmkfstools-i <HostedVirtualDisk> <ESXVirtualDisk> Use this command to convert hard disk format (hard disk files with small capacity)
Vmkfstools-i disk.vmdk (source Disk file)-D thin NEW.DISK.VMDK (destination disk file)
At this time to view the virtual machine directory ZABBIX_APPLIANCE_3.2.6_X86_64.VMDK, more than 2 files new.disk-flat.vmdk, NEW.DISK.VMDK.
6. Change the original file name to backup MV DISK-S001.VMDK disk-s001.vmdk.bak MV DISK.VMDK Disk.vmdk.bak
7. Rename the newly generated thin VMDK file to the original thick mode disk name MV NEW.DISK.VMDK MV NEW.DISK-FLAT.VMDK DISK-S001.VMDK
Then exit SSH to turn on the virtual machine
8. You will encounter a new problem at this time
650) this.width=650; "title=" 11.png "src=" https://s4.51cto.com/wyfs02/M00/9B/B1/ Wkiol1ll6x7tnjw1aadnle0avku785.png-wh_500x0-wm_3-wmp_4-s_1574705461.png "alt=" Wkiol1ll6x7tnjw1aadnle0avku785.png-wh_50 "/>
Workaround
Edit the RW 20480000 VMFS "DISK-S001.VMDK" inside the disk.vmdk file inside the ZABBIX_APPLIANCE_3.2.6_X86_64.VMDK (Virtual machine directory) The reason for the error is because the file name is wrong and changed to the original DISK-S001.VMDK disk name.
Delete the original virtual machine manifest and add the new virtual machine to the manifest.
650) this.width=650; "title=" 12.png "src=" https://s4.51cto.com/wyfs02/M02/9B/B2/ Wkiom1ll7iojgoxxaaaqxbz02os329.png-wh_500x0-wm_3-wmp_4-s_2139653032.png "alt=" Wkiom1ll7iojgoxxaaaqxbz02os329.png-wh_50 "/>
Configure static IP:
Using a static IP address
By default, the appliance uses DHCP to obtain the IP address. To specify a static IP address:
Log in as root user;
Open File/etc/network/interfaces in your favourite editor;
Iface eth0 inet dhcp→iface eth0 inet Static
Add the following lines after Iface eth0 inet static:
Address <ip address of the appliance>
Netmask <network mask>
Gateway <your Gateway Address>
Run the commands sudo ifdown eth0 && sudo ifup eth0.
Please note that because it is not the root user logging into the Linux system, all commands are preceded by sudo
The next step is to configure DNS resolution, and then/etc/resolv.conf the DNS parsing file. Execution: vim/etc/resolv.conf
Then add the following file:
NameServer 192.168.1.1
NameServer 220.170.64.68
Uninstall the Ubuntu firewall:
Apt-get Remove Iptables
Exsi Loading Zabbix Appliance operation