Homebrew&Mongod

简介: Homebrew官网:http://brew.sh Homebrew installs the stuff you need that Apple didn't Homebrew的安装非常简单,打开终端复制、粘贴以下命令。

Homebrew官网:http://brew.sh

Homebrew installs the stuff you need that Apple didn't

Homebrew的安装非常简单,打开终端复制、粘贴以下命令。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.如果你当前的环境变量还没有加入 mongod ,手动添加的环境变量中.

$ nano ~/.bash_profile

//添加mongodb安装目录到环境变量中

export PATH=/usr/local/Cellar/mongodb/3.4.0/bin/:$PATH

 

3.如果让环境变量马上生效? 执行下面的

shell source ~/.bash_profile

目录
相关文章
|
缓存 开发工具 git
Homebrew安装
Homebrew安装
|
NoSQL 安全 测试技术
Redis安装与常用命令整合(2)
Redis安装与常用命令整合(2)
160 0
|
监控 Ubuntu 关系型数据库
How to Install and Configure Zabbix on Ubuntu 16.04
In this tutorial, we will go through step by step installation of Zabbix server and Zabbix client on Ubuntu 16.04 server.
3179 0
|
NoSQL Redis
Homebrew 插件自启动
版权声明:本文首发 http://asing1elife.com ,转载请注明出处。 https://blog.csdn.net/asing1elife/article/details/82892939 ...
1256 0
|
开发工具 git Ruby
Homebrew 配置
使用ruby脚本安装完成homebrew之后, 需要配置三个源以及添加一些环境变量 1. export HOMEBREW_NO_AUTO_UPDATE=true # 不自动检查更新 2.
1739 0
|
关系型数据库 开发工具 前端开发
pgbouncer-install
pgbouncer install
1839 0
|
关系型数据库 MySQL
wsl install lamp
sudo apt-get update sudo apt-get install lamp-server^   /etc/init.d/apache2 start /etc/init.d/mysql start   sudo apt-get -y install mysql-client mysql-server sudo apt-get -y install php7.
1814 0
|
Linux 数据安全/隐私保护