When configuring nginx, if an error is reported, PCRE needs to be installed, and then the command yum -y install pcre-devel is executed, and there is no proc. . After that, because yum cannot be used in ubuntu, it is replaced by apt-get install pcre-devel, , and the following error is reported again
Finally found that there is no pcre-devel package in ubuntu. .
The following command should be used:
sudo apt-get install libpcre3-dev
You're done, the installation was successful!