piplinedb 安装配置

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

六、连接数据库两种方法

1、第一种

[steven@steven1 testdata]$ pipeline pipeline  
pipeline (9.5.3)  
Type "help" for help. 

  

 2、第二种
[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

猜你喜欢

转载自www.cnblogs.com/sunshine-long/p/9057158.html