在Linux中安装Mongodb操作说明 MongoDB配置 版本说明:因本机所装Red Hat 为 64位操作系统故本例以64位的MongDB为例.所用版本如下: (1) Red Hat Enterprise Linux 6.2(测试应用) (2) MonDB: mongodb-linux-x86_64-rhel62-3.0.3 首先从官网下载适合的64位Linux版的Mondb,下载网址为: http://www.mongodb.org 做配置前的准备工作 方法一:用linux命
1.登录A机器 2.ssh-keygen -t rsa,将会生成密钥文件和私钥文件 id_rsa,id_rsa.pub或id_dsa,id_dsa.pub Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): [直接回车即可] Enter passphrase (empty for no passphrase): [若要建立无密码的ssh信任关系,这里直接回