[Step 1] centos6.5 mounted openresty
(1) installed base dependencies
1.1 yum install pcre-devel openssl-devel gcc curl
(2) openResty Installation
2.1 Installation yum-utils
yum install yum-utils
2.2 increase openresty official website warehouses
yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
2.3 Installation openresty
yum install openresty
(3) configuration environment variable
Add the nginx executable directory to your PATH environment variable:
3.1 vim /etc/profile
At the end of the article, add the line:
export PATH=/usr/local/openresty/nginx/sbin:$PATH
3.2 validate the configuration
source /etc/profile
(4) is closed from the start
4.1 all levels since the launch of the service shut down
chkconfig openresty off
Good Good Study, Day Day Up.
Select the cycle order summary