Problems encountered in installing springboot + angle in Linux system of VM virtual machine

Time:2020-9-16

First, nodejs cannot be installed

Problems encountered in installing springboot + angle in Linux system of VM virtual machine
The system prompts that the culr instruction was not found, but we can install curl with the following instructions
So I entered sudo apt install curl according to the prompt, and was prompted miserably
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
And then they copied and pasted the code and put it on Google,
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Enter the code below according to the prompt, the installation is successful

Problem 2: an error is reported when installing HTTP server

Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Err! Is prompted, which means that the request is denied and the XXX file directory cannot be accessed
The following is a stack, which says that the operation is rejected by the system, and there is probably no permission
So I looked it up on the Internet
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
I didn’t want to use sudo, but I tried a lot of methods, but I couldn’t… In the end, I had to sudo. I didn’t know what problems would happen in the future. I had to take a look first (HTTP server was installed successfully)

The third problem is the environment variable configuration of angular cli installation

As a result, I found a better installation method. When prompted that there was no permission, the big guys did not recommend using sudo, but recommended that we use the method written in the official document instead:
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Follow the tutorial and enter it in turn
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
However, before we could be happy after the installation, there were problems
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
If you close the shell and open another one, the above prompt will appear
I installed it clearly. How could I suddenly…
After that, I tried to do it many times and reloaded angular cli many times
Many methods have been found on the Internet, but they don’t work. Even the way of reporting mistakes has changed
Later, Mr. Pan came and asked Mr. Pan quickly. I found that the method I found before was correct, but I made mistakes in my operation
The method is as above. As a result, I changed the content in brackets to home, and the command was not found
The correct amendment should be as follows:
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
And then Mr. Pan told me that ‘~ /’ is equivalent to ‘/ home / qtdz’
The problem was solved successfully
Then I shut down the command line and reopened a shell, and the familiar error report reappeared
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
be modeled on:
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
success
Problems encountered in installing springboot + angle in Linux system of VM virtual machine

Problem 4: there is a problem in installing jdk8

Problems encountered in installing springboot + angle in Linux system of VM virtual machine
Installation failed…
At the same time, Mr. Pan came and asked quickly
Finally came to the conclusion that I am in accordance with the tutorial to speed up the download of the tutorial, use curl + C after the end of the use of Taobao image
Problems encountered in installing springboot + angle in Linux system of VM virtual machine
As a result, I missed a line of the tutorial, which caused such a serious mistake

Conclusion: the project of thinkphpp5 is coming to an end, and we are about to face more advanced languages. But at the same time, Mr. Xi also reminds us that our project is the most critical testing and debugging link. In fact, we should not rush to learn new knowledge at this time, but we should try our best to improve the project.

Recommended Today

Oracle scheduled tasks

Timing task query To query Oracle scheduled tasks, you can use: –Scheduled tasks for all users SELECT * FROM dba_jobs; –Timing task of the user select * from user_jobs; In the query results, the what field generally stores the name of the stored procedure (or the specific stored procedure content). Broken = n indicates that […]