Pilosa文档翻译(一)导言、安装
导言
原文地址
Pilosa
是一个开源的分布式索引(搜索引擎)。它主要设计用于高速和可横向扩展的场景。如果您拥有数十亿个对象
数据,这些对象数据可能具有数百万个属性
,并且您想探索这些关系,Pilosa可以为您提供帮助。
- 哪种属性最常见?
- 哪些对象具有这些特定属性?
- 哪些属性组经常出现在一起?
Pilosa
旨在实时应答这些类型的查询,适用具有于高速率数据流的使用,或为用户界面提供支持。
一旦安装了Pilosa
,入门指南将向您展示与Pilosa
交互的基础知识,并为您提供更深入探索的一些指导。
安装
原文地址
Pilosa目前适用于MacOS和Linux。
安装在MacOS
在MacOS
上安装Pilosa
的四种方法。
使用HomeBrew
1、更新您的HomeBrew
brew update
2、安装Pilosa
brew install pilosa
3、查看是否安装成功
pilosa
如果有如下形式输出,表示安装成功
Pilosa is a fast index to turbocharge your database.
This binary contains Pilosa itself, as well as common
tools for administering pilosa, importing/exporting data,
backing up, and more. Complete documentation is available
at https://www.pilosa.com/docs/.
Version: v1.1.0
Build Time: 2018-05-14T22:14:01+0000
Usage:
pilosa [command]
Available Commands:
check Do a consistency check on a pilosa data file.
config Print the current configuration.
export Export data from pilosa.
generate-config Print the default configuration.
help Help about any command
import Bulk load data into pilosa.
inspect Get stats on a pilosa data file.
server Run Pilosa.
Flags:
-c, --config string Configuration file to read from.
-h, --help help for pilosa
Use "pilosa [command] --help" for more information about a command.
下载二进制文件
1、下载最近发行版本压缩包文件
curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.1.0/pilosa-v1.1.0-darwin-amd64.tar.gz
其他版本可从 Github 上的Releases
页面中下载。
2、解压
tar xfz pilosa-v1.1.0-darwin-amd64.tar.gz
3、将二进制文件移动到PATH中,这样就可以在shell任何位置运行:
cp -i pilosa-v1.1.0-darwin-amd64/pilosa /usr/local/bin
4、查看是否安装成功
pilosa
安装成功输出与上面brew安装的输出一样。
从源码构建
有关从源构建的高级说明,请查看我们的贡献者指南。
1、安装依赖
2、克隆仓库
mkdir -p ${GOPATH}/src/github.com/pilosa && cd $_
git clone https://github.com/pilosa/pilosa.git
3、构建Pilosa仓库
cd $GOPATH/src/github.com/pilosa/pilosa
make install-build-deps
make install
4、查看是否安装成功
pilosa
安装成功输出与上面brew安装的输出一样。
使用Docker
1、安装Mac版Docker
2、确认 Docker 守护进程正在后台运行
docker version
如果您看不到列出的服务器,请启动 Docker 应用程序。
3、从 Docker Hub 中提取官方 Pilosa 镜像
docker pull pilosa/pilosa:latest
4、确保已成功安装 Pilosa
docker run --rm pilosa/pilosa:latest help
安装在Linux
在 Linux 上安装 Pilosa 的三种方法:下载二进制(推荐)、从源构建或使用 Docker。
下载二进制文件
1、要安装最新版本的Pilosa,请下载最新版本
curl -L -O https://github.com/pilosa/pilosa/releases/download/v1.1.0/pilosa-v1.1.0-linux-amd64.tar.gz
注意:这里假定您正在使用amd64
兼容体系结构。其他版本可以从Github上Release页面下载。
2、解压
tar xfz pilosa-v1.1.0-linux-amd64.tar.gz
3、将二进制程序拷贝到您的PATH
路径中,以便您可以shell从任何位置运行pilosa
:
cp -i pilosa-v1.1.0-linux-amd64/pilosa /usr/local/bin
4、确保已成功安装Pilosa
pilosa
如果您看的类似的输出,则表示安装成功:
Pilosa is a fast index to turbocharge your database.
This binary contains Pilosa itself, as well as common
tools for administering pilosa, importing/exporting data,
backing up, and more. Complete documentation is available
at https://www.pilosa.com/docs/.
Version: v1.1.0
Build Time: 2018-05-14T22:14:01+0000
Usage:
pilosa [command]
Available Commands:
check Do a consistency check on a pilosa data file.
config Print the current configuration.
export Export data from pilosa.
generate-config Print the default configuration.
help Help about any command
import Bulk load data into pilosa.
inspect Get stats on a pilosa data file.
server Run Pilosa.
Flags:
-c, --config string Configuration file to read from.
-h, --help help for pilosa
Use "pilosa [command] --help" for more information about a command.
从源码构建
有关从源构建的高级说明,请查看我们的贡献者指南。
1、安装依赖
2、克隆仓库
mkdir -p ${GOPATH}/src/github.com/pilosa && cd $_
git clone https://github.com/pilosa/pilosa.git
3、构建Pilosa仓库
cd $GOPATH/src/github.com/pilosa/pilosa
make install-build-deps
make install
4、查看是否安装成功
pilosa
安装成功输出与上面二进制安装的输出一样。
使用Docker
1、安装Docker
2、确认Docker 守护进程正在后台运行
docker version
如果您看不到列出的服务器,请启动 Docker 应用程序。
3、从 Docker Hub 中提取官方 Pilosa 镜像
docker pull pilosa/pilosa:latest
4、确保已成功安装 Pilosa
docker run --rm pilosa/pilosa:latest help
接下来是什么?
请访问入门指南,创建您的第一个Pilosa索引(Index)。
Pilosa文档翻译(一)导言、安装的更多相关文章
- Pilosa文档翻译(二)入门指南
目录 开始 Pilosa 简单项目 创建架构(Create the Schema) 从CVS文件导入数据 做一些查询(Queries) 接下来做什么? Pilosa支持默认使用JSON的HTTP接口. ...
- Pilosa文档翻译(三)示例
目录 简单说明 Introduction 数据模型 Data Model 映射Mapping 0列(colums) --> 1字段(field) 1列(colums) --> 1字段(fi ...
- Serenity框架官方文档翻译(1-2开始、安装和界面)
1.开始 最好的和最快速地上手Serenity的方法是使用SERENE,它是一个示例应用程序模板. 您有2个选项来安装SERENE 模板到您的Visual Studio: 从Visual Studio ...
- Orchard官方文档翻译(三) 通过zip文件手动安装Orchard
原文地址:http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file 想要查看文档目录请用力点击 ...
- Orchard官方文档翻译(二) 安装 Orchard
原文地址:http://docs.orchardproject.net/Documentation/Installing-Orchard 想要查看文档目录请用力点击这里 最近想要学习了解orchard ...
- React文档翻译系列(一)安装
原文地址:原文 本系列是针对React文档进行的翻译,因为自己在学习react的时候,最开始通过看博客或者论坛等中文资料,有些内容是零零散散的接收,并没有给自己带来很好的效果,所以后来决定把文档的原文 ...
- RabbitMQ windows安装官方文档翻译!
RabbitMQ Windows安装和配置 下载地址 官网windows下载地址: http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.10/r ...
- 【esri-loader】帮助文档翻译 part1 是什么,怎么安装,为什么要用它
是什么 esri-loader是一个JavaScript库(包/模块,Web模块化编程的概念),用于在非Dojo框架的Web页面中加载ArcGIS API for JavaScript 3.x或4.x ...
- intellij idea 官方帮助文档翻译(一)安装
安装需求: 硬件需求: 最低2GB内存,推荐4GB内存 最少要有1.5GB的硬盘空间,以及1GB空间用于缓存 最低1024*768的分辨率 软件需求: intellij idea中包含了jre 1.8 ...
随机推荐
- Spark中map与flatMap
map将函数作用到数据集的每一个元素上,生成一个新的分布式的数据集(RDD)返回 map函数的源码: def map(self, f, preservesPartitioning=False): &q ...
- POJ 1979 红与黑
题目地址: http://poj.org/problem?id=1979 或者 https://vjudge.net/problem/OpenJ_Bailian-2816 Red and Blac ...
- 了解一下vue源码中vue 的由来
我们之前提到过 Vue.js 构建过程,在 web 应用下,我们来分析 Runtime + Compiler 构建出来的 Vue.js,它的入口是 src/platforms/web/entry-r ...
- Codeforces 1096D Easy Problem 【DP】
<题目链接> 题目大意: 给你一个字符串,每个字符有权值,问现在删除字符串中的字符使其中没有"hard"的最小代价是多少. 解题分析: 用DP来求解: 转 ...
- format 用法
hon2.6开始,新增了一种格式化字符串的函数str.format(),可谓威力十足.那么,他跟之前的%型格式化字符串相比,有什么优越的存在呢?让我们来揭开它羞答答的面纱.语法 它通过{}和:来代替% ...
- C#Stopwatch的简单计时zz
Stopwatch 类 命名空间:System.Diagnostics.Stopwatch 实例化:Stopwatch getTime=new Stopwatch(); 开始计时:getTime.St ...
- Sql的行列(纵横表)转换
1.行转列: 表结构和数据: DROP TABLE IF EXISTS `kj`; CREATE TABLE `kj` ( `姓名` ) DEFAULT NULL, `课程` ) DEFAULT NU ...
- [联赛可能考到]图论相关算法——COGS——联赛试题预测
COGS图论相关算法 最小生成树 Kruskal+ufs int ufs(int x) { return f[x] == x ? x : f[x] = ufs(f[x]); } int Kruskal ...
- [P3452][POI2007]BIU-Offices (BFS)
这里有一个很完美(搞笑但是确实是这样的)翻译 题意 神牛 LXX 昨天刚刚满 18 岁,他现在是个成熟的有为男青年.他有 N 个 MM,分别从 1 到 N 标号. 这些 MM 有些是互相认识的.现在, ...
- Yii2 数据搜索类 PostSearch
数据搜索类 PostSearch /** * @Purpose : 添加 authorName 属性,使属性和搜索表单相对应 * @return array */ public function at ...