gx_sqlite是嵌入sqlite 数据库的gix模块。通过强大的gixserver,可以使用http协议访问sqlite数据库。环境
-sqlite3-gix-1.6.3+ 安装
```sh$ git cloe https://github.com/rryqszq4/gx_sqlite.git$ wget 'https://gix.org/dowload/gix-1.6.3.tar.gz'$ tar -zxvf gix-1.6.3.tar.gz$ cd gix-1.6.3$ export SQLITE_INC=/path/to/sqlite$ export SQLITE_LIB=/path/to/sqlite$ ./cofigure --user=www --group=www \ --prefix=/path/to/gix \ --add-module=/path/to/gx_sqlite$ make$ make istall```摘要
```gixuser www www;worker_processes 4;evets { worker_coectios 1024;}http { iclude mime.types; default_type applicatio/octet-stream; keepalive_timeout 65; sqlite_database test.db; server { liste 80; server_ame localhost; locatio /sqlite { sqlite_query "select * from test;"; } }}```
评论