installation failed error nginx

https部署与docker下nginx的转发+文件获取

1. 进入nginx容器查看是否有etc/nginx/cert目录 2. 将https的域名证书放到cert目录下 3. 配置80和443 ``` server { #listen 80; #侦听80端口 listen 80; #侦听443端口,用于SSL server_name 127.zyfdt ......
文件 docker https nginx

k8s Error: failed to prepare subPath for volumeMount "custom-logo" of container "grafana"

# 前言 使用 `k8s` 挂载卷文件时,使用了 `hostPath`,`type: File` ``` volumeMounts: - mountPath: /usr/share/grafana/public/img/grafana_icon.svg name: custom-logo subPa ......

nginx常用配置

常用配置路径代理映射 http和https 配置nginx路径下的配置文件:/etc/nginx/conf.d/nginx.conf (每个人的可能不一样,但是我这个就是yum 直接安装的) 如下配置 配置http 和 https 、ws 和 wss #自定义配置地址upstream halo { ......
常用 nginx

RTSP通过FFmpeg+nginx发布成rtmp和http-flv

背景 因为项目需要,最近在Windows上实现了rtsp通过FFmpeg+nginx(nginx-http-flv-module)发布成rtmp和http-flv给VLC或h5 video(flv.js)播放的功能。 编译nginx 编译nginx需要加入nginx-http-flv-module模 ......
http-flv FFmpeg nginx RTSP http

nginx安装

什么是nginx? Nginx (engine x) 是一个高性能的HTTP和反向代理web服务器… 除了反向代理,nginx还支持正向代理、负载均衡以及基于SSL安全证书的HTTPS访问等功能特性 1.安装、 $ cd /usr/nginx $ wget http://nginx.org/down ......
nginx

java.lang.IllegalStateException: failed to obtain node locks, tried [[/usr/local/elasticsearch/data/]] with lock id [0]

## 原因 如果你是更改了elasticsearch的配置,有可能是新旧缓存数据冲突 ## 解决办法 删除es根路径下data文件夹 PS:经测试不影响生成的索引数据,如果数据重要,请谨慎操作,暂未知道原理。 ......

Java开发笔记之idea的svn报错 unknown error

0x00 情况描述 svn在win桌面运行正常,checkin和checkout无异常报错; 但是在idea内的svn,每次update的时候或者自动同步的时候,会出现unknown error报错,导致无法正常检查代码更新; idea版本为2021.3,请检查自己的情况是否符合上面的问题,再进行下 ......
unknown 笔记 error Java idea

nginx是如何处理一个http请求的

Nginx 是一个高性能的 Web 服务器,能够同时处理大量的并发请求。它结合多进程机制和异步机制 , 异步机制使用的是异步非阻塞方式 ,接下来就给大家介绍一下 Nginx 的多线程机制和异步非阻塞机制 。 1、多进程机制 服务器每当收到一个客户端时,就有 服务器主进程 ( master proce ......
nginx http

nginx-test.conf

server { listen 80; server_name test; location / { root /usr/local/nginx/html; index index.html index.htm index.php; } error_page 500 502 503 504 /50x ......
nginx-test nginx conf test

Uncaught TypeError: Cannot read properties of undefined (reading ‘install‘)

出现该情况的原因是vue-router安装的版本太高,一般vue2的项目对应的版本是vue-router@3版本 ①在控制台输入: cnpm install --save vue-router@3.5.3 重新安装vue-router即可解决 ......

idea中jdk11用maven编译失败 Fatal error compiling: tools.jar not found: XX\Java\graalvm-ce-java11-22.2.0\..\lib\tools.jar

idea maven 编译需要用到 jdk的lib包里面的tools.jar文件,但是jdk1.8之后就没有tools.jar了。我这里用的是graalvm 的jdk11,编译一直报错,网上也查不到。 解决办法: 根据对应路径 创建一个lib包,并把jdk1.8的lib下面的tools.jar复制一 ......
tools graalvm-ce-java compiling jar graalvm

Nginx_启动时报错:Job for nginx.service failed because the control process exited with error code. See "systemctl stat

一、报错如下Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for d ......
systemctl 时报 because control service

关于安装完nginx启动默认配置的网页显示404或者显示空白,或者查看nginx的error.log报错fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 或者nginx安装在其他目录而启动网页空白问题

关于这三个报错对于小白会困扰很久,核心问题是不了解nginx的配置文件(此处仅为我遇到的这一种情况的一种思路) 此处我的情况为nginx安装在/tmp目录下网页无法显示(空白),当然nginx默认装在root目录下是可以正常显示网页的 首先安装完后nginx其配置文件位于/usr/local/ngi ......

解决 AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?(query = query.decode(errors='replace')引起的问题)

AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? 运行django项目,出现上面错误的提示信息 我用的是 python3.10.11 + Django2.2.4 解决这个问题只需要改虚拟环境 ......
39 decode query AttributeError attribute

vue页面报错vue.runtime.esm.js?2b0e:1888 Error: please transfer a valid prop path to for item

经排查 是prop带上了表单名称, 例如data()里把表单的参数写在一个对象里 queryForm:{ InputA, InputB } v-model是“queryForm.InputA”, prop写“InputA”即可, 这种情况下不要把prop写成和v-model一样的,prop把值默认当 ......
vue transfer runtime 页面 please

nginx升级

1.查看当前nginx版本 nginx -V 并记住configure arguments: --prefix=/usr/local/nginx 2.停止当前nginx服务 ./nginx -s stop 3.为防止配置丢失建议先备份/usr/local下的nginx文件夹 cd /usr/loca ......
nginx

Nginx,安装及基础配置

一:下载Nginx 官网:http://nginx.org/ 中文网:https://nginx.p2hp.com/ 二:Nginx目录 conf:存放核心配置文件 contrib:存放语法支持脚本 docs:存放文档资料 html:存放静态html文件 logs:存放日志文件 temp:存放临时文 ......
基础 Nginx

405 Method Not Allowed,CORS跨域,来也自动化OCR接口报错,Nginx处理OPTIONS请求

nginx 中修改如下 server { listen 15080; server_name localhost; location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Crede ......
接口 Allowed OPTIONS Method Nginx

Docker 安装 Nginx 容器 (完整详细版)

说明:Docker如果想安装软件 , 必须先到 Docker 镜像仓库下载镜像。 Docker官方镜像 1、寻找Nginx镜像 2、下载Nginx镜像 检查当前所有Docker下载的镜像 docker images 3、创建Nginx配置文件 启动前需要先创建Nginx外部挂载的配置文件( /hom ......
容器 Docker Nginx

nginx在windos下配置路径问题

报错配置 ``` server { listen 8181; location / { root D:\work\工作内容\0017.Burp Suite 研究\漏洞演示代码; index a.html; } } ``` 正确配置 ``` server { listen 8181; location ......
路径 windos 问题 nginx

ERROR 1698 (28000): Access denied for user ‘root’@'localhost’解决方法

1、问题描述在使用如下指令进入mysql shell界面时: mysql -u root -p 报错:ERROR 1698 (28000): Access denied for user 'root'@'localhost' 参考博客:出现ERROR 1698 (28000): Access den ......
localhost 方法 Access denied ERROR

docker容器实现Nginx的负载均衡

准备tomcat nginx容器: 主机192.168.8.8.200 mkdir www1 mkdir www2 cd www1 [root@localhost www1]# vi index.jsp //创建文件,写入如下内容<html> <head> <title>Tomcat1</title ......
容器 docker Nginx

Centos7启动rcpbind报错A dependency job for rpcbind.service failed一例

# Centos7.4 rpcbind启动失败一例 ## 问题描述 昨天,一台虚拟机重启后,`/etc/rc.local`里面的`mount -t nfs ....`发现没有正常执行。 ## 问题排查 经过排查,发现`rpcbind`没有正常启动,导致无法正常`mount`。 于是执行以下命令: ` ......
dependency Centos7 rcpbind rpcbind service

nginx+tomcat+pgsql+redis离线部署过程

gcc pcre-devel openssl-devel zlib-devel离线安装包: [包含云盘地址.txt](https://codor.lanzoue.com/iAC7N0sj6vdi) 离线部署java+nginx+tomcat+pgsql+redis.zip: - 城通网盘: http ......
过程 tomcat nginx pgsql redis

VUE npm run serve 提示error Mixed spaces and tabs no-mixed-spaces-and-tabs 解决办法

解析: 看这个错误提示意思就是“不允许代码中出现空格和tab键混合的情况”大多数代码约定要求使用空格或 tab 进行缩进,禁止使用空格和tab混合缩进。因此,一行代码同时混有 tab 缩进和空格缩进,通常是错误的。 解决办法:原因找到了,解决办法就是找到spaces和tabs混合的地方,然后统一即可 ......

D:\xxx\maven\apache-maven-3.6.1\repository\org\glassfish\jaxb\jaxb-runtime\2.3.3\jaxb-runtime-2.3.3.jar读取出错\zip error

运行maven项目时,报错说 仓库里某个包读取错误 解决办法:直接到maven远程仓库里搜 该jar包,然后下载对应的版本,直接替换掉本地仓库的即可。 怎么从maven远程仓库下载? https://mvnrepository.com 搜索要找的依赖,然后 在 Files 点击 jar 即可下载 ......
jaxb-runtime jaxb runtime maven apache-maven

踩坑:nacos启动报错提示需要设置JDK环境 ,报错:ERROR: Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better! !!

换了个Windows11的新电脑,因为个人工作、学习需要,就重新下载了Nacos并解压使用,结果就踩了个坑,使用下面命令启动Nacos服务端时: startup.cmd -m standalone 直接在黑窗口提示:ERROR: Please set the JAVA_HOME variable i ......
environment JAVA_HOME variable 环境 Please

宝塔面板中安装php8以上环境,提示: configure: error: iconv does not support errno

问题:宝塔面板中安装php8 编译时提示configure: error: iconv does not support errno # 下面这些是配置yum源和epel源,阿里云ecs在centos8测试成功 wget http://mirrors.cloud.aliyuncs.com/repo/ ......
宝塔 configure 面板 support 环境

k8s 1.24.14 Ingress-nginx 的部署

前言: 本次部署使用了高可用的形式,会在每个node节点做亲和性(master不部署),让每一个pod都部署上去,然后加入NGINX去过负载,这样我们之间用NGINX的80端口访问域名就可以了。 MountVolume.SetUp failed for volume "webhook-cert" : ......
Ingress-nginx Ingress nginx k8s k8

Nginx 入门实战(5)--location 指令说明

1、location 指令介绍 1.1、语法 语法 位置 location [ = | ~ | ~* | ^~ ] uri { ... }location @name { ... } server, location 1.2、匹配类型 类型 说明 = 精确匹配 空 或 ^~ 字符串匹配 如果 ^~ ......
指令 实战 location Nginx