解决办法:vi /etc/yum.repos.d/epel.repo编辑[epel]下的baseurl前的#号去掉,mirrorlist前添加#号参考资料:http://teddysun.com/153.html
分类:
Web程序 时间:
2014-12-01 00:39:56
阅读次数:
271
今天下载了ubuntu 14.10,想尝试一下最新的桌面版是个什么情况,下载了ISO文件, 之前使用都是解压缩后进行安装即可,于是我就这么干了!附上图: 看到.torrent这个东西瞬间让我很蛋疼了!NND,我已经下了ISO文件...
分类:
Web程序 时间:
2014-11-30 20:14:49
阅读次数:
832
?Linux中npm出现npmlog找不到的解决方法
描述
今天在对nodejs项目进行服务器迁移的时,在新的linux服务器上输入 npm -v 命令后报 “cannot find module ‘npmlog’….”的错误。找到的原因是拷贝过去的bin目录下的npm文件并没有链接到module目录下的npm-cli.js文件,所以导致在执行 npm
-v 命令时,路径问题导致n...
分类:
系统相关 时间:
2014-11-29 11:53:19
阅读次数:
354
在学习python时,有时会出现这个错误:ImportError:cannotimportnameHTMLParser,开始以为是环境变量的问题,后来改了之后还是没解决。后来发现,我的文件名为HTMLParser.py,而我在文件中写入了fromHTMLParserimportHTMLParser。这就是引发错误的原因:在导入模块的时候,由于..
分类:
Web程序 时间:
2014-11-29 07:19:15
阅读次数:
314
1 android java.net.UnknownHostException: Unable to resolve host “…”: No address associated 错误
我在android开发的时候经常会遇到这个错误,一般来说,造成这种错误的最普遍情况有两种:
1.android设备网络连接没打开,例如3G网络和WIFI网络
所以,如果遇到这种错误时,请先查看网...
分类:
移动开发 时间:
2014-11-29 00:19:08
阅读次数:
246
LevelDescriptionExampleemergEmergencies - system is unusable紧急-系统无法使用Child cannot open lock file. ExitingalertAction must be taken immediately必须立即采取措施...
分类:
其他好文 时间:
2014-11-28 20:08:22
阅读次数:
275
switch语句的判断条件可以接受int,byte,char,short,不能接受其他类型只有JDK版本1.7以上才可以支持String设置如下可解决问题:(若没有JDK1.7版,可下载一下安装)菜单选项--》project->properties->java compiler->compiler ...
分类:
移动开发 时间:
2014-11-27 20:25:37
阅读次数:
350
source on github在对Flash Media Server中的视频流使用BitmapData.draw()进行绘制的时候,会抛出这样异常:cannot access rtmp://xxxxx. No policy files granted access. at flash.disp....
分类:
其他好文 时间:
2014-11-27 16:06:57
阅读次数:
190
【报错信息】
针对mysql官方社区版进行测试的时候,执行tpcc_load脚本提示缺少libperconaserverclient.so.18库文件:
time ./tpcc_load 127.0.0.1 tpcc1000 root"" 500
./tpcc_load: error while loading sharedlibraries: libperconaserverclient.so.18: cannot open shared object file: Nosuch file or direc...
分类:
数据库 时间:
2014-11-27 14:35:28
阅读次数:
377
安装SSL库,openssl或者libssl:sudo apt-get install opensslsudo apt-get install libsslconfigure的时辰加上选项:./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=...
分类:
系统相关 时间:
2014-11-27 12:24:51
阅读次数:
197