20171201/5a203bff0ad74.jpg

The best life is use of willing attitude, a happy-go-lucky life.

— Mr.Wang

头像

Linux Centos openresty 编译安装

发布时间:2017-12-01 01:12:31

发布作者:admin

4286

一、准备

1.更新系统

yum makecache && yum -y update
2.安装常用基础软件

yum -y install bash-completion vim net-tools bind-utils wget screen
3.需要下载的源码

openresty https://openresty.org/download/openresty-1.13.6.1.tar.gz

php5.4   http://museum.php.net/php5/php-5.4.7.tar.gz

mysql   http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-boost-5.7.17.tar.gz


二、安装openresty

1.依赖关系

openresty依赖于perl 5.6.1+, libreadline, libpcre, libssl,首先安装依赖关系。

yum install readline-devel pcre-devel openssl-devel gcc
2.下载源码
wget https://openresty.org/download/openresty-1.13.6.1.tar.gz
解压进入目录
tar -xzf openresty-1.13.6.1.tar.gz
cd openresty-1.13.6.1
3../configure生成地图
./configure --prefix=/usr/local/openresty
4.编译安装
make && make install



相关文章:
  1. 使用了ssl pinning的APP如何进行抓包?
  2. 修改Debian默认nano编辑器为vim
  3. shell gzexe shc解密教程与工具共享 shc国内首发
  4. CentOS搭建ngrok服务器