背景:测试前后端分离项目中的websoket实时显示动态日志信息,只是单纯在工具中启动前后端项目,暂时无法完成通信,所以打算自己安装一个Nginx,然后再进行测试。我的电脑是基于arm架构的,在网上也没有搜到Nginx有arm架构的,搜了几个都是用brew方式安装的,所以打算用brew的方式安装一下

第一步:利用brew安装Nginx:

安装命令
brew install nginx

安装完显示如下;

brew install nginx                                               ✔  base Py  at 11:35:12
Running `brew update --auto-update`...
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:https://github.com/Homebrew/brew#donations==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Casks
acquia-dev                      lunastudio                      sketchpacks
alipay-development-assistant    macdjview                       snappy
anonymousvpn                    macfusion-ng                    sneek
avira-antivirus                 metadatics                      soda-player
between                         mikogo                          stack-exchange-notifier
boxer                           mindmaster                      starleaf
catoclient                      mpeg-streamclip                 startninja
cryptonomic-galleon             mutify                          syncsettings
depthmapx                       nautilus                        tempo
eliot                           nym-wallet                      the-tagger
firmaec                         onepile                         tipp10
flume                           openloco                        tn3270-x
gobdokumente                    oxwu                            today-scripts
google-drive-file-stream        paddle-easydl                   ujam
houseparty                      phew                            universal-battle
hyperdock                       photo-supreme-single-user       vofa-plus
hyperswitch                     physicseditor                   voicemac
idefrag                         polycom-content                 webarchiveextractor
igetter                         polycom-realpresence            wercker
iota-wallet                     questrade-iq-edge               wxcrafter
jqbx                            quicksync                       zebra2
kieler                          sdrdx                           zoomus
kryoflux                        simplediagrams
libreelec-usb-sd-creator        simplelink-msp432-sdkYou have 1 outdated formula installed.
You can upgrade it with brew upgrade
or list it with brew outdated.==> Fetching dependencies for nginx: pcre2
==> Fetching pcre2
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/pcre2-10.42.arm64_ventura.
######################################################################## 100.0%
==> Fetching nginx
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/nginx-1.23.4.arm64_ventura
######################################################################## 100.0%
==> Installing dependencies for nginx: pcre2
==> Installing nginx dependency: pcre2
==> Pouring pcre2-10.42.arm64_ventura.bottle.tar.gz
												

macbookpro_m2安装Nginx相关推荐

  1. Centos7.4安装Nginx

    Centos7.4安装Nginx 使用yum命令 一.安装准备 首先由于nginx的一些模块依赖一些lib库,所以在安装nginx之前,必须先安装这些lib库,这些依赖库主要有g++.gcc.open ...

  2. Centos7安装Nginx详细步骤

    1.  gcc 安装 安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要安装: yum install gcc-c++ 2.PCRE pcre-d ...

  3. Centos7上安装Nginx两种方法

    源码编译安装 http://nginx.org/en/download.html 到官网下载,然后用XFTP上传到root目录 把文件解压出来 tar -zxvf nginx-1.16.0.tar.g ...

  4. Linux安装Nginx、Redis、django

    部署Nginx 部署Redis 安装Redis redis事物 服务器管理命令 慢查询日志 主从复制 Redis-Sentinel cluser分片集群 安装python 操作redis数据 部署Dj ...

  5. 在CentOS 6.8 x86_64上安装nginx 1.10.3

    本文档记录了完全使用最新源码来编译安装nginx最新版1.10.3,所有的依赖也是最新的,便于第三方nginx模块开发 假定使用root身份安装 目前最新的源码地址汇总 ftp://ftp.csx.c ...

  6. 在CentOS 6.3 64bit上安装Nginx 1.8.0

    根据工作需要,现在需要安装nginx服务器,本来可以直接安装别人制作好的rpm包的,但是本着爱折腾和时刻尝鲜的精神,我决定从官网下载最新的nginx源码来安装,下面记录了我的安装过程. 下面的安装假定 ...

  7. Ubuntu16.04.1 安装Nginx

    Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器. Nginx 是由 Igor Sysoev ...

  8. Ubuntu 17.04 编译安装 Nginx 1.9.9 配置 https 免费证书

    Ubuntu 17.04 编译安装 Nginx 1.9.9 配置 https 免费证书 安装 Nginx 安装依赖 $ apt-get update $ apt-get install build-e ...

  9. opensuse安装nginx

    opensuse安装nginx 安装步骤如下 1.sudo zypper install curl ca-certificates gpg2 2.sudo zypper addrepo --gpgch ...

最新文章

  1. STC89C52单片机 LCD1602液晶显示屏
  2. (42)FPGA状态机二段式
  3. Android 蓝牙终端交互管理
  4. linux服务器怎么安装证书,linux服务器证书安装指引
  5. c语言链栈案例,C语言链栈
  6. 记前两天的中兴移动笔试以及迅雷笔试
  7. Java对接圆通电子面单下单接口
  8. Windows部署的gogs开机自启动
  9. python 空字典定义方法
  10. Unity编辑器修改图片的大小
  11. 科研心态那些事-不积跬步无以至千里
  12. 巧用RoaringBitMap处理海量数据内存diff问题
  13. 如何在Mac上裁剪图片
  14. cmake的-G 参数
  15. Java验证中文汉字、英文字母、标点符号一个字符占多少字节
  16. visio 2010 技巧
  17. linux temp文件夹在哪_手机文件夹是英文不敢乱删?找出这5个文件夹,手机瞬间轻松6个G...
  18. 解决scrapy爬虫报错 pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection
  19. SpringBoot整合websocket实现及时通信聊天
  20. 电感RDC、IDC值是什么意思?或DCR DCI

热门文章

  1. Linux下启动和关闭Redis
  2. API HOOK技术
  3. System.out.println() 输出中文乱码 “你好“变成“浣犲ソ“
  4. 下午一口气睡了五个小时
  5. 神途boss_教你如何玩转神途里面所有BOSS
  6. 如何判断微信中,对方对你说谎?
  7. 【Python 随练】今天是哪一天?
  8. 叮,您有一份防薅羊毛攻略已送达。
  9. vue中获取页面滚动的高度
  10. 高大上的“区块链”离生活有多远?来看国家超算济南中心专家解码!