Skip to content

Instantly share code, notes, and snippets.

@dkorpar
Forked from davidalger/valet-setup-guide.md
Created April 2, 2019 13:51
Show Gist options
  • Select an option

  • Save dkorpar/2d81707a3ffb628713259653af023567 to your computer and use it in GitHub Desktop.

Select an option

Save dkorpar/2d81707a3ffb628713259653af023567 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