linux安装nginx遇到的报错

这篇具有很好参考价值的文章主要介绍了linux安装nginx遇到的报错。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1、Linux如何修改只读文件(以设置自动连网为例)

vim /etc/sysconfig/network-scripts/ifcfg-ens33

然后提示

E45:已设定选项“readonly”(请加!强制执行) 

linux安装nginx遇到的报错,linux,nginx,运维

如果需要强制修改,可以使用,注意空格

:w !sudo tee %

linux安装nginx遇到的报错,linux,nginx,运维

2、安装报错

已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.cmich.edu
 * extras: nocix.mm.fcix.net
 * updates: mirrors.ocf.berkeley.edu
没有可用软件包 nginx。
错误:无须任何处理

linux安装nginx遇到的报错,linux,nginx,运维

 //安装epel-release软件包

sudo yum install epel-release
//再次安装即正常
sudo yum install nginx

3、nginx启动报错

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
 

linux安装nginx遇到的报错,linux,nginx,运维

查看端口

lsof -i:80

关闭:

sudo fuser -k 80/tcp

4、访问不到端口

查看防火墙

systemctl status firewalld

linux安装nginx遇到的报错,linux,nginx,运维

1、启用:systemctl start firewalld
2、关闭:systemctl stop firewalld

查看ip

ip addr

连接

linux安装nginx遇到的报错,linux,nginx,运维文章来源地址https://www.toymoban.com/news/detail-611038.html

到了这里,关于linux安装nginx遇到的报错的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • python 深度学习 解决遇到的报错问题9

    本篇继python 深度学习 解决遇到的报错问题8-CSDN博客 目录 一、can only concatenate str (not \\\"int\\\") to str 二、can\\\'t convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool. 三、module \\\'d2l.torch\\\' has no attribute \\\'train_ch3\\\' 四、

    2024年02月05日
    浏览(30)
  • python 深度学习 解决遇到的报错问题4

    目录 一、DLL load failed while importing _imaging: 找不到指定的模块 二、Cartopy安装失败 三、simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 四、raise IndexError(\\\"single positional indexer is out-of-bounds\\\") 五、TypeError: \\\'_AxesStack\\\' object is not callable 问题 : 原因 :查看报错信息发现是导

    2024年02月10日
    浏览(33)
  • python 深度学习 解决遇到的报错问题3

    目录 一、AttributeError: The vocab attribute was removed from KeyedVector in Gensim 4.0.0. 二、ImportError: cannot import name \\\'logsumexp\\\' 三、FutureWarning: Passing (type, 1) or \\\'1type\\\' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / \\\'(1,)type\\\' 四、ImportError: numpy.core.multiarray failed

    2024年02月10日
    浏览(27)
  • 微信小程序开发(遇到的报错和注释)

      一开始验证文章出错了,一直运行不起来,取消设置,可以正常调用。 页面小程序窗口组件部分:navigationbar导航栏区域,background背景区域(默认不可见,下拉才显示)、页面的主题区域(用来显示wxml中的布局)  wxss(weixin style sheets)小程序样式语言{小程序中的样式文件一

    2024年02月10日
    浏览(26)
  • MySQL Shell备份恢复可能会遇到的报错

    使用MySQL Shell进行备份和恢复的方法参见MySQL Shell 8.0的Dump Utility备份与恢复。 MySQL Error 1226总是发生在备份/恢复开始的时候。 🕷报错信息: 🐦报错原因: 使用MySQL Shell备份或恢复的并发线程数 threads 大小超过了当前备份用户的最大并发连接数 max_user_connections 。 🐟解决办法

    2023年04月12日
    浏览(65)
  • python 深度学习 解决遇到的报错问题5

    目录 一、conda安装shapefile失败 二、conda安装osmnx失败:To search for alternate channels that may provide the conda package you\\\'relooking for, navigate to 三、ERROR: Could not build wheels for llvmlite, which is required to install pyproject.toml-based projects 四、bash: pip: command not found 解决报错:ERROR: Could not find a version

    2024年02月04日
    浏览(34)
  • python 深度学习 解决遇到的报错问题8

    本篇继python 深度学习 解决遇到的报错问题7-CSDN博客 目录 一、OSError: [WinError 127] 找不到指定的程序。 Error loading \\\"D:my_ruanjianconda-myenvsdeeplearninglibsite-packagestorchlibcaffe2_detectron_ops.dll\\\" or one of its dependencies. 二、proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 0 whereas a number = 2 is expecte

    2024年02月05日
    浏览(31)
  • Nginx 转发 SSL 的报错

      昨天遇到一个问题,主机服务还没有转成https,但要转发给一个https地址,一直在报一个错 upstream server temporarily disabled while SSL handshaking to upstream, client: xxx.xxx.xxx.xxx, server: localhost SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to

    2024年02月14日
    浏览(33)
  • Ubuntu sudo apt update 过程中遇到的报错解决

    E: 仓库 “https://mirrors.aliyun.com/docker-ce/linux/ubuntu kylin Release” 没有 Release 文件。 sudo apt update:仓库 “http://mirrors.aliyun.com/docker-ce/linux/debian ulyana Release” 没有 Release 文件 Linux更换国内源–解决终端下载速度慢的问题 在使用 sudo apt update 更新源时,发现报了一大堆错。例如 起初我

    2024年02月02日
    浏览(71)
  • 深度学习和日常代码中遇到的报错汇总及解决方案,持续更新中。。。。

    本文是深度学习和日常代码中遇到的报错汇总,因时间比较久,暂时都没有图片,只有文字描述。解决方案也大多参考网上的解决方案,有些有用,有些没有效果,本文章中的问题,也仅是本人遇到的问题,使用列举的方案已经解决。 处理:调用的方法是一个类,需要先进行

    2023年04月22日
    浏览(36)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包