第一章 OpenResty环境搭建

#添加openresty仓库,方便未来安装或者更新软件包(yum update 命令)
#下面的命令就可以添加我们的仓库
yum install yum-utils
yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
#安装openresty软件包
yum install openresty
#安装命令行工具resty
yum install openrety-resty
#启动命令
service openresty start
#重新加载
service openresty reload
#查看进程
ps -ef|grep openresty

  

查看网页地址:http://192.168.20.11/

posted on 2018-12-22 21:37  唯伊  阅读(88)  评论(0)    收藏  举报

导航