1. 程式人生 > >Centos上解壓檔案是出現:Not found in archive

Centos上解壓檔案是出現:Not found in archive

原因是引數不正確。

解決辦法:

將原來的解壓命令:

tar -zxvf jdk-8u144-linux-x64.tar.gz  /home

改為:

tar -zxvf jdk-8u144-linux-x64.tar.gz  -C /home

新增“-C”即可!

祝願你成功解決一個問題!

相關推薦

Centos上解檔案出現Not found in archive

原因是引數不正確。 解決辦法: 將原來的解壓命令: tar -zxvf jdk-8u144-linux-x64.tar.gz  /home 改為: tar -zxvf jdk-8u144-linux-x64.tar.gz  -C /home 新增“-C”即可! 祝願你

centos上解檔案報錯tar: Error is not recoverable: exiting now

例如解壓檔案命令為: tar -zxvf hadoop-2.6.2.tar.gz 解壓時錯誤資訊為:  gzip: stdin: unexpected end of file tar: Unexpec

vue專案中引用樣式檔案出現 This dependency was not found:

vue專案中引用樣式檔案出現:This dependency was not found:* common/stylus/index.styl in ./src/main.jsTo install it, you can run: npm install --save com

解決Centos 7不能聯網且輸入ifconfig出現command not found

centos 7 無法聯網 無法獲得ip地址 在VMware Workstation中,以最小化方式安裝Centos 7後,發現無法獲得IP地址進行上網,這是因為Centos 7默認網卡未被激活。此外,在sbin目錄中沒有ifconfig文件,這是因為Centos 7已經不使用ifconfig命令

CentOS下ifconfig出現“command not found

CentOS ifconfig ifconfig命令提示“command not found”,推測是安裝的時候選擇了最小安裝造成的。 查看/sbin目錄下是否存在ifconfig:ls /sbin發現不存在ifconfig 修改網卡配置:vi /etc/sysconfig/network-scri

安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos d

【1】安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos disc and press OK to retry  解決方法: 把CD

docker + springboot + springColud 下,專案中有配置檔案,讀取出現file not found 路徑中有!的問題

最近在做微信支付的開發,做到退款的時候,需要使用到p12 證書,在本地除錯沒問題了,打成jar 包,放入到docker 下面執行,結果出現如下的bug java.io.fileNotFound:  file: xxx/xxx.jar!/classes!/xxx/xxx.p12(no such file or

SpringBoot專案中獲取yml檔案的屬性時實體屬性類出現Spring Boot Configuration Annotation Processor not found in classpath

1.SpringBoot專案的專案結構如下: 2.屬性實體類    上面出現了Spring Boot Configuration Annotation Processor not found in classpath的原因是@ConfigurationPr

在命令列中使用wsimport命令在MyEclipse中生成webservice檔案,無法生成,出現directory not found這種情況

錯誤原因,在命令列中輸入地址,不能帶有空格。 錯誤做法: 不要直接把空格刪了,因為路徑中帶有空格。 如果刪除了路徑,仍然找不到路徑。 正確做法: 1、在D盤(或者其他),新建一個資料夾 2、開啟MyEclipse的時候選中這個資料夾

Ubuntu 16.04 LTS 安裝libvips出現”Package vips was not found in the pkg-config search path”

arp dir exp export ron per gconf 部署 director 使用libvips來操作圖像,libvips的部署參考一個Node.js工程:https://github.com/lovell/sharp 在MAC下安裝很順利,到Linux環境下(

解決Centos7不能聯網且ifconfig出現command not found

分配 mman eno ip add 默認 scrip star restart 網卡 在虛擬機中以最小化方式安裝centos7,後無法上網,因為centos7默認網卡未激活。 而且在sbin目錄中沒有ifconfig文件,這是因為centos7已經不使用 ifconfig

安裝第三方庫出現 Python version 2.7 required, which was not found in the registry

prefix another odin light admin urn utf n! .py 安裝第三方庫出現 Python version 2.7 required, which was not found in the registry 建立一個文件 register.

sudo: pip: command not found in CentOS

pre 命令 path sudo clas gpo true not pytho vim /etc/sudoers 在 Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin 後面添加上找不到的那條命令的路徑,例如/

搭建好lnmp後,使用瀏覽器訪問,出現404 Not Found

highlight 存在 dex htm service 修改 start not found ice 出現404 Not Found的原因是nginx指向頁面不存在,編輯nginx配置文件,修改nginx指向頁面路徑 root html; 修改為 root /usr/sh

Tess4J Linux 實踐[解決Tess4J - Native library (linux-x86-64/libtesseract.so) not found in resource path]

進行 新版 指令 tom form res lower 活躍 txt 【本文編寫於2018年7月5日】 Tess4J是Tesseract的Java JNA wrapper。本文介紹了在CentOS 7 操作系統中使用Tess4J的步驟及註意事項。在正式開始之前,先花一點

新安裝的Centos7不能聯網且ifconfig出現command not found

net 分享圖片 config script 網絡 查看 文件 激活 原因分析 原因分析: 在虛擬機中以最小化方式安裝centos7,後無法上網,因為centos7默認網卡未激活。 而且在sbin目錄中沒有ifconfig文件,這是因為centos7已經不使用 ifcon

CentOS分析解決docker.service: Unit not found問題

啟動 所有 start mode 服務的啟動 flann add sock 遇到 原因1:docker.socket最初在啟動docker時遇到問題,是因為docker.socket引起的,雖然記不清問題是表現為Unit not found還是執行systemctl sta

解決微信開發工具上trace無法檢測到設備,一直停留在“正在搜索設備...”或者trace panel,choose device老出現device not found

jpg down div 性能監控 電腦 bre 成功 點擊 per 性能 Trace 工具 微信 Andoid 6.5.10 開始,我們提供了 Trace 導出工具,開發者可以在開發者工具 Trace Panel 中使用該功能。 使用方法 PC 上需要先安裝 adb 工

docker + springboot + springColud 下,項目中有配置文件,讀取出現file not found 路徑中有!的問題

path docker 讀文件 getclass str 本地調試 keys div 使用 最近在做微信支付的開發,做到退款的時候,需要使用到p12 證書,在本地調試沒問題了,打成jar 包,放入到docker 下面運行,結果出現如下的bug java.io.fileN

維護一箇舊程式 linq2sql,出現row not found or changed的異常

維護一箇舊程式 linq2sql,出現row not found or changed的異常, 查部落格園,文章都是一大抄,都不對。 想想之前都能儲存的。這個異常是在加了欄位之後出現的。 因為用vs.net 2017, 預設沒安裝linq2sql, 我是手動編輯dbml檔案的。 <Col