微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

OSX上安装Nginx、PHP 7、MySQL

一、安装Nginx

#brew install 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            [email protected]
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
                
                                 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐