Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| I was able to fix this issue by explicitly setting the HostName using scutil to be the same value as LocalHostName: | |
| $ scutil --set HostName $(scutil --get LocalHostName) | |
| Now: | |
| $ sudo scutil --set HostName MacBook-Pro | |
| $ time python -c 'import socket; print(socket.getfqdn())' | |
| MacBook-Pro | |
| python -c 'import socket; print(socket.getfqdn())' 0.01s user 0.00s system 86% cpu 0.016 total | |
| I was confused before because of the following: |
| install PostgreSQL 9 in Mac OSX via Homebrew | |
| Mac OS X Snow Leopard | |
| System Version: Mac OS X 10.6.5 | |
| Kernel Version: Darwin 10.5.0 | |
| Install notes for PostgreSQL 9.0.1 install using Homebrew: | |
| sh-3.2# brew install postgresql |
| # These instructions assume you are using a Linux or Mac machine as | |
| # the “local” machine and an Amazon Linux as the “remote” machine. | |
| # Here’s one way to get X11 working between the two. | |
| # on the local machine (Linux or Mac with X11 already installed) | |
| $ ssh -X -i <amazon_key.pem> ec2-user@<remote_ec2_box_name> | |
| # then on the remote Amazon Linux EC2 box | |
| $ sudo yum install xauth | |
| $ sudo yum install xterm |
| apm install atom-beautify prettier-atom editorconfig file-icons highlight-selected local-history project-manager atom-wrap-in-tag atom-ternjs autoclose-html autocomplete-modules color-picker docblockr emmet emmet-jsx-css-modules es6-javascript js-hyperclick hyperclick pigments lodash-snippets language-babel react-es7-snippets atom-jest-snippets auto-detect-indentation autoclose language-babel busy-signal intentions linter linter-csslint linter-htmlhint linter-jshint linter-eslint linter-ui-default minimap |
| sudo add-apt-repository ppa:jonathonf/vim | |
| sudo apt-get update && sudo apt-get upgrade | |
| It these commands don't work above. | |
| You have to use | |
| apt-get -u dist-upgrade |
Install rbenv and ruby-build to Amazon Linux (cloud-init).
user-data.sh to EC2 RunInstances user-datainstall-ruby.sh. sudo groupadd dockersudo gpasswd -a ${USER} docker