piplinedb 安装配置

本文详细介绍如何在CentOS 7.4环境下为非root用户安装及配置PiPipelineDB数据库系统,包括下载rpm包、安装过程、初始化目录、启动与停止服务的命令、配置文件修改方法以及两种连接数据库的方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境centos7.4  

piplinedb不能使用root用户操作,提前建好用户


一、下载rpm包   https://github.com/pipelinedb/pipelinedb/releases

二、安装

[steven@steven1 ~]$ mkdir piplinedb
[steven@steven1 ~]$ cd piplinedb/
[steven@steven1 piplinedb]$ rpm -ivh pipelinedb-0.9.9u1-centos7-x86_64.rpm


三、初始化目录

1.  在当前目录(piplinedb)下创建文件夹

[steven@steven1 piplinedb]$ mkdir testdata
[steven@steven1 piplinedb]$ mkdir log/testdata -p

四、启停命令

1、启动命令  -D 指定数据目录   -l指定log文件

[steven@steven1 testdata]$ pipeline-ctl -D /home/steven/piplinedb/testdata -l /home/steven/piplinedb/log/testdata/pipelinedb.log start
server starting

2、停止服务

[steven@steven1 testdata]$ pipeline-ctl -D /home/steven/piplinedb/testdata stop
waiting for server to shut down.... done
server stopped

五、修改配置文件同postgresql

六、连接数据库两种方法

#  第一种  
[steven@steven1 testdata]$ pipeline pipeline
pipeline (9.5.3)
Type "help" for help.
#  第二种
[steven@steven1 testdata]$ psql -p 5432 -h localhost pipeline
psql (9.6.9, server 9.5.3)
Type "help" for help.

pipeline=#

参考:http://blog.sina.com.cn/s/blog_76923bd80102wvl2.html
http://docs.pipelinedb.com/installation.html





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值