Openresty 基础总结
Server
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")' 修改历史9 次提交
- refactor: reorganize documentation structure and update Navbar componentxiaocheng··
2fb8f42 - chore(project): clean up obsolete configuration and build artifactsxiaocheng··
3574bd3 - new struct for lblogsxiaocheng··
8c9b28e - move blogs to docsxiaocheng··
c8535a0 - update codechenweigao··
e4c6887 - update fix: timeline errorchenweigao··
fb4b591 - update Datechenweigao··
3c14689 - init v3chenweigao··
b770fc2 - init v2chenweigao··
505f81b