Skip to content

Instantly share code, notes, and snippets.

@webfed
Created October 5, 2015 20:08
Show Gist options
  • Save webfed/f0de69193619ffaac037 to your computer and use it in GitHub Desktop.
Save webfed/f0de69193619ffaac037 to your computer and use it in GitHub Desktop.
Install log El Capitan 10.11
########
# Online, continuing 2015-10-01 20:40:47
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Great, Drush isn't already installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.11, so let's go!
########
########
# Checking if Homebrew is installed..
########
# Nope! Installing Homebrew now..
########
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
==> The following directories will have their owner set to gerard:
/usr/local/.
==> The following directories will have their group set to admin:
/usr/local/.
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
==> /usr/bin/sudo /usr/sbin/chown gerard /usr/local/.
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/.
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown gerard /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 407c682 doctor: point Xcode download to App Store for El Capitan
==> Installation successful!
==> Next steps
Run `brew help` to get started
########
# Doing some setup ready for Aegir install..
########
# Your hostname will be set to aegir.ld
########
# Install the developmental version of Aegir (7.x-3.x)? [Y/n]:
########
# You entered N
########
########
# I can install multiple versions of PHP; 5.3, 5.4 and/or 5.5.
# Let me know which versions you'd like installed.
# Set up PHP 5.3 [Y/n]:
########
# You entered N
########
########
# Set up PHP 5.4 [Y/n]:
########
# You entered N
########
########
# Set up PHP 5.5 [Y/n]:
########
# You entered Y
########
########
# Make PHP 5.5 the default [Y/n]:
########
# You entered Y
########
########
# I can also setup ApacheSolr which is best used in conjunction with:
# https://drupal.org/project/search_api_solr
# Set up solr [Y/n]:
########
########
# Now we'll tap some extra kegs we need..
########
==> Tapping homebrew/versions
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-versions'...
Tapped 247 formulae (271 files, 1,5M)
==> Tapping homebrew/dupes
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-dupes'...
Tapped 37 formulae (99 files, 404K)
==> Tapping homebrew/php
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'...
Tapped 516 formulae (551 files, 2,5M)
==> Tapping homebrew/nginx
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-nginx'...
Tapped 54 formulae (140 files, 584K)
Already up-to-date.
Your system is ready to brew.
# Installing required brew formulae..
########
# Installing cask..
########
==> Tapping caskroom/cask
Cloning into '/usr/local/Library/Taps/caskroom/homebrew-cask'...
Tapped 1 formula (3167 files, 24M)
==> Installing brew-cask from caskroom/homebrew-cask
==> Cloning https://github.com/caskroom/homebrew-cask.git
Cloning into '/Library/Caches/Homebrew/brew-cask--git'...
Note: checking out 'b30085af1e10fb6c50c5c1395849af07d67a83ac'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
==> Checking out tag v0.56.0
🍺 /usr/local/Cellar/brew-cask/0.56.0: 2802 files, 11M, built in 8 seconds
# Installing gcc..
########
==> Installing apple-gcc42 from homebrew/homebrew-dupes
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg
==> /bin/pax --insecure -rz -f usr.pkg/Payload -s ,./usr,/usr/local/Cellar/apple-gcc42/4.2.1-5666.3,
==> Caveats
NOTE:
This formula provides components that were removed from XCode in the 4.2
release. There is no reason to install this formula if you are using a
version of XCode prior to 4.2.
This formula contains compilers built from Apple's GCC sources, build
5666.3, available from:
http://opensource.apple.com/tarballs/gcc
All compilers have a `-4.2` suffix. A GFortran compiler is also included.
==> Summary
🍺 /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 11 seconds
########
# Installing java8..
########
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
If your Java application still asks for JRE installation, you might need
to reboot or logout/login.
Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement for Java SE at
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-macosx-x64.dmg
==> Running installer for java; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> installer: Package name is JDK 8 Update 60
==> installer: Installing at base path /
==> installer: The install was successful.
ln: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK: Operation not permitted
🍺 java staged at '/opt/homebrew-cask/Caskroom/java/1.8.0_60-b27' (2 files, 227M)
########
# Installing wget..
########
==> Installing dependencies for wget: openssl
==> Installing wget dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.el_capitan.bottle.tar.gz
==> Pouring openssl-1.0.2d_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.2d_1: 464 files, 17M
==> Installing wget
==> Downloading https://homebrew.bintray.com/bottles/wget-1.16.3.el_capitan.bottle.tar.gz
==> Pouring wget-1.16.3.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/wget/1.16.3: 9 files, 1,5M
########
# Installing curl..
########
==> Installing dependencies for curl: pkg-config
==> Installing curl dependency: pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.28.el_capitan.bottle.2.tar.gz
==> Pouring pkg-config-0.28.el_capitan.bottle.2.tar.gz
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 600K
==> Installing curl
==> Downloading https://github.com/bagder/curl/releases/download/curl-7_44_0/curl-7.44.0.tar.bz2
==> Downloading from https://github-cloud.s3.amazonaws.com/releases/569041/f4981f94-40c9-11e5-8f64-45d22cc8dd8c.bz2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIMWPLRQEC4XCWWPA%2F20151001%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20151001T184726Z&X-Amz-Expires=3600&X-Amz-Signature=e4411e05cdf036f1ae39e49d3cae72b6c6ee9ad1fc09dfc5bba34fc25f80b4ce&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dcurl-7.44.0.tar.bz2&response-content-type=application%2Foctet-stream
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/curl/7.44.0 --with-ssl=/usr/local/opt/openssl --with-ca-bundle=/usr/local/etc/openssl/cert.pem --without-libssh2 --without-libidn --without-libmetalink --without-gssapi --without-librtmp --disable-ares
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/curl/lib
CPPFLAGS: -I/usr/local/opt/curl/include
==> Summary
🍺 /usr/local/Cellar/curl/7.44.0: 310 files, 2,9M, built in 102 seconds
########
# Installing gzip..
########
==> Installing gzip from homebrew/homebrew-dupes
==> Downloading http://ftpmirror.gnu.org/gzip/gzip-1.6.tar.gz
==> Downloading from http://gnu.xl-mirror.nl/gzip/gzip-1.6.tar.gz
==> Downloading https://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/gzip/gzip-rsyncable.patch?revision=1.4&view=co
==> Patching
patching file deflate.c
patching file gzip.c
Hunk #1 succeeded at 215 (offset 2 lines).
Hunk #2 succeeded at 276 (offset 5 lines).
Hunk #3 succeeded at 361 (offset 6 lines).
Hunk #4 succeeded at 493 (offset 8 lines).
patching file gzip.h
patching file doc/gzip.texi
Hunk #1 succeeded at 358 with fuzz 2 (offset 24 lines).
patching file trees.c
Hunk #1 succeeded at 59 (offset 13 lines).
Hunk #2 succeeded at 857 (offset 9 lines).
Hunk #3 succeeded at 953 (offset 10 lines).
==> ./configure --prefix=/usr/local/Cellar/gzip/1.6
==> make install
🍺 /usr/local/Cellar/gzip/1.6: 33 files, 404K, built in 50 seconds
########
# Installing libpng..
########
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.18.el_capitan.bottle.tar.gz
==> Pouring libpng-1.6.18.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.18: 17 files, 1,2M
########
# Installing dnsmasq..
########
==> Downloading https://homebrew.bintray.com/bottles/dnsmasq-2.75.el_capitan.bottle.tar.gz
==> Pouring dnsmasq-2.75.el_capitan.bottle.tar.gz
==> Caveats
To configure dnsmasq, copy the example configuration to /usr/local/etc/dnsmasq.conf
and edit to taste.
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
To have launchd start dnsmasq at startup:
sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons
sudo chown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
Then to load dnsmasq now:
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
==> Summary
🍺 /usr/local/Cellar/dnsmasq/2.75: 7 files, 512K
########
# Configuring dnsmasq..
########
########
# Setting up wildcard DNS so that domains ending in dot ld will resolve to your local machine
# Setting dnsmasq config..
########
# Setting OpenDNS and Google DNS servers as fallbacks..
########
########
# Making local domains resolve when your disconnected from net..
########
# Setting hostname to aegir.ld
########
# Copying dnsmasq launch daemon into place..
########
# Starting dnsmasq..
########
########
# Installing nginx..
########
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.37.el_capitan.bottle.tar.gz
==> Pouring pcre-8.37.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/pcre/8.37: 146 files, 5,9M
==> Downloading https://homebrew.bintray.com/bottles/geoip-1.6.6.el_capitan.bottle.tar.gz
==> Pouring geoip-1.6.6.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/geoip/1.6.6: 16 files, 588K
==> Installing nginx-full from homebrew/homebrew-nginx
==> Installing dependencies for homebrew/nginx/nginx-full: upload-progress-nginx-module
==> Installing homebrew/nginx/nginx-full dependency: upload-progress-nginx-module
==> Downloading https://github.com/masterzen/nginx-upload-progress-module/archive/v0.9.1.tar.gz
==> Downloading from https://codeload.github.com/masterzen/nginx-upload-progress-module/tar.gz/v0.9.1
🍺 /usr/local/Cellar/upload-progress-nginx-module/0.9.1: 10 files, 196K, built in 4 seconds
==> Installing homebrew/nginx/nginx-full
==> Downloading http://nginx.org/download/nginx-1.8.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.8.0_2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.8.0_2/bin/nginx --with-cc-opt=-I/usr/local/include -I/usr/local/Cellar/pcre/8.37/include -I/usr/local/Cellar/openssl/1.0.2d_1/include --with-ld-opt=-L/usr/local/lib -L/usr/local/Cellar/pcre/8.37/lib -L/usr/local/Cellar/openssl/1.0.2d_1/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-debug --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_spdy_module --with-http_stub_status_module --with-http_dav_module --add-module=/usr/local/share/upload-progress-nginx-module
==> make install
==> Caveats
Docroot is: /usr/local/var/www
The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.
nginx will load all files in /usr/local/etc/nginx/servers/.
- Tips -
Run port 80:
$ sudo chown root:wheel /usr/local/Cellar/nginx-full/1.8.0_2/sbin/nginx
$ sudo chmod u+s /usr/local/Cellar/nginx-full/1.8.0_2/sbin/nginx
Reload config:
$ nginx -s reload
Reopen Logfile:
$ nginx -s reopen
Stop process:
$ nginx -s stop
Waiting on exit process
$ nginx -s quit
To have launchd start homebrew/nginx/nginx-full at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/nginx-full/*.plist ~/Library/LaunchAgents
Then to load homebrew/nginx/nginx-full now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx-full.plist
==> Summary
🍺 /usr/local/Cellar/nginx-full/1.8.0_2: 7 files, 1,1M, built in 23 seconds
########
# Configuring nginx..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 564 100 564 0 0 522 0 0:00:01 0:00:01 --:--:-- 522
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 441k 100 441k 0 0 654k 0 --:--:-- --:--:-- --:--:-- 654k
########
# Installing mariadb..
########
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.3.2.el_capitan.bottle.tar.gz
==> Pouring cmake-3.3.2.el_capitan.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/
Add the following to your init file to have packages installed by
Homebrew added to your load-path:
(let ((default-directory "/usr/local/share/emacs/site-lisp/"))
(normal-top-level-add-subdirs-to-load-path))
==> Summary
🍺 /usr/local/Cellar/cmake/3.3.2: 1901 files, 33M
==> Downloading https://homebrew.bintray.com/bottles/mariadb-10.0.21.el_capitan.bottle.1.tar.gz
==> Pouring mariadb-10.0.21.el_capitan.bottle.1.tar.gz
==> /usr/local/Cellar/mariadb/10.0.21/bin/mysql_install_db --verbose --user=gerard --basedir=/usr/local/Cellar/mariadb/10.0.21 --datadir=/usr/local/var/mysql --tmpdir=/tmp
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To have launchd start mariadb at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/mariadb/*.plist ~/Library/LaunchAgents
Then to load mariadb now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start
==> Summary
🍺 /usr/local/Cellar/mariadb/10.0.21: 530 files, 130M
########
# Configuring mariadb..
########
Installing MariaDB/MySQL system tables in '/usr/local/var/mysql' ...
151001 20:52:20 [Note] /usr/local/opt/mariadb/bin/mysqld (mysqld 10.0.21-MariaDB) starting as process 27990 ...
151001 20:52:20 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151001 20:52:20 [Note] InnoDB: The InnoDB memory heap is disabled
151001 20:52:20 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
151001 20:52:20 [Note] InnoDB: Memory barrier is not used
151001 20:52:20 [Note] InnoDB: Compressed tables use zlib 1.2.5
151001 20:52:20 [Note] InnoDB: Using CPU crc32 instructions
151001 20:52:20 [Note] InnoDB: Initializing buffer pool, size = 128.0M
151001 20:52:20 [Note] InnoDB: Completed initialization of buffer pool
151001 20:52:20 [Note] InnoDB: Highest supported file format is Barracuda.
151001 20:52:20 [Note] InnoDB: 128 rollback segment(s) are active.
151001 20:52:20 [Note] InnoDB: Waiting for purge to start
151001 20:52:20 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.25-73.1 started; log sequence number 1616707
151001 20:52:20 [Note] InnoDB: FTS optimize thread exiting.
151001 20:52:20 [Note] InnoDB: Starting shutdown...
151001 20:52:22 [Note] InnoDB: Shutdown completed; log sequence number 1616717
OK
Filling help tables...
151001 20:52:22 [Note] /usr/local/opt/mariadb/bin/mysqld (mysqld 10.0.21-MariaDB) starting as process 27995 ...
151001 20:52:22 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151001 20:52:22 [Note] InnoDB: The InnoDB memory heap is disabled
151001 20:52:22 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
151001 20:52:22 [Note] InnoDB: Memory barrier is not used
151001 20:52:22 [Note] InnoDB: Compressed tables use zlib 1.2.5
151001 20:52:22 [Note] InnoDB: Using CPU crc32 instructions
151001 20:52:22 [Note] InnoDB: Initializing buffer pool, size = 128.0M
151001 20:52:22 [Note] InnoDB: Completed initialization of buffer pool
151001 20:52:22 [Note] InnoDB: Highest supported file format is Barracuda.
151001 20:52:22 [Note] InnoDB: 128 rollback segment(s) are active.
151001 20:52:22 [Note] InnoDB: Waiting for purge to start
151001 20:52:22 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.25-73.1 started; log sequence number 1616717
151001 20:52:22 [Note] InnoDB: FTS optimize thread exiting.
151001 20:52:22 [Note] InnoDB: Starting shutdown...
151001 20:52:24 [Note] InnoDB: Shutdown completed; log sequence number 1616727
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/local/opt/mariadb/bin/mysqladmin' -u root password 'new-password'
'/usr/local/opt/mariadb/bin/mysqladmin' -u root -h aegir.ld password 'new-password'
Alternatively you can run:
'/usr/local/opt/mariadb/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr/local/opt/mariadb' ; /usr/local/opt/mariadb/bin/mysqld_safe --datadir='/usr/local/var/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/local/opt/mariadb/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from MariaDB
Corporation Ab. You can contact us about this at sales@mariadb.com.
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4943 100 4943 0 0 8825 0 --:--:-- --:--:-- --:--:-- 8826
########
# Installing php55..
########
==> Installing php55 from homebrew/homebrew-php
==> Installing dependencies for homebrew/php/php55: freetype, gettext, gmp, icu4c, imap-uw, jpeg, libxml2, unixodbc, readline
==> Installing homebrew/php/php55 dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.6_1.el_capitan.bottle.tar.gz
==> Pouring freetype-2.6_1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/freetype/2.6_1: 60 files, 2,6M
==> Installing homebrew/php/php55 dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.6.el_capitan.bottle.tar.gz
==> Pouring gettext-0.19.6.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/gettext/lib
CPPFLAGS: -I/usr/local/opt/gettext/include
==> Summary
🍺 /usr/local/Cellar/gettext/0.19.6: 1921 files, 22M
==> Installing homebrew/php/php55 dependency: gmp
==> Downloading https://homebrew.bintray.com/bottles/gmp-6.0.0a.el_capitan.bottle.tar.gz
==> Pouring gmp-6.0.0a.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/gmp/6.0.0a: 15 files, 3,2M
==> Installing homebrew/php/php55 dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-55.1.el_capitan.bottle.tar.gz
==> Pouring icu4c-55.1.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X provides libicucore.dylib (but nothing else).
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include
==> Summary
🍺 /usr/local/Cellar/icu4c/55.1: 244 files, 65M
==> Installing homebrew/php/php55 dependency: imap-uw
==> Downloading https://homebrew.bintray.com/bottles/imap-uw-2007f.el_capitan.bottle.tar.gz
Error: Failed to download resource "imap-uw"
Download failed: https://homebrew.bintray.com/bottles/imap-uw-2007f.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz
Trying a mirror...
==> Downloading http://ftp.ntua.gr/pub/net/mail/imap/imap-2007f.tar.gz
==> make oxp
🍺 /usr/local/Cellar/imap-uw/2007f: 150 files, 9,3M, built in 27 seconds
==> Installing homebrew/php/php55 dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.el_capitan.bottle.2.tar.gz
==> Pouring jpeg-8d.el_capitan.bottle.2.tar.gz
🍺 /usr/local/Cellar/jpeg/8d: 18 files, 760K
==> Installing homebrew/php/php55 dependency: libxml2
==> Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.2.el_capitan.bottle.1.tar.gz
==> Pouring libxml2-2.9.2.el_capitan.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libxml2/lib
CPPFLAGS: -I/usr/local/opt/libxml2/include
==> Summary
🍺 /usr/local/Cellar/libxml2/2.9.2: 275 files, 10M
==> Installing homebrew/php/php55 dependency: unixodbc
==> Downloading https://homebrew.bintray.com/bottles/unixodbc-2.3.2_1.el_capitan.bottle.1.tar.gz
==> Pouring unixodbc-2.3.2_1.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/unixodbc/2.3.2_1: 31 files, 1020K
==> Installing homebrew/php/php55 dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-6.3.8.el_capitan.bottle.tar.gz
==> Pouring readline-6.3.8.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
🍺 /usr/local/Cellar/readline/6.3.8: 40 files, 2,1M
==> Installing homebrew/php/php55
==> Downloading https://php.net/get/php-5.5.29.tar.bz2/from/this/mirror
==> Downloading from https://secure.php.net/distributions/php-5.5.29.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.29_3 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d --mandir=/usr/local/Cellar/php55/5.5.29_3/share/man --enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-ftp --enable-gd-native-ttf --enable-mbregex --enable-mbstring --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --enable-zip --with-freetype-dir=/usr/local/opt/freetype --with-gd --with-gettext=/usr/local/opt/gettext --with-iconv-dir=/usr --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-kerberos=/usr --with-libedit --with-mhash --with-ndbm=/usr --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --with-png-dir=/usr/local/opt/libpng --with-unixODBC=/usr/local/opt/unixodbc --with-xmlrpc --with-zlib=/usr --with-readline=/usr/local/opt/readline --without-gmp --without-snmp --with-libxml-dir=/usr/local/opt/libxml2 --with-apxs2=/usr/sbin/apxs --libexecdir=/usr/local/Cellar/php55/5.5.29_3/libexec --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-curl=/usr/local/opt/curl --with-xsl=/usr/local/opt/libxslt --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-ldap --with-ldap-sasl=/usr --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --disable-opcache --enable-pcntl --without-pear --enable-dtrace --enable-zend-signals
Last 15 lines from /Users/gerard/Library/Logs/Homebrew/php55/01.configure:
checking for Kerberos support... /usr
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for RAND_egd... no
checking for pkg-config... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
couldn't understand kern.osversion `15.0.0'
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
Warning:
==> Installing php55-geoip from homebrew/homebrew-php
==> Installing dependencies for homebrew/php/php55-geoip: php55
==> Installing homebrew/php/php55-geoip dependency: php55
==> Downloading https://homebrew.bintray.com/bottles-php/php55-5.5.29_3.el_capitan.bottle.tar.gz
==> Pouring php55-5.5.29_3.el_capitan.bottle.tar.gz
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php5_module /usr/local/opt/php55/libexec/apache2/libphp5.so
The php.ini file can be found in:
/usr/local/etc/php/5.5/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP55 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php55)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/opt/php55/homebrew.mxcl.php55.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
The control script is located at /usr/local/opt/php55/sbin/php55-fpm
OS X 10.8 and newer come with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php55.plist' in old versions
of this formula.
To have launchd start homebrew/php/php55 at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/php55/*.plist ~/Library/LaunchAgents
Then to load homebrew/php/php55 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
==> Summary
🍺 /usr/local/Cellar/php55/5.5.29_3: 327 files, 49M
==> Installing homebrew/php/php55-geoip
==> Downloading https://homebrew.bintray.com/bottles-php/php55-geoip-1.1.0.el_capitan.bottle.1.tar.gz
==> Pouring php55-geoip-1.1.0.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing geoip for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-geoip/1.1.0: 5 files, 40K
==> Installing php55-imagick from homebrew/homebrew-php
==> Installing dependencies for homebrew/php/php55-imagick: xz, libtool, libtiff, imagemagick
==> Installing homebrew/php/php55-imagick dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.1.el_capitan.bottle.tar.gz
==> Pouring xz-5.2.1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/xz/5.2.1: 59 files, 1,6M
==> Installing homebrew/php/php55-imagick dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.el_capitan.bottle.tar.gz
==> Pouring libtool-2.4.6.el_capitan.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.6: 69 files, 3,8M
==> Installing homebrew/php/php55-imagick dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.6.el_capitan.bottle.tar.gz
==> Pouring libtiff-4.0.6.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libtiff/4.0.6: 259 files, 3,9M
==> Installing homebrew/php/php55-imagick dependency: imagemagick
==> Downloading https://homebrew.bintray.com/bottles/imagemagick-6.9.1-10.el_capitan.bottle.tar.gz
==> Pouring imagemagick-6.9.1-10.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/imagemagick/6.9.1-10: 1447 files, 22M
==> Installing homebrew/php/php55-imagick
==> Downloading https://homebrew.bintray.com/bottles-php/php55-imagick-3.1.2_1.el_capitan.bottle.1.tar.gz
==> Pouring php55-imagick-3.1.2_1.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing imagick for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-imagick/3.1.2_1: 5 files, 380K
==> Installing php55-mcrypt from homebrew/homebrew-php
==> Installing dependencies for homebrew/php/php55-mcrypt: autoconf, mhash, mcrypt
==> Installing homebrew/php/php55-mcrypt dependency: autoconf
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.el_capitan.bottle.4.tar.gz
==> Pouring autoconf-2.69.el_capitan.bottle.4.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/
Add the following to your init file to have packages installed by
Homebrew added to your load-path:
(let ((default-directory "/usr/local/share/emacs/site-lisp/"))
(normal-top-level-add-subdirs-to-load-path))
==> Summary
🍺 /usr/local/Cellar/autoconf/2.69: 70 files, 3,1M
==> Installing homebrew/php/php55-mcrypt dependency: mhash
==> Downloading https://homebrew.bintray.com/bottles/mhash-0.9.9.9.el_capitan.bottle.tar.gz
==> Pouring mhash-0.9.9.9.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/mhash/0.9.9.9: 17 files, 500K
==> Installing homebrew/php/php55-mcrypt dependency: mcrypt
==> Downloading https://homebrew.bintray.com/bottles/mcrypt-2.6.8.el_capitan.bottle.1.tar.gz
==> Pouring mcrypt-2.6.8.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/mcrypt/2.6.8: 15 files, 448K
==> Installing homebrew/php/php55-mcrypt
==> Downloading https://php.net/get/php-5.5.29.tar.bz2/from/this/mirror
==> Downloading from https://secure.php.net/distributions/php-5.5.29.tar.bz2
==> /usr/local/opt/php55/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-mcrypt/5.5.29 --with-php-config=/usr/local/opt/php55/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-mcrypt/5.5.29: 3 files, 56K, built in 28 seconds
==> Installing php55-uploadprogress from homebrew/homebrew-php
==> Downloading https://homebrew.bintray.com/bottles-php/php55-uploadprogress-1.0.3.1.el_capitan.bottle.tar.gz
==> Pouring php55-uploadprogress-1.0.3.1.el_capitan.bottle.tar.gz
==> Caveats
To finish installing uploadprogress for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-uploadprogress/1.0.3.1: 2 files, 20K
==> Installing php55-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.3.3.tgz
==> /usr/local/opt/php55/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-xdebug/2.3.3 --with-php-config=/usr/local/opt/php55/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-xdebug/2.3.3: 5 files, 264K, built in 13 seconds
==> Installing php55-xhprof from homebrew/homebrew-php
==> Downloading https://homebrew.bintray.com/bottles-php/php55-xhprof-254eb24.el_capitan.bottle.1.tar.gz
==> Pouring php55-xhprof-254eb24.el_capitan.bottle.1.tar.gz
==> Caveats
To finish installing xhprof for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-xhprof/254eb24: 28 files, 1,2M
########
# Configuring php55..
########
Unlinking /usr/local/Cellar/php55/5.5.29_3... 18 symlinks removed
Linking /usr/local/Cellar/php55/5.5.29_3... 17 symlinks created
########
# Installing php code sniffer..
########
==> Installing php-code-sniffer from homebrew/homebrew-php
==> Downloading http://download.pear.php.net/package/PHP_CodeSniffer-2.3.4.tgz
==> /usr/local/Cellar/php-code-sniffer/2.3.4/bin/phpcs --config-set installed_paths /usr/local/etc/php-code-sniffer/Standards
==> Caveats
Verify your installation by running:
phpcs --version
You can read more about phpcs by running:
brew home php-code-sniffer
==> Summary
🍺 /usr/local/Cellar/php-code-sniffer/2.3.4: 933 files, 5,0M, built in 2 seconds
########
# Installing drupal code sniffer..
########
==> Installing drupal-code-sniffer from homebrew/homebrew-php
==> Downloading http://ftp.drupal.org/files/projects/coder-8.x-2.3.tar.gz
==> Caveats
Drupal Coder Sniffer is linked to "/usr/local/etc/php-code-sniffer/Standards/Drupal".
You can verify whether PHP Code Sniffer has detected the standard by running:
phpcs -i
Drupal Coder Sniffer is installed as a drush command in "/usr/local/share/drush/commands/drupal-code-sniffer".
You can verify whether Drush has discovered the standard by running:
drush drupalcs --help
==> Summary
🍺 /usr/local/Cellar/drupal-code-sniffer/8.x-2.3: 207 files, 1,1M, built in 2 seconds
########
# Installing phpunit..
########
==> Installing phpunit from homebrew/homebrew-php
==> Downloading https://phar.phpunit.de/phpunit-4.8.5.phar
🍺 /usr/local/Cellar/phpunit/4.8.5: 3 files, 3,0M, built in 4 seconds
########
# Installing composer..
########
==> Installing composer from homebrew/homebrew-php
==> Installing dependencies for homebrew/php/composer: php56
==> Installing homebrew/php/composer dependency: php56
Error: Cannot install homebrew/php/php56 because conflicting formulae are installed.
php55: because different php versions install the same binaries.
Please `brew unlink php55` before continuing.
Unlinking removes a formula's symlinks from /usr/local. You can
link the formula again after the install finishes. You can --force this
install, but the build may fail or cause obscure side-effects in the
resulting software.
########
# Installing drush..
########
./aegir.sh: line 1041: composer: command not found
########
# Setting up launch daemons..
########
########
# Launching daemons now..
########
./aegir.sh: line 1065: yeah: command not found
########
# Finishing mariadb setup..
########
########
# Enter the following when prompted..
#
# Current password: <hit enter>
# Set root password?: [Y/n] y
# New password: <make it easy, eg. mysql>
# Remove anonymous users? [Y/n] y
# Disallow root login remotely? [Y/n] y
# Remove test database and access to it? [Y/n] y
# Reload privilege tables now? [Y/n] y
########
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38 "Socket operation on non-socket")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38 "Socket operation on non-socket")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38 "Socket operation on non-socket")
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] ... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] ... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] - Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
gerard ALL=NOPASSWD: /usr/local/bin/nginx
# Aegir time..
########
# Downloading provision..
########
./aegir.sh: line 1132: drush: command not found
########
# Clearing drush caches..
########
./aegir.sh: line 1135: drush: command not found
########
# Installing hostmaster..
########
./aegir.sh: line 1142: drush: command not found
########
# Download and start hosting queue daemon launch agent..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 608 100 608 0 0 744 0 --:--:-- --:--:-- --:--:-- 744
./aegir.sh: line 1169: /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf: No such file or directory
########
# Installing registry_rebuild drush module
########
./aegir.sh: line 1172: drush: command not found
########
# Symlinking platforms to ~/Sites/Aegir..
########
rmdir: /var/aegir/platforms: No such file or directory
########
# Enabling SSL for local sites..
########
./aegir.sh: line 1182: /var/aegir/config/server_master/nginx/pre.d/nginx_wild_ssl.conf: No such file or directory
nginx: [emerg] open() "/usr/local/etc/nginx/conf.d/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:22
# Setting known network interfaces to use 127.0.0.1 for DNS lookups,this may throw errors, that's ok...
########
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Ethernet is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
########
# Open your network settings now and confirm the DNS for
# your active device is set to 127.0.0.1, or else things
# will not work properly later in the script.
########
########
# Saving some instructional notes to ~/Desktop/YourAegirSetup.txt..
########
########
# Attempting to email it to you as well..
########
mail: You must specify direct recipients with -s, -c, or -b.
########
# The date.timezone value in /usr/local/etc/php/[version]/php.ini
# Is set to Melbourne/Australia
# You may want to change it to something that suits you better.
########
########
# Double check your network interfaces to ensure their DNS server
# is set to 127.0.0.1 as we only tried to set commonly named interfaces.
########
########
# Please say thanks @BrianGilbert_ http://twiter.com/BrianGilbert_
########
########
# Finished 2015-10-01 23:24:04
########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment