Virtual machine to install Ubuntu - 20.04
Espressif ESP-IDF Toolchain
ESP-IDF is Espressif's official IoT development framework for ESP32, ESP32-S and ESP32-C series SoCs. It provides a self-sufficient SDK based on the C/C++ language to facilitate users to develop general-purpose applications on these platforms.
Judging from the current feedback on our side, most of the first-time ESP32
users are ESP-IDF
still not friendly enough to install, difficult to install, and situations such as installation to abandonment.
Therefore, we are here to write this article based on the construction tutorial on Espressif's official website to help more users, and also record the various problems and solutions I have encountered during multiple installations.
ESP-IDF Getting Started Guide: https://docs.espressif.com/projects/esp-idf/en_US/stable/esp32/get-started/index.html
VMWARE virtual machine software
VMware is the global leader in desktop and data center virtualization solutions. , Through this software, we can run more Windows, Linux, Mac OS X, DOS and other systems on one computer at the same time without reinstalling our own system. I believe most users are using the windows system.
For most users, there is no separate computer to install linux and other systems for development . Therefore, we recommend installing it on for development withoutESP32
affecting the user's original computer . Of course, there are other virtual machine software you can also choose.VMware
Ubuntu
ESP32
Long story short, let's move on to the installation process.
Virtual Machine Software Installation
There are generally no problems in the software installation process, so the installation is very smooth. If you need a software installation package, you can leave a message in the mailbox below. It is worth noting that VMware is a paid software. It is recommended to buy the genuine version, if economic conditions do not allow it You can find a solution on Baidu yourself, and Baidu has quite a few.
After obtaining the installation package, double-click to install all the way to the next step, you can refer to the following figure to install
Click Change to set the installation path, and then follow the pictures to the next step and then install
After purchasing the genuine version, there will be a license that can be entered after installation. If it is activated in other ways, there will generally be corresponding tutorials from other bloggers to follow.
After installation, double-click the icon to open
Ubuntu cheap
Ubuntu-20.04
Before installing in the virtual machine, we need to download the system image by ourselves (the virtual machine does not have its own system image and needs to prepare it by ourselves)
If you need a mirror, you can leave a message below by email. I will package and send relevant information such as virtual machine software and mirroring together. If you are in a hurry to build it, it is recommended to download 64-bit Ubuntu on MSDN . You can log in with QQ WeChat and use the free version. That's it.
After logging in, find the icon in the red box
below, click in and find the Ubuntu 20.04 Desktop (amd64)
version , click Copy BT, and then open software such as Thunder to download
The image is downloaded and we open the virtual machine software VMware
Click Create New Virtual Machine, then click Typical - Next
Browse to the right side of the installer CD image file to find the previously prepared Ubuntu-20.04
image , add it, and go to the next step
Just fill in the username and password by yourself, try to use English or numbers, other precautions will prompt the reason, the next step
For the virtual machine location, choose a hard disk with a relatively large capacity (recommended remaining space of more than 30G) and create a folder to place the virtual machine system. Next step
The maximum disk size, users with small hard disk capacity can choose 20G, if there is enough space left on the hard disk, it can be larger. I will change it to 50G here. Next, click Finish for the default configuration.
Next, wait patiently for the system to install
Set Chinese operation interface
At this point, an Ubuntu-20.04 system is installed, click to log in and click on
the pop-up interface skip
--> next
skip over and don't care, enter the desktop
At this time, the user interface will find that the entire interface is in English, and the first user operation will be very uncomfortable. Next, we will adjust the interface to Chinese.
Find the power icon in the upper right corner, click it and find it in the pop-up interface Setting
, enter the settings
In the lower part of the column on the left, find the Region&Language
column to open, and then clickManage Installed Languages
After opening, the following interface will pop up, click Remind Me Later
, remind me next time, click after closing Install/Remove Languages...
, literally install the language
Find a Chinese(simplified)
check , click Apply
Apply
Enter the set account password and clickAuthenticate
Wait patiently for all the downloads to complete. After the download is complete, restart the system. Note that the restart Ubuntu系统
is not your own physical computer.
At this point, re-enter into Setting
- Region&Language
, click on the first one Language
, and you can see that you can choose Chinese-China, as shown in the following figure
After selecting, click Select
and restart again Ubuntu系统
. After booting, enter the text interface that will pop up on the desktop. Click the update name and it will be a Chinese interface.
Summarize
The installation and configuration of the system are basically all set up here. Friends who need a system image or installation package can leave a message below, and I will organize them here and send them together.
In the next article, we will start to Ubuntu
install the ESP-IDF
toolchain in it. You are welcome to leave a message and discuss and communicate to solve some strange problems encountered during the learning process.
Thank you again for your one-click three-link, I believe we will live up to expectations and help you more! ! !