首先關於使用wget的時候報出了以下錯誤
wget: unable to resolve host address …
這個是域名解析的錯誤,解決方法
vim /etc/resolv.conf
添加以下字段
nameserver 8.8.8.8 #google域名服務器
nameserver 8.8.4.4 #google域名服務器
即可,原因待查。。。。。
關於Linux的解壓出錯
衆所周知這個解壓命令,就是tar 了,然而這個壓縮格式有各式各樣的,以前還需要分別一下,但是在版本升至1.15之後,就可以自動識別了,而這裏我報出了這樣的錯誤
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
對,沒錯,我個智障在解壓tar.xz的文件的時候使用了zxvf,。。。。正常情況下,只要使用 -xvf就可以了
附加
z: gzip 壓縮格式
x: extract 解壓
v: verbose 詳細信息
f: file(file=archieve) 文件