This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jeremy16601 on github. | |
* I am jeremy16601 (https://keybase.io/jeremy16601) on keybase. | |
* I have a public key ASCH-zse76xR7NQTeDvJDZcVokbggI6A8Ev4jOIyVrgm8Qo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一、准备工作: | |
运行yum命令查看MongoDB的包信息 [root@vm ~]# yum info mongo-10gen | |
(提示没有相关匹配的信息,) | |
说明你的centos系统中的yum源不包含MongoDB的相关资源,所以要在使用yum命令安装MongoDB前需要增加yum源,也就是在 /etc/yum.repos.d/目录中增加 *.repo yum源配置文件,以下分别是针对centos 64位和32位不同的系统的MongoDB yum 源配置内容: | |
我们这里就将该文件命名为:/etc/yum.repos.d/10gen.repo | |
For 64-bit yum源配置: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx 配置 nodejs反向代理 | |
## nginx 安装 | |
1. 下载最新的nginx 官网 1.7 版本. | |
2. ./configure 然后 make ,make install | |
3. 默认安装位置/etc/nginx/ | |
4. 进入 sites-enabled --- 创建个新文件,例如 wechat.conf | |
5. vim wechat.conf | |
-- server{ | |
listen 80; | |
server_name www.10gejin.com; |