Openresty之Installation

CentOS

You can add the openresty repository to your CentOS system so as to easily install our packages and receive updates in the future (via the yum update command). To add the repository, just run the following commands:
sudo yum install yum-utils
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
Then you can install a package, say, openresty, like this:
sudo yum install openresty
If you want to install the resty command-line utility, then install the openresty-resty package like below:
sudo yum install openresty-resty
The opm command-line utility is in the openresty-opm package while the restydoc utility is in the openresty-doc package.
To list all the packages in the openresty repository:
sudo yum --disablerepo="*" --enablerepo="openresty" list available
See the OpenResty RPM Packages page for more details on all these packages.

评论

此博客中的热门博文

码率单位

Process vs. Thread

日志文件系统