PipelineDB Installation

http://docs.pipelinedb.com/installation.html

 

PipelineDB Installation

Install PostgreSQL

Since PipelineDB runs as an extension to PostreSQL, begin by installing PostgreSQL.

Note

PipelineDB currently supports PostgreSQL versions 10.1, 10.2, 10.3, 10.4, 10.5, and 11.0 on 64-bit architectures.

Once you have PostgreSQL installed on your system, you just need to install the PipelineDB binaries and then create the PipelineDB extension within your PostgreSQL database. You can install binaries from our apt or yum repositories or you can download packages from our release archives and install them directly.

apt

First, add our apt repository to your system (inspect apt.sh):

curl -s http://download.pipelinedb.com/apt.sh | sudo bash

Now simply install the latest PipelineDB package:

# PostgreSQL 10
sudo apt-get install pipelinedb-postgresql-10

# PostgreSQL 11
sudo apt-get install pipelinedb-postgresql-11

yum

Add our yum repository to your system (inspect yum.sh):

curl -s http://download.pipelinedb.com/yum.sh | sudo bash

Install the latest PipelineDB package:

# PostgreSQL 10
sudo yum install pipelinedb-postgresql-10

# PostgreSQL 11
sudo yum install pipelinedb-postgresql-11

Note

apt and yum repositories only need to be added to your system a single time. Once you’ve added them, you don’t need to run these scripts again. You need only run the installation commands to get new versions of PipelineDB.


You may also download binary packages from our release archives and install them directly.

RPM Packages

To install the PipelineDB RPM package, run:

sudo rpm -ivh pipelinedb-postgresql-<pg version>_<pipelindb version>.rpm

Debian Packages

To install the PipelineDB Debian package, run:

sudo dpkg -i pipelinedb-postgresql-<pg version>_<pipelindb version>.deb

Creating the PipelineDB Extension

In order for PipelineDB to run, the shared_preload_libraries configuration parameter must be set in postgresql.conf, which can be found underneath your data directory. It’s also a good idea to set max_worker_processes to something reasonably high to give PipelineDB worker processes plenty of capacity:

# At the bottom of <data directory>/postgresql.conf
shared_preload_libraries = 'pipelinedb'
max_worker_processes = 128

Running PostgreSQL

To run the PostgreSQL server in the background, use the pg_ctl driver and point it to your newly initialized data directory:

pg_ctl -D <data directory> -l postgresql.log start

To connect to a running server using the default database, use PostgreSQL’s standard client, psql, which can be used to create the PipelineDB extension:

psql -c "CREATE EXTENSION pipelinedb"

Once the PipelineDB extension has been created, you’re ready to start using PipelineDB!

You can check out the Quickstart section to start streaming data into PipelineDB right now.

Configuration

By default, PostgreSQL is not configured to allow incoming connections from remote hosts. To enable incoming connections, first set the following line in postgresql.conf:

listen_addresses = '*'

And in pg_hba.conf, add a line such as the following to allow incoming connections:

host    all             all             <ip address>/<subnet>            md5

For example, to allow incoming connections from any host:

host    all             all             0.0.0.0/0            md5

Docker

PipelineDB is available as a Docker image, making it very easy to run on platforms that don’t currently have official packages. The PipelineDB extension will automatically be created upon database initialization, so Creating the PipelineDB Extension is is not necessary with the Docker image.

You can run a PipelineDB Docker container via docker run:

docker run pipelinedb/pipelinedb-postgresql-{postgresql version}

The PipelineDB Docker image uses the PostgreSQL image as its parent, so all configuration and customization can be done via the interface that the PostgreSQL image provides.


Now you’re ready to put PipelineDB to work! Check out the Continuous Views or Quickstartsections to get started.

macOS/OSX

Since there is no standard PostgreSQL installation location on macOS/OSX, we provide a generic tarball package for these platforms from which you may install the PipelineDB binaries against an existing PostgreSQL installation.

After downloading the latest release tarball from our release archives, you just need to run the simple install.sh script:

$ tar -xvf pipelinedb-postgresql-<pg version>-<pipelinedb version>.osx.tar.gz
$ cd pipelinedb-postgresql-<pg version>-<pipelinedb version>
$ sudo ./install.sh
PipelineDB installation complete.

From here you may proceed by Creating the PipelineDB Extension.

资源下载链接为: https://pan.quark.cn/s/d0b0340d5318 在当今数字化时代,FPGA(现场可编程门阵列)凭借其高度灵活性和卓越性能,在电子设计领域占据着举足轻重的地位。它能够使设计者根据自身需求对硬件逻辑进行定制,因而在通信、图像处理、嵌入式系统、数据中心等多个领域得到了广泛应用。本压缩包内提供的学习资料全面覆盖了FPGA的基础知识和实践应用,对于无论是初入此领域的学习者还是希望进一步提升技能的进阶者来说,都是一份极具价值的学习资源。 VHDL硬件描述语言:VHDL(超高速集成电路硬件描述语言)是FPGA设计中极为重要的高级语言之一。它不仅可以用来描述复杂的数字逻辑系统,还能用于系统仿真和综合。《VHDL硬件描述语言与数字逻辑电路设计》这本书将帮助读者深入了解VHDL的基本语法、数据类型、运算符、进程语句、结构体等核心概念,并通过大量实例讲解如何运用VHDL来描述和实现各种数字逻辑电路。 VHDL语言100例详解:实践是掌握知识的关键。《VHDL语言100例详解》通过丰富的代码示例,从基础的逻辑门到复杂的数字系统设计(如计数器、寄存器、移位寄存器、加法器、比较器、编码器、解码器、多路选择器、状态机等)进行了全面覆盖。书中对每个例子的设计思路和工作原理都进行了详细解释,旨在帮助读者巩固理论知识并提升实际编程能力。 深入浅出玩转FPGA:这本书的目标是帮助读者轻松掌握FPGA的实战技能。它详细介绍了FPGA的基本架构,包括可配置逻辑块(CLB)、输入/输出块(IOB)、块存储器(BRAM)等;阐述了FPGA设计流程,如原理图输入、VHDL/Verilog编程、逻辑综合、布局布线、下载验证等;还提供了FPGA在实际项目中的应用案例,如信号处理、图像处理、协议接口设计等。 通过学习这三本书,你将能够: 熟练掌握VHDL语言的基本语法和设计技巧; 深入
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值