In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Panther came from a rookie, although I am still a rookie, but I take it from the people and share what I have learned with you from time to time. In my last blog, I talked about the multi-devices of thingsboard, because I am now in the stage of learning and come into contact with many things as well as miscellaneous things. I hope my article can help you lose.
One buys Tencent Cloud
Https://cloud.tencent.com/
Product-CVM-purchase now-Quick configuration-region-entry configuration-centos 7.2-purchase
Case console https://console.cloud.tencent.com/cvm
Modify security group open port
Because all ports can be connected at the beginning, it is changed to a designated port connection here.
Reset password
* * two * * Connect through the tool-xshell
Host name-fill in the purchased host name 123.175.167.214 username root password: mailbox number port: 22
Upload nginx to the home folder of centos
Enter the command to enter the root directory through xshell connection centos / view all directories ll into the home directory cd home/ll
Install nginx visit 123.175.167.214 when nginx is not installed
Extract nginxtar-zxvf nginx-1.12.0.tar.gz under the home directory in xshell to use the nginx build environment yum-y install gcc-c++yum-y install pcre-develyum-y install zlib-develyum-y install openssl openssl-devel environment after installation, enter the nginx folder llcd nginx-1.12.0/ to compile nginx, there is no space. / configuremakemake install installed successfully / usr/local/nginx
Enter the directory cd / usr/local/llcd / usr/local/nginx/ll where the installation is successful
View the current location pwd launch nginxcd sbin/ll./nginx
* * three * * deploy uniapp create a new file movie in the / usr/local/nginx/ directory of centos and place all H6 pages under movie
Configure the published address to nginx to see if the file has been uploaded successfully! Cd / usr/local/nginx/llcd movie/llcd h6/ll returns cd / usr/local/nginx/ again because all configurations are located in confcd conf/ll under nginx to find the nginx.conf configuration file and modify its vim nginx.conf
Go to the sbin directory and run cd.. cd sbin/ to execute the test. / nginx-t restart the server. / nginx-s reload test Oke, the test is successful
* * four * * the purchase of Tencent Cloud, the construction of web servers, and the H6 deployment of uniapp are over here.
Summary
The above is the centos7.2 build nginx web server deployment uniapp project introduced by the editor to you. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.