One, install ubuntu20.04 virtual machine
https://releases.ubuntu.com/20.04/ubuntu-20.04.2.0-desktop-amd64
Two, configure the ubuntu20.04 virtual machine
1. Configure the network card
/etc/netplan/01-netcfg.yaml
2. Shared folder
(1) Windows sets the shared folder;
(2) Vmware enables shared folders;
(3) Enter the command vmware-hgfsclient to check whether the shared directory has been set successfully;
(4)mkdir /mnt/hgfs
(5).host:/shareforder /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0
(6)mount -a
3. Mount the iso file and configure the apt local source
(1) VMware Workstation, open "Virtual Machine Settings", click the "CD/DVD" option, and check "Connected" in "Device Status". Then select "Use ISO image file" below, click Browse, and select the system image file that is the same as the operating system of the virtual machine;
(2)mkdir /media/cdrom
(3)mount -t auto /dev/cdrom /media/cdrom
(4)sudo apt-cdrom -m -d=/media/cdrom add
(5)cat /etc/apt/sources.list
4. Install ansible
http://archive.ubuntu.com/ubuntu/pool/main/j/jinja2/python3-jinja2_2.11.2-1_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/p/python-crypto/python3-crypto_2.6.1-13ubuntu2_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/i/ieee-data/ieee-data_20180805.1_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/p/python-netaddr/python3-netaddr_0.7.19-4_all.deb
http://archive.ubuntu.com/ubuntu/pool/universe/a/ansible/ansible_2.9.9+dfsg-1_all.deb
5. Install docker
Installation tutorial:
cat gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/engine/install/linux-postinstall/
6.
http://archive.ubuntu.com/ubuntu/pool/main/s/setuptools/python3-pkg-resources_49.3.1-2_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/s/setuptools/python3-setuptools_49.3.1-2_all.deb
http://archive.ubuntu.com/ubuntu/pool/universe/j/j2cli/j2cli_0.3.12b-2_all.deb
http://archive.ubuntu.com/ubuntu/pool/main/b/bridge-utils/bridge-utils_1.6-3ubuntu1_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60-26ubuntu1_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/e/ethtool/ethtool_5.9-1_amd64.deb
Unfinished...