tokumx的安装和使用
2024-08-31 17:48:53
Add the Tokutek package signing key.
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 505A7412
You can check that the fingerprint is correct:
$ sudo apt-key finger 505A7412
/etc/apt/trusted.gpg
--------------------
pub 2048R/505A7412 2014-01-27
Key fingerprint = DA56 C65D 432E DAB1 F183 AA6F 70A4 E325 505A 7412
uid Timothy Callaghan (Tokutek Key) <tim@tokutek.com>
sub 2048R/46A1A9B9 2014-01-27
Add an entry for the TokuMX package repository for your release (wheezy, precise, quantal, raring, saucy, or trusty).
$ echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/tokumx.list
Update apt and install TokuMX.
$ sudo apt-get update
$ sudo apt-get install tokumx
Running
the server
If migrating from an existing MongoDB installation, copy any relevant configuration from /etc/mongodb.conf
to /etc/tokumx.conf
.
To migrate your existing data to TokuMX, start here: Migrating
from MongoDB
To control the
mongod
data server, useservice
:$ sudo service tokumx start
$ sudo service tokumx restart
$ sudo service tokumx stop
To enable TokuMX on boot, use
chkconfig
on Debian:$ sudo chkconfig tokumx on
$ sudo chkconfig tokumx off
or
update-rc.d
on Ubuntu:$ sudo update-rc.d tokumx defaults
$ sudo update-rc.d tokumx remove
Connecting
to TokuMX
Use the mongo
shell:
$ mongo
TokuMX mongo shell v1.4.2-mongodb-2.4.10
connecting to: test
Welcome to the TokuMX shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
and the TokuMX Users' Guide available at
http://www.tokutek.com/products/downloads/tokumx-ce-downloads/
Questions? Try the support group
http://groups.google.com/group/tokumx-user
> db.serverBuildInfo().tokumxVersion
1.4.2
最新文章
- Jquery 捕捉页面关闭事件
- 发布ASP.NET Core程序到Linux生产环境
- 《Java并发编程实战》学习笔记 线程安全、共享对象和组合对象
- NagiosQL 跨站脚本漏洞
- SQL Server将一列的多行内容拼接成一行的问题讨论
- ByteArrayInputStream 和 ByteArrayOutputStream
- HDU2056(rectangles)
- 2016 ACM/ICPC Asia Regional Qingdao Online 1002 Cure
- C语言之函数
- CSS之clearfix清除浮动
- 【实验吧】CTF_Web_简单的SQL注入之3
- phpcms不能批量更新栏目页和内容页
- redis-hash操作
- jq后加标签的事件(live事件)
- Tomcat 500error: Could not initialize class
- JDK记录-JVM原理与调优(转载)
- js格式化格林威治时间
- vs2015调试iisexpress无法启动的问题解决方案整理
- centos7部署openvpn-2.4.6
- [NOI 2016]网格
热门文章
- 【Educational Codeforces Round 37 B】 Tea Queue
- 转载-- Qt Creator编译时make: arm-linux-g++: command not found 错误!
- 洛谷 P3152 正整数序列
- maven中使用mybatis
- 【Facebook的UI开发框架React入门之九】button简单介绍(iOS平台)-goodmao
- 【 Beginning iOS 7 Development《精通iOS7开发》】05 Autorotation and Autosizing
- 面对即将终止支持的server你还能做些什么
- Bootstrapbutton组
- Dubbo源代码分析(三):Dubbo之服务端(Service)
- Java基本数据类型及字节