当前位置: 首页 > news >正文

网站制作公司多少钱百度热搜风云榜

网站制作公司多少钱,百度热搜风云榜,哈尔滨网络公司网站建设,龙岗网站制作培训班Mac M3 芯片安装 Nginx 一、使用 brew 安装 未安装 brew 的可以参考 【Mac 安装 Homebrew】 或者 【Mac M2/M3 芯片环境配置以及常用软件安装-前端】 二、查看 nginx 信息 通过命令行查看 brew info nginx可以看到 nginx 还未在本地安装,显示 Not installed …

Mac M3 芯片安装 Nginx

一、使用 brew 安装

未安装 brew 的可以参考 【Mac 安装 Homebrew】

或者
【Mac M2/M3 芯片环境配置以及常用软件安装-前端】

二、查看 nginx 信息

通过命令行查看

brew info nginx

image.png

可以看到 nginx 还未在本地安装,显示 Not installed

三、安装 nginx

brew install nginx

image.png

四、安装完成之后再使用 brew info nginx 查看信息

==> **nginx**: stable 1.25.3 (bottled), HEAD
HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
https://nginx.org/
/opt/homebrew/Cellar/nginx/1.25.3 (26 files, 2.4MB) *Poured from bottle using the formulae.brew.sh API on 2023-11-14 at 09:53:15
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/n/nginx.rb
License: BSD-2-Clause
==> **Dependencies**
Required: **openssl@3** **✔**, **pcre2** **✔**
==> **Options**
--HEAD
Install HEAD version
==> **Caveats**
Docroot is: /opt/homebrew/var/www
The default port has been set in /opt/homebrew/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.
nginx will load all files in /opt/homebrew/etc/nginx/servers/.
To start nginx now and restart at login:brew services start nginx
Or, if you don't want/need a background service you can just run:/opt/homebrew/opt/nginx/bin/nginx -g daemon\ off\;
==> **Analytics**
install: 15,093 (30 days), 43,248 (90 days), 132,256 (365 days)
install-on-request: 15,061 (30 days), 43,157 (90 days), 132,033 (365 days)
build-error: 3 (30 days)

五、查看 nginx 位置

nginxM3 芯片上和 intel 芯片位置不一样,我们可以 open 打开看下

1. M3 芯片
/opt/homebrew/etc/nginx/servers/. # 位置
open /opt/homebrew/etc/nginx # 通过 open 打开

image.png

2. intel 芯片
/usr/local/etc/nginx/

image.png

六、nginx启动路径

nginx 启动程序路径,该路径下的 bin/nginx 为启动命令

1. M3 芯片
open /opt/homebrew/Cellar/nginx # 打开

image.png

2. intel 芯片
/usr/local/Cellar/nginx

image.png

七、启动 nginx

直接命令行输入 nginx,没有报错即为启动成功

image.png

八、浏览器验证

打开浏览器,输入 localhost:8080 并访问,可以显示 Welcome to nginx!

image.png

九、nginx 常用命令

命令解释
nginx启动 nginx
nginx -s stop强制停止 nginx 服务
nginx -s quit退出 nginx 服务
nginx -s reopen重启 nginx
nginx -s reload重新加载 nginx 配置文件,然后重启 nginx
nginx -t测试配置文件的正确性
nginx -v查看 nginx 版本
nginx -V查看版本和 nginx 的配置选项
  1. 可以输入 nginx -s quit 再刷新刚刚的 8080 页面看下

  2. 注意 -v -V -t -T 的区别

  • -v shell 显示
nginx version: nginx/1.25.3
  • -V shell 显示
nginx version: nginx/1.25.3
built by clang 15.0.0 (clang-1500.0.40.1)
built with OpenSSL 3.1.3 19 Sep 2023 (running with OpenSSL 3.1.4 24 Oct 2023)
TLS SNI support enabled
configure arguments: --prefix=/opt/homebrew/Cellar/nginx/1.25.3 ...

image.png

  • -t -T 可自实验下
http://www.hkea.cn/news/820789/

相关文章:

  • 开封 网站建设苹果被曝开发搜索引擎对标谷歌
  • 东莞虎门高铁站百度客户端电脑版下载
  • 建网站怎么挣钱的学seo推广
  • 自如网站做的好 服务哪个网站学seo是免费的
  • 国外网站阻止国内访问怎么做竞价推广工具
  • 建设一个网站需要哪些方面的开支百度人工客服
  • 品牌网站建设-建站之路最新疫情新闻100字
  • 东莞网站优化科技有限公司怀柔网站整站优化公司
  • 郑州网站建设联系方式外链是什么意思
  • 用wordpress做网站教程电脑优化大师有用吗
  • 佛山企业网站制作今日热点新闻事件
  • 企业网站网络推广黑帽seo培训
  • 欧美做的爱爱网站有哪些广告推广赚钱
  • 泉州网站建设工作室谷歌seo价格
  • 国建设委员会网站百度推广一天烧几千
  • 做网站 花园路国贸营销推广方案包括哪些内容
  • 做商城网站哪里买口碑营销属于什么营销
  • 鞋子 东莞网站建设真正的免费建站在这里
  • 网站上微信的链接怎么做项目平台
  • 做网站后有人抢注关键词网络营销方案策划论文
  • 苏州网站建设网站seo优化的方法
  • 设计网装修seo顾问服
  • 网站ip拦截免费网站搭建平台
  • 深圳企业网站建设公司快速申请免费个人网站
  • 唯品会 一家专门做特卖的网站沈阳seo按天计费
  • 聊城手机网站建设郑州seo服务技术
  • 个人定做衣服店江门seo推广公司
  • 网站开发与网站建设山东济南seo整站优化费用
  • 香港疫情最新消息今天深圳seo教程
  • 维护一个网站难吗免费发布外链