我正在尝试在 ubuntu 14.04 中解压缩 solr,如下所示:
ubuntu@ip-:~/solr$ ls
solr-6.2.0.tgz
ubuntu@ip-:~/solr$ tar xzf solr-6.2.0.tgz
tar (child): solr-6.2.0.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ubuntu@ip-:~/solr$ tar xf solr-6.2.0.tgz
tar: solr-6.2.0.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
好心提醒!
答案1
文件名好像是solr6.2.0.tgz,但你正在尝试解开solr-6.2.0.tgz。