安装FoundationDB

Linux下安装FoundationDB

系统要求:
* 64位操作系统
* RHEL/CentOS 6.x或者7.x
* Ubuntu 12.04或更高版本
* 不支持的Linux发行版包含:
内核版本介于2.6.33和3.0.x之间(含)或3.7或更高,适用于.deb或.rpm包 或者,macOS 10.7或更高版本

[下载地址]

 警告: macOS下FoundationDB仅适用于本地访问。

Ubuntu

 google@localhost$ sudo dpkg -i foundationdb-clients_5.1.5-1_amd64.deb foundationdb-server_5.1.5-1_amd64.deb

RHEL/CentOS 6

 google@localhost$ sudo rpm -Uvh foundationdb-clients-5.1.5-1.el7.x86_64.rpm foundationdb-server-5.1.5-1.el7.x86_64.rpm

RHEL/CentOS 7

 google@localhost$ sudo rpm -Uvh foundationdb-clients-5.1.5-1.el7.x86_64.rpm  foundationdb-server-5.1.5-1.el7.x86_64.rpm

测试

google@localhost$ fdbcli
Using cluster file `/etc/foundationdb/fdb.cluster'.

The database is available.

Welcome to the fdbcli. For help, type `help'.
fdb> status

Configuration:
  Redundancy mode        - single
  Storage engine         - memory
  Coordinators           - 1

Cluster:
  FoundationDB processes - 1
  Machines               - 1
  Memory availability    - 4.1 GB per process on machine with least available
  Fault Tolerance        - 0 machines
  Server time            - Thu Mar 15 14:41:34 2018

Data:
  Replication health     - Healthy
  Moving data            - 0.000 GB
  Sum of key-value sizes - 8 MB
  Disk space used        - 103 MB

Operating space:
  Storage server         - 1.0 GB free on most full server
  Transaction log        - 1.0 GB free on most full server

Workload:
  Read rate              - 2 Hz
  Write rate             - 0 Hz
  Transactions started   - 2 Hz
  Transactions committed - 0 Hz
  Conflict rate          - 0 Hz

Backup and DR:
  Running backups        - 0
  Running DRs            - 0

Client time: Thu Mar 15 14:41:34 2018

如果显示上述代表成功。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值