Skip to content

Instantly share code, notes, and snippets.

@davidalger
Last active May 15, 2019 08:53
Show Gist options
  • Save davidalger/1c536015b055717eafdd2ae4d7f06319 to your computer and use it in GitHub Desktop.
Save davidalger/1c536015b055717eafdd2ae4d7f06319 to your computer and use it in GitHub Desktop.

Configure Valet+ to NOT require a password for sudo

echo "%admin ALL = NOPASSWD: /usr/local/bin/valet" | sudo tee /etc/sudoers.d/valet-nopasswd

Enable macOS Server Performance Mode

For more details see this page.

sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"
sudo reboot

Setup RabbitMQ Support

brew install rabbitmq-c
pecl install amqp
valet rabbitmq install

Setup Elasticsearch 2.4

brew cask install homebrew/cask-versions/java8
valet elasticsearch install

Setup Elasticsearch 5.6

ElasticSuite by Smile requires version 5.6 or greater and the plugins included below.

If Elasticsearch 2.4 has previously been installed, be sure to stop it before you install Elasticsearch 5.6: brew services stop elasticsearch@2.4

brew cask install homebrew/cask-versions/java8
brew install elasticsearch@5.6
brew services start elasticsearch@5.6
pushd /usr/local/opt/elasticsearch@5.6/
bin/elasticsearch-plugin install analysis-phonetic
brew services restart elasticsearch@5.6
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment