当前位置:首页 > 服务器技术 > nginx

OSX上安装Nginx、PHP 7、MySQL

一、安装Nginx

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
amazon-ecs-cli      erlang              kubernetes-helm     phpmd
angular-cli         ethereum            kustomize           prometheus
ansible             exploitdb           languagetool        proteinortho
apache-flink        ffmpeg              lgogdownloader      protoc-gen-go
ask-cli             firebase-cli        libhdhomerun        pyenv
atomist-cli         fonttools           libjson-rpc-cpp     pyside
aws-sdk-cpp         frugal              libraw              python
babel               fs-uae              libsbol             r
balena-cli          gatsby-cli          libvirt             redex
bazel               ghostscript         linkerd             s3-backer
binaryen            ginac               lmod                s3ql
bitrise             glib                log4cplus           serverless
botan               glide               log4shib            shibboleth-sp
bro                 glooctl             logcheck            ship
caddy               goreleaser          logstash            sip
cfn-lint            gradle              mednafen            swagger-codegen
chakra              gsoap               mesa                swagger-codegen@2
chipmunk            hcloud              meson               syncthing
chronograf          helmfile            minio               sysdig
citus               hub                 minio-mc            tag
ckan                hwloc               mkl-dnn             telegraf
cocoapods           hypre               monit               terraform
conan               igv                 mono                tomcat
contentful-cli      imagemagick         nim                 tomcat@8
convox              isync               node                u-boot-tools
cxxopts             janet               nsd                 ucloud
dcd                 jetty               ocrmypdf            vim@7.4
debianutils         jfrog-cli-go        opam                webdis
digdag              jhead               open-zwave          xml-tooling-c
dnstwist            jlog                openapi-generator   youtube-dl
doitlive            jsoncpp             openconnect
dosbox              klavaro             openrct2
dscanner            kore                opensaml

==> Installing dependencies for nginx: openssl and pcre
==> Installing nginx dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2s.mojave.bottl
==> Downloading from https://akamai.bintray.com/c4/c4a762d719c2be74ac686f1aafabb
######################################################################## 100.0%
==> Pouring openssl-1.0.2s.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> Summary

标签:,,,,,,,, 来源: https://www.cnblogs.com/lihailin9073/p/11181228.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!