Step 1: Open the terminal, enter sudo vim /etc/hosts, enter the password
Step 2: Enter the file editing page, press the i key, enter the insert mode, add 0.0.0.0 account.jetbrains.com in the last line, press the esc key, press the shift+: key, enter wq and press Enter
Step 3: Go to the website http://idea.lanyus.com/, click to get the registration code, and copy the content of the registration code
The last step: paste the content you just copied into the activation code and it's OK!!!