In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
It is believed that many inexperienced people have no idea about how to install openresty1.15 in centos7. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Install the required dependency packages
Yum-y install readline-devel pcre-devel openssl-devel gcc perl curl
Compilation and installation
Decompress the package
Tar zxvf openresty-1.15.8.1.tar.gz
Enter the folder
Cd openresty-1.15.8.1
Compile
. / configure-prefix=/usr/local/webservice/openresty-with-luajit-without-http_redis2_module-with-http_iconv_module
Compile & compile and install
Gmake & gmake install
Configuration
Start Nginx and load the nginx main configuration file
/ usr/local/webservice/openresty/nginx/sbin/nginx-t-c / usr/local/webservice/openresty/nginx/conf/nginx.conf
Start openresty
Cd / usr/local/webservice/openresty/nginx/sbin
. / nginx-s quit stop
. / nginx start
. / nginx-s reload reloads the configuration file
Configure environment variables
Vim / .bash_profile
Finally, add
Export PATH=/usr/local/webservice/openresty/bin:/usr/local/webservice/openresty/nginx/sbin:$PATH
one
Source / .bash_profile
Confirm whether the installation is successful
Use nginx-t to confirm
Nginx-v
Nginx-s reload
After reading the above, have you mastered how to install openresty1.15 in centos7? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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
Http://blog.csdn.net/tumuzhuanjia/article/details/39555445
© 2024 shulou.com SLNews company. All rights reserved.