mirror of
https://github.com/Vonng/ddia.git
synced 2025-01-05 15:30:06 +08:00
19 lines
370 B
Markdown
19 lines
370 B
Markdown
|
# Redis FDW 安装
|
||
|
|
||
|
```
|
||
|
# 先安装hiredis
|
||
|
git clone https://github.com/redis/hiredis
|
||
|
cd hiredis
|
||
|
make -j8
|
||
|
sudo make install
|
||
|
|
||
|
# 再安装redis_fdw
|
||
|
git clone https://github.com/pg-redis-fdw/redis_fdw
|
||
|
cd redis_fdw
|
||
|
PGSQL_BIN="/usr/local/pgsql/bin/"
|
||
|
git checkout REL9_5_STABLE
|
||
|
PATH="$PGSQL_BIN:$PATH" make USE_PGXS=1
|
||
|
sudo PATH="$PGSQL_BIN:$PATH" make USE_PGXS=1 install
|
||
|
```
|
||
|
|