Brew: MySQL, some cleaning.
This commit is contained in:
parent
5bcf42bdbd
commit
5fa52e4c00
@ -12,23 +12,27 @@ brew update
|
|||||||
# Upgrade any already-installed formulae
|
# Upgrade any already-installed formulae
|
||||||
brew upgrade
|
brew upgrade
|
||||||
|
|
||||||
# Install GNU core utilities (those that come with OS X are outdated)
|
# GNU core utilities (those that come with OS X are outdated)
|
||||||
brew install coreutils
|
brew install coreutils
|
||||||
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
|
# GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
|
||||||
brew install findutils
|
brew install findutils
|
||||||
|
|
||||||
# Install more recent versions of some OS X tools
|
# More recent versions of some OS X tools
|
||||||
brew tap homebrew/dupes
|
brew tap homebrew/dupes
|
||||||
brew install homebrew/dupes/grep
|
brew install homebrew/dupes/grep
|
||||||
#brew tap josegonzalez/homebrew-php
|
|
||||||
#brew install php54
|
|
||||||
|
|
||||||
# Install Git
|
# Git
|
||||||
brew install git
|
brew install git
|
||||||
brew install git-extras
|
brew install git-extras
|
||||||
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
|
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
|
||||||
|
|
||||||
# Install everything else
|
# MySQL
|
||||||
|
brew install mysql
|
||||||
|
unset TMPDIR
|
||||||
|
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
|
||||||
|
/usr/local/opt/mysql/bin/mysqladmin -u root password 'root'
|
||||||
|
|
||||||
|
# Everything else
|
||||||
brew install unrar
|
brew install unrar
|
||||||
brew install node
|
brew install node
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user