Openresty 基础总结
OpenResty 安装部署与基础使用
Install
尝试了很多安装方法,自我感觉源码安装比较可靠,操作步骤如下:
- 下载官方源码安装包:源码地址
- 安装必要的依赖
apt-get install libpcre3-dev \
libssl-dev perl make build-essential curl
- 解压并且编译
tar -xzvf openresty-VERSION.tar.gz
cd openresty-VERSION/
./configure
make
sudo make install
Hello World
安装完成后测试:
resty -e 'print("hello, world")' 修改历史11 次提交
- fix(wiki): clean all lint errors to enable strict CI (PR-3)xiaocheng··
9acd1f2 - refactor: reorganize documentation structure and update Navbar componentxiaocheng··
e7d22e5 - chore(project): clean up obsolete configuration and build artifactsxiaocheng··
d659171 - new struct for lblogsxiaocheng··
6ea1ca2 - move blogs to docsxiaocheng··
a8edecd - update codechenweigao··
e069c6c - update fix: timeline errorchenweigao··
90c74ab - update Datechenweigao··
35bdb9c - init v3chenweigao··
065a35c - init v2chenweigao··
505f81b