cd /tmp
git clone https://github.com/CHH/phpenv.git
cd phpenv
./bin/phpenv-install.sh
rm -rf /tmp/phpenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Usage | |
# $ docker-machine create my-machine123 -d virtualbox | |
# $ ruby <(curl -L https://git.io/vvvco) my-machine123 | |
# https://gist.github.com/mattes/4d7f435d759ca2581347 | |
require 'erb' | |
bootlocalsh = %Q(#/bin/bash |
I hereby claim:
- I am NoUseFreak on github.
- I am nousefreak (https://keybase.io/nousefreak) on keybase.
- I have a public key whose fingerprint is 2133 ADB2 040F 2468 80E4 9749 DCFC E9CF 89C7 5F96
To claim this, I am signing this object:
- Make sure you have homebrew installed.
- Install solr.
brew install solr
- Make a data folder and copy the example multicore instance.
mkdir /var/solr && cp /usr/local/Cellar/solr/4.2.1/libexec/example/multicore /var/solr/multicore
- Set the permissions correct.
sudo chown -R `whoami` /usr/local/Cellar/solr/ /var/solr
- Start solr.
solr /var/solr/multicore
- Access solr at http://localhost:8983/solr/