上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
  2017年8月28日
摘要: Table of Contents Introduction Requirements Create Replica Set Add Secondary Members Add an Arbiter Introduction A replica set provides MongoDB with r 阅读全文
posted @ 2017-08-28 16:56 VincentZhu 阅读(298) 评论(0) 推荐(0) 编辑
  2017年8月25日
摘要: http://blog.csdn.net/luonanqin/article/details/8497860 参数解释: dbpath:数据存放目录 logpath:日志存放路径 pidfilepath:进程文件,方便停止mongodb directoryperdb:为每一个数据库按照数据库名建立文 阅读全文
posted @ 2017-08-25 16:37 VincentZhu 阅读(243) 评论(0) 推荐(0) 编辑
摘要: count failed: not master{ "note" : "from execCommand", "ok" : 0, "errmsg" : "not master" } at src/mongo/shell/query.js:191 在SECONDARY节点无法show dbs 主从启动之后,连接slave可以成功连上,但是在slave中执行 show dbs 的时候就报错... 阅读全文
posted @ 2017-08-25 16:28 VincentZhu 阅读(427) 评论(0) 推荐(0) 编辑
摘要: [10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 systemctl stop firewalld systemctl mask firewalld 关闭虚拟机防火墙: 关闭命令: service iptable... 阅读全文
posted @ 2017-08-25 16:28 VincentZhu 阅读(165) 评论(0) 推荐(0) 编辑
  2017年8月12日
摘要: 1、ssh的安装和配置 sudo apt-get update sudo apt-get install openssh-server 查看ssh服务是否启动 打开"终端窗口",输入"sudo ps -e |grep ssh"-->回车-->有sshd,说明ssh服务已经启动,如果没有启动,输入"sudo service ssh start"--> 回车-->ssh服务就会启动。 允许ro... 阅读全文
posted @ 2017-08-12 17:58 VincentZhu 阅读(242) 评论(0) 推荐(0) 编辑
  2017年8月11日
摘要: 最近因为项目原因需要在阿里云服务器上部署MongoDB,操作系统为Ubuntu,网上查阅了一些资料,特此记录一下步骤。 1.运行apt-get install mongodb命令安装MongoDB服务(如果提示找不到该package,说明apt-get的资源库版本比较旧,运行apt-get upda 阅读全文
posted @ 2017-08-11 17:12 VincentZhu 阅读(663) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/samxx8/article/details/36640037 http://www.sphinx-doc.org/en/stable/install.html#windows-install-python-and-sphinx 阅读全文
posted @ 2017-08-11 16:47 VincentZhu 阅读(433) 评论(0) 推荐(0) 编辑
  2017年7月20日
摘要: ubuntu 9.10默认的是UFW防火墙,已经支持界面操作了。在命令行运行ufw命令就可以看到提示的一系列可进行的操作。 最简单的一个操作:sudo ufw status可检查防火墙的状态,我的返回的是:不活动 sudo ufw version防火墙版本: ufw 0.29-4ubuntu1 Copyright 2008-2009 Canonical Ltd. ubuntu 系统默认已... 阅读全文
posted @ 2017-07-20 14:03 VincentZhu 阅读(39573) 评论(1) 推荐(0) 编辑
  2017年7月18日
摘要: 一、常用命令 https://askubuntu.com/questions/61254/how-to-update-gcc-to-the-latest-versionin-this-case-4-7-in-ubuntu-10-04 ubuntu16.04中将python3设置为默认: 如果要切换到 阅读全文
posted @ 2017-07-18 16:30 VincentZhu 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 阿里云 Ubuntu 14.04 安装mysql 5.6 1.升级apt-get sudo apt-get update 2. 安装mysql5.6版本 apt-get install mysql-server-5.6 如果你想查看别的版本可以输入apt-get install mysql的时候按下 阅读全文
posted @ 2017-07-18 16:24 VincentZhu 阅读(340) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页