国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > Nginx > 正文

nginx重裝――安裝失敗后怎么重新安裝

2024-08-30 12:22:52
字體:
來源:轉載
供稿:網友
  ubuntu安裝nginx,由于80端口已經被占用,sudo apt-get install nginx安裝一半異常退出,報錯誤:
  dpkg: error processing package nginx (--configure):
  dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
  Errors were encountered while processing:
  nginx-core
  nginx
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  再往上查詢會看到錯誤
  nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
  修復辦法:
  1.將80端口解綁,已占用的程序改用其他端口,將提示的錯誤解決后
  2.運行以下命令卸載一半的安裝:
  sudo apt-get remove nginx*
  sudo apt-get autoremove
  sudo apt-get install nginx即可重新安裝
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 合阳县| 遂平县| 黎川县| 内黄县| 阳东县| 水城县| 德江县| 同江市| 桂东县| 陆良县| 伊宁市| 鲜城| 宣威市| 宿松县| 逊克县| 嘉义市| 班戈县| 钦州市| 裕民县| 济阳县| 苗栗市| 玉环县| 宜川县| 额敏县| 临泽县| 岢岚县| 晋江市| 大冶市| 桦南县| 安泽县| 鹤庆县| 泽普县| 岑巩县| 沐川县| 招远市| 忻城县| 瑞丽市| 丹棱县| 忻城县| 武宁县| 武义县|