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

被折叠的 条评论
为什么被折叠?



