brew install mongodb
mkdir -p /data/db
Ensure that user account running mongod has correct permissions for the directory:
1. Install Xcode, if you haven't already. | |
a. Once installed, run Xcode and accept the license agreement. | |
b. Go into Xcode Prefs (Cmd + ,), go to Downloads, and install "Command Line Tools for Xcode" (or something named similarily) | |
2. Install Homebrew (copy and paste the following into your terminal): | |
```bash | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
Just go to the formula site of brew https://formulae.brew.sh/formula/ and type mysql
to check in detail.
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
| Shoftcut Key | Description | | |
|--------------|---------------------------------------------------------------------------------| | |
| ^G | nano help | | |
| ^A | move to beginning of line in nano | | |
| ^E | move to end of line in nano | | |
| ^Y | move down a page - next page in nano | | |
| ^V | move up a page - previous page in nano | | |
| ^_ | move to a specific line (^_^V moves to the top of the file, ^_^Y to the bottom) | | |
| ^C | find out what line the cursor is currently on | | |
| ^W | search or find some text in nano | |
To install, go to https://docs.docker.com/install/linux/docker-ee/centos/
Notes:
The trial will get from https://storebits.docker.com/ee/trial/sub-bfc3849b-511c-4764-af8f-8435972037c3. You can get this link after success logging the docker page.
When setting up the repository,
$ export DOCKERURL=""
ltdl.h Not Found
brew install libtool https://stackoverflow.com/questions/43626320/ltdl-h-not-found-error-while-building-chaincode
cp: /usr/local/#INST@58390#: Permission denied
make[2]: *** [install-slapd] Error 1
make[1]: *** [install-common] Error 1
make: *** [install-common] Error 1
Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: open /Users/bachpt/.minishift/cache/iso/centos/v1.15.0/minishift-centos7.iso: The system cannot find the path specified.