发布时间:2014-06-10 11:14:51来源:红联作者:velcbo
1.用yum安装软件出现磁盘空间满
[root@node1 ~]# yum install ftp --安装软件出现错误
...................................
Error Downloading Packages:
ftp-0.17-53.el6.i686: Insufficient space in download directory /var/cache/yum/i386/6/c6-tong/packages
* free 0
* needed 56 k
[root@node1 ~]#
解决方法:
[root@node1 ~]# df -h --查看磁盘空间,空间已满
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/VolGroup-lv_root
6.5G 6.1G 0 100% / --根分区空间已满,清除文件
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 485M 46M 414M 10% /boot
/dev/sr0 3.6G 3.6G 0 100% /mnt
[root@node1 home]# df -h --清除后的结果
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/VolGroup-lv_root
6.5G 1.9G 4.2G 31% /
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 485M 46M 414M 10% /boot
/dev/sr0 3.6G 3.6G 0 100% /mnt
[root@node1 home]#
测试结果:
[root@node1 home]# yum install ftp --安装成功
Loaded plugins: fastestmirror
Determining fastest mirrors
c6-tong
........................................
Running Transaction
Installing : ftp-0.17-53.el6.i686 1/1
Verifying : ftp-0.17-53.el6.i686 1/1
Installed:
ftp.i686 0:0.17-53.el6
Complete!
[root@node1 home]#
2.用yum使用网络源,出现网络不通
[root@node1 yum.repos.d]# yum install squid
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.CentOS.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=centosplus error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
^C^C^C^Z
[1]+ Stopped yum install squid
[root@node1 yum.repos.d]# ping www.baidu.com
^C
意思是,你的配置文件346行出现错误。<VirtualHost>标签参数不足 ,比如说应该类似这样。<VirtualHost *:80>或者
<VirtualHost 192.168.122.21:80>
最近一位老友在倒腾GWAS的研究,发现R包TwoSampleMR用于pQTL的分析,让我在Linux系统上帮忙安装下,根据网页的安装提示进行 *** 作(https://github.com/MRCIEU/epigraphdb-pqtl/),在 *** 作过程中遇见了一些报错和实践的解决方案,在此文特此记录:
运行后出现报错信息如下:
解决步骤1:
重新安装gmp,最初开始用BiocManager::install("gmp"),出现报错信息“configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org”,查阅资料过后解决方案用conda安装gmp, *** 作命令如下
解决步骤2:
接下来重新安装iterpc,用BiocManager::install("iterpc")成功安装
解决步骤3:
接下来重新安装Cairo,用BiocManager::install("Cairo"),出现报错信息“configure: error: Cannot use cairo-ft backend, although cairo claims it is working. Please check your caito installation and/or update cairo if necessary or set CAIRO_CFLAGS/CAIRO_LIBS accordingly.”,查阅资料后改用conda安装, *** 作命令如下
解决步骤4:
最后重新运行install_github("MRCIEU/TwoSampleMR")安装TwoSampleMR,成功安装,library导入后,出现如下信息。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)