OpenSUSE13.1安装MongoDB
添加数据库源:
sudo zypper ar http://download.opensuse.org/repositories/server:/database/openSUSE_13.1/server:database.repo
刷新源:
sudo zypper refresh
然后搜索一下源中的MongoDB
zypper se mongodb
恩,源中有了
正在加载软件源数据...
正在读取已安装的软件包... S | 名称 | 摘要 | 类型
--+---------------------+--------------------------------------------------------+---------
i | mongodb | High-performance, schema-free document-oriented data-> | 软件包
| mongodb | High-performance, schema-free document-oriented data-> | 源代码包
| mongodb-debuginfo | Debug information for package mongodb | 软件包
| mongodb-debugsource | Debug sources for package mongodb | 软件包
| mongodb-devel | High-performance, schema-free document-oriented data-> | 软件包
安装:
sudo zypper in mongodb
启动:
sudo /usr/sbin/mongod
/usr/sbin/mongod --help for help and startup options
Fri Oct 31 22:08:34.280 [initandlisten] MongoDB starting : pid=11004 port=27017 dbpath=/var/lib/mongodb/ 64-bit host=linux-utem.site
Fri Oct 31 22:08:34.280 [initandlisten] db version v2.4.10
Fri Oct 31 22:08:34.280 [initandlisten] git version: nogitversion
Fri Oct 31 22:08:34.280 [initandlisten] build info: Linux cloud105 3.11.6-4-default #1 SMP Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 BOOST_LIB_VERSION=1_49
Fri Oct 31 22:08:34.280 [initandlisten] allocator: tcmalloc
Fri Oct 31 22:08:34.280 [initandlisten] options: {}
Fri Oct 31 22:08:34.365 [initandlisten] journal dir=/var/lib/mongodb/journal
Fri Oct 31 22:08:34.365 [initandlisten] recover begin
Fri Oct 31 22:08:34.365 [initandlisten] info no lsn file in journal/ directory
Fri Oct 31 22:08:34.365 [initandlisten] recover lsn: 0
Fri Oct 31 22:08:34.365 [initandlisten] recover /var/lib/mongodb/journal/j._0
Fri Oct 31 22:08:34.445 [initandlisten] recover cleaning up
Fri Oct 31 22:08:34.445 [initandlisten] removeJournalFiles
Fri Oct 31 22:08:34.498 [initandlisten] recover done
Fri Oct 31 22:08:34.498 [initandlisten] preallocating a journal file /var/lib/mongodb/journal/prealloc.0
Fri Oct 31 22:08:37.016 [initandlisten] File Preallocator Progress: 754974720/1073741824 70%
Fri Oct 31 22:08:40.059 [initandlisten] File Preallocator Progress: 1027604480/1073741824 95%
Fri Oct 31 22:08:50.844 [websvr] admin web console waiting for connections on port 28017
Fri Oct 31 22:08:50.844 [initandlisten] waiting for connections on port 27017
Fri Oct 31 22:09:04.397 [initandlisten] connection accepted from 127.0.0.1:45348 #1 (1 connection now open)
之后打开新的终端运行mongo即可进入命令行。
OpenSUSE13.1安装MongoDB的更多相关文章
- OpenSUSE13.2安装MongoDB
真是一个悲伤的故事,就是你解决过得问题没有记住,却需要再通过搜索引擎来找一遍,幸运的是曾经你做过记录,搜索帮你找到了. 这是我一个Wordpress博客整理记录的,好久没在那里更新了,两个月的时间,我 ...
- 【先定一个小目标】Windows下安装MongoDB 3.2
1.MongoDB 安装 官网提供了三个版本下载: - MongoDB for Windows 64-bit 适合 64 位的 Windows Server 2008 R2, Windows 7 , ...
- Windows 下安装 MongoDB
Windows 下安装 MongoDB 的步骤:1.官网www.mongodb.com下载安装包或zip包2.解压下载的文件到文件夹 D:\mongo .3.使用管理员权限打开CMD,导航到目录 D: ...
- windows 安装 mongodb
windows 安装 mongodb 下载 首先到官网下载合适的安装包,下载地址为 https://www.mongodb.com/download-center MongoDB for Window ...
- Python: Win7 64位如何安装MongoDB?
Windows 7 64位安装MongoDB 官网tutorial: https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-window ...
- CentOS7 编译安装 Mongodb (实测 笔记 Centos 7.0 + Mongodb 2.6.6)
环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7.0-1406-x86_64-DVD.iso 安装步骤: 1.准备 1.1 显示系统版 ...
- 搭建LNAMP环境(六)- PHP7源码安装MongoDB和MongoDB拓展
上一篇:搭建LNAMP环境(五)- PHP7源码安装Redis和Redis拓展 一.安装MongoDB 1.创建mongodb用户组和用户 groupadd mongodb useradd -r -g ...
- 在 CentOS7 上安装 MongoDB
在 CentOS7 上安装 MongoDB 1 通过 SecureCRT 连接至 CentOS7 服务器: 2 进入到 /usr/local/ 目录: cd /usr/local 3 在当前目录下创建 ...
- 2.0 (1)安装MongoDB
(官网:www.mongodb.com) ——————————(1)Mac安装MongoDB———————— 1)安装homebrew (官网地址,brew.sh) ruby -e "$(c ...
随机推荐
- js在web绘制在页上的圆
在web页,要画一个圆.有很多方法,SVG.canvas我们能够得出. 但文章没有使用这两种方法,但使用的div.div通常一个矩形.但是,假设一个圆形的样式设置border-radius有可能div ...
- 【LeetCode从零单排】No189 .Rotate Array
称号 Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the arr ...
- zTree实现访问到第一节点在相同水平当前所选节点数目
zTree实现访问到第一节点在相同水平当前所选节点数目 1.实现源代码 <!DOCTYPE html> <html> <head> <title>zTr ...
- 前端是Sencha Touch+ Cordova(转)
从13年初开始,我的关注点一直在两个点上,一个是股票,一个是移动前端和大数据技术,互联网金融的发展会让互联网证券越来越火热,当然,我也希望将这两个关注点结合到一起,做一些事情. 现在,我的APP和 ...
- mac在查看jre通路
于Finder于command+shift+G 选/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home 版权声明:本文博主原创 ...
- freemarker 空白处理
1 一个简短的引论 HTML 和 XML 都不是对空白敏感的,可是这么多多余的空白是非常令人头疼的,并且添加处理后的 HTML 文件大小也是不是必需的.当然,对于空白敏感的方式的输出这依然是个大问题. ...
- 向西项目管理工具Maven一片
前言 相信仅仅要做过 Java 开发的童鞋们,对 Ant 想必都不陌生,我们往往使用 Ant 来构建项目,尤其是涉及到特别繁杂的工作量.一个 build.xml 可以完毕编译.測试.打包.部署等非常多 ...
- mysql_自动备份
1 @echo off 2 set errorlevel=0 3 set dump_command="C:\Program Files\MySQL\MySQL Server 5.5\bin\ ...
- 【转】monkey工具简介
原文地址:http://www.testwo.com/blog/6188 一.Monkey 简介 Android的SDK 里面,Monkey的tools是一个命令行工具,当连接Android设备时 ...
- C# Parse和Convert的区别分析
原文:C# Parse和Convert的区别分析 大家都知道在进行类型转换的时候有连个方法供我们使用就是Convert.to和*.Parse,但是疑问就是什么时候用C 什么时候用P 通俗的解释大家都知 ...