[LINUX] [Note] Create a virtual machine with vmware ESXi of Raspberry Pi 4B

Overview

--Try creating a virtual machine with vmware ESXi Arm Fling. -[Memo] Installing vmware ESXi on Arm Fling on Raspberry Pi 4B

image.png

environment

operation

Basic settings (time correction and ssh login permission)

  1. Navigator> Host> Administration
  2. [System]> Date and Time> [Edit NTP Settings] --Select "Use NTP (Enable NTP Client)" --NTP service start policy: Starts and stops in conjunction with the host --NTP server: 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org -[Save]
  3. [Service] // ntp and ssh settings --ntpd: right click> start
    • TSM-SSH: --Right click> Policy> Start and stop in conjunction with the host --Right click> Start
  4. [License] // If you have a license code --License Assignment> License Key: 12345 = 67890-ABCDE-12345-67890 --[License Confirmation]> [License Assignment]

File transfer

Transfer ISO files etc. to set up virtual machines

  1. Navigator> Storage> datastore1> [Datastore Browser] image.png

  2. Upload image.png

  3. Select the file and click OK. The transfer is started. [Close] Press.

  4. Wait for the transfer to finish. image.png

Virtual machine creation

  1. Navigator> Virtual Machine> [Create / Register Virtual Machine]
    Select "Create New Virtual Machine" and then [Next]
    ![Image.png](https://qiita-image- store.s3.ap-northeast-1.amazonaws.com/0/75594/93b676bb-9b76-cf8c-ac80-df6709da2322.png)

  2. Select name and guest OS
    ![Image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/68693b36-edae-2806- 3fd1-33726fd47535.png)

-Name: {appropriately} -Compatibility: ESXi 7.0 virtual machine -Guest OS family: Linux -Guest OS version: Debian GNU / Linux 10 (64-bit) 3. [Next] .. If you have multiple storages, select a good one
![Image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws. com / 0/75594/14d81c88-d771-2745-2cf6-b0e05fcabbcb.png)

  1. Customize settings --Virtual machine specs. 2 CPUs, 2GB memory, 32GB hard disk .. --Set the CD / DVD drive to "Datastore ISO file", click the [Browse] button on the CD / DVD media, and select the installer ISO file [Select].
  1. Check the settings. If OK, press [Finish]
    ![Image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/f240569a-dd59-311b- ac08-da3333e24aab.png)

  2. [Power on]
    ![Image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/77eb6e9f-6714-b7d0-860b -92a687983ab4.png)

  3. Once started --Click the thumbnail to display a huge window. --Click [Action] on the upper right => Reset to native resolution to x1 size. image.png image.png

  4. After that, proceed with installation normally image.png

debian --debian doesn't seem to put the created user in sudoer, so log in as root for the first time and set it. --Edit / etc / ssh / sshd_config so that you can log in as root with a password.

```txt:/etc/ssh/sshd_config
...
PermitRootLogin yes
...
PasswordAuthentication yes
...

-Sudo without password

`` `bash: Register with sudoer like this export SUDO_USER=mt08 echo "{SUDO_USER} ALL=(ALL) NOPASSWD: ALL " | sudo tee /etc/sudoers.d/{SUDO_USER}-nopasswd ```

open-vm-toolsInstallation of

This side will be displayed image.png

-Build&Installation

`` `bash: copy and paste sudo apt update &&
sudo apt install -y build-essential git &&
sudo apt install -y --no-install-recommends automake libtool libmspack-dev libglib2.0-dev libpam0g-dev libssl-dev libxml2-dev libxmlsec1-dev libx11-dev libxext-dev libxinerama-dev libxi-dev libxrender-dev libxrandr-dev libxtst-dev libgtk2.0-dev &&
git clone https://github.com/vmware/open-vm-tools.git &&
cd open-vm-tools &&
git checkout stable-11.2.0 &&
cd open-vm-tools &&
autoreconf -i &&
./configure --without-gtk3 --without-gtkmm &&
make -j &&
sudo make install && sudo ldconfig ```

-Autostart script settings

`` `bash: copy and paste cat << 'EOF' | sudo tee /etc/systemd/system/vmtoolsd.service [Unit] Description=Open VM Tools After=network-online.target

[Service]
ExecStart=/usr/local/bin/vmtoolsd
Restart=always
RestartSec=1sec

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable vmtoolsd.service
sudo systemctl restart vmtoolsd.service
sudo systemctl status vmtoolsd.service
```

`` `shell-session: OK if it comes out like this at the end mt08@debian10:~/open-vm-tools/open-vm-tools$ sudo systemctl status vmtoolsd.service ● vmtoolsd.service - Open VM Tools Loaded: loaded (/etc/systemd/system/vmtoolsd.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-10-20 01:39:20 PDT; 1s ago Main PID: 1011 (vmtoolsd) Tasks: 3 (limit: 2274) Memory: 1.6M CGroup: /system.slice/vmtoolsd.service └─1011 /usr/local/bin/vmtoolsd

Oct 20 01:39:20 debian10 systemd[1]: Started Open VM Tools.
mt08@debian10:~/open-vm-tools/open-vm-tools$
```

#Other

##Screenshot image.png

image.png

Recommended Posts

[Note] Create a virtual machine with vmware ESXi of Raspberry Pi 4B
[Note] Installing vmware ESXi on Arm Fling on Raspberry Pi 4B
Create a car meter with raspberry pi
Create a web surveillance camera with Raspberry Pi and OpenCV
getrpimodel: Recognize Raspberry Pi model (A, B, B +, B2, B3, etc) with python
Make a note of what you want to do in the future with Raspberry Pi
Create a virtual environment with Python!
Using a webcam with Raspberry Pi
[Note] Using 16x2-digit character LCD (1602A) from Python with Raspberry Pi
Build a Tensorflow environment with Raspberry Pi [2020]
[Python] Create a virtual environment with Anaconda
Make a wash-drying timer with a Raspberry Pi
Create a Linux virtual machine on Windows
Operate an oscilloscope with a Raspberry Pi
Create a socket with an Ethernet interface (eth0, eth1) (Linux, C, Raspberry Pi)
Create a Python multi-user platform with JupyterHub + JupyterLab on Rapsberry Pi 3B +!
Create a virtual environment with conda in Python
[Note] Create a one-line timezone class with python
CSV output of pulse data with Raspberry Pi (CSV output)
Get CPU information of Raspberry Pi with Python
Flow of creating a virtual environment with Anaconda
Create a visitor notification system using Raspberry Pi
I tried to create a button for Slack with Raspberry Pi + Tact Switch
Create a table of contents with IPython notebook
GPS tracking with Raspberry Pi 4B + BU-353S4 (Python)
Measure CPU temperature of Raspberry Pi with Python
Create a virtual environment with Anaconda installed via Pyenv
code-server Online environment (2) Create a virtual network with Boto3
Take the value of SwitchBot thermo-hygrometer with Raspberry Pi
Log the value of SwitchBot thermo-hygrometer with Raspberry Pi
Create a batch of images and inflate with ImageDataGenerator
USB boot with Raspberry Pi 4 Model B (3) LVM edition
A memorandum when making a surveillance camera with Raspberry Pi
Let's operate GPIO of Raspberry Pi with Python CGI
Create a machine learning environment from scratch with Winsows 10
GPGPU with Raspberry Pi
DigitalSignage with Raspberry Pi
Easily make a TweetBot that notifies you of temperature and humidity with Raspberry Pi + DHT11.
Control the display of RGB LED matirix electric bulletin board freely with Raspberry Pi 3B +
Get the trading price of virtual currency and create a chart with API of Zaif exchange
Create a machine learning app with ABEJA Platform + LINE Bot
I tried running Movidius NCS with python of Raspberry Pi3
Create an LCD (16x2) game with Raspberry Pi and Python
Production of temperature control system with Raspberry Pi and ESP32 (1)
Run BNO055 python sample code with I2C (Raspberry Pi 3B)
Create a partition and then install the Raspberry Pi OS
I made a resource monitor for Raspberry Pi with a spreadsheet
SSD 1306 OLED can be used with Raspberry Pi + python (Note)
I made a surveillance camera with my first Raspberry PI.
Real-time classification of multiple objects in the camera image with deep learning of Raspberry Pi 3 B + & PyTorch
Create a homepage with django
raspberry pi 1 model b, python
Create a directory with python
I tried to automate the watering of the planter with Raspberry Pi
Let's make a cycle computer with Raspberry Pi Zero (W, WH)
I made a web server with Raspberry Pi to watch anime
Christmas classic (?) Lighting a Christmas tree with Raspberry Pi and Philips Hue
Notify LINE of body temperature from BLE thermometer with Raspberry Pi # 1
I tried to create a list of prime numbers with python
Notify LINE of body temperature from BLE thermometer with Raspberry Pi # 2
Make a thermometer with Raspberry Pi and make it viewable with a browser Part 4