1 下載vcftools
wget https://sourceforge.net/projects/vcftools/files/vcftools_0.1.13.tar.gz/download -o vcftools_0.1.13.tar.gz
tar zxvf vcftools_0.1.13.tar.gz
提示:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
解決辦法:
1臼疫、這個(gè)壓縮包沒有用gzip格式壓縮择份,所以不用加z指令就可以了
tar -xvf vcftools_0.1.13.tar.gz
依然有該提示
2、可以先用gzip -d 解壓 再用tar -zxvf 展開
依然有該提示
3烫堤、先重命名再解壓
mv vcftools_0.1.13.tar.gz vcftools_0.1.13.tar
tar -xvf vcftools_0.1.13.tar.gz
又出現(xiàn)提示:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
4荣赶、原因可能是用wget命令直接下載的vcftools,這是問題的根源,改用conda 下載
#下載
conda install -c bioconda vcftools
#查看軟件位置
which vcftools
2 linux與Filezilla鏈接
比較可靠的方法參考這個(gè)帖子http://www.reibang.com/p/c6c75d8286f3
我的是已經(jīng)安裝了但是未啟動(dòng)鸽斟,重新啟動(dòng)時(shí)提示:unrecognized service
解決辦法:
sudo apt-get update
sudo apt-get install openssh-server
sudo service ssh start
sudo ps -e |grep ssh
結(jié)果FIleZilla還是連接不上拔创,提示無法連接服務(wù)器
原因1:IP地址有問題,利用windows ping Linux的IP發(fā)現(xiàn)是可以ping上的富蓄,故排除
原因2:遠(yuǎn)程登錄未開啟
#首先切換到root用戶剩燥,之后修改config文件
vi /etc/ssh/sshd_config
#在這個(gè)文件中找到以下內(nèi)容 找不到可直接添加
PermitRootLogin yes
StrictModes no
PasswordAuthentication yes
保存后重新啟動(dòng)
/etc/init.d/ssh restart
重新連接FileZilla成功
參考這篇帖子:https://blog.csdn.net/hdbzh/article/details/119462689
3關(guān)于Linux的IP
用ipconfig命令查看
發(fā)現(xiàn)有兩個(gè)IP 兩個(gè)都用FileZilla連接,都可以連接上