首页 > 2016年03月16日 > 全部分享
yum提示another app is currently holding the yum lock;waiting for it to exit
可能是系统自动升级正在运行,yum在锁定状态中。可以通过强制关掉yum进程:#rm-f/var/run/yum.pid然后就可以使用yum了。
分类:移动平台   时间:2016-03-16 01:40:16    收藏:0  评论:0  赞:0  阅读:239
Docker启动报错
time="2015-02-10T15:26:08+08:00"level="info"msg="+jobserveapi(unix:///var/run/docker.sock)"time="2015-02-10T15:26:08+08:00"level="info"msg="WARNING:Youarerunninglinuxkernelversion2.6.32-431.el6.x86_64,whichmightbeunstablerunningdocker.Pleaseupgradeyourkerne..
分类:其他   时间:2016-03-16 01:40:07    收藏:0  评论:0  赞:0  阅读:267
Get value from agent failed: cannot connect to [[192.168.1.110]:10050]: [113] No route to host
zabbix监控客户端发现错误:Getvaluefromagentfailed:cannotconnectto[[192.168.1.110]:10050]:[113]Noroutetohost经检查,发现客户端防火墙未关闭,执行以下命令即可serviceiptablesstop
分类:其他   时间:2016-03-16 01:39:56    收藏:0  评论:0  赞:0  阅读:4531
Received empty response from Zabbix Agent at [192.168.1.110]. Assuming that
提示错误:ReceivedemptyresponsefromZabbixAgentat[192.168.1.110].Assumingthatagentdroppedconnectionbecauseofaccesspermissio解决方法:在客户端vim/etc/zabbix_agentd.conf修改Server=192.168.1.130(服务器地址)
分类:其他   时间:2016-03-16 01:39:46    收藏:0  评论:0  赞:0  阅读:3950
date(): It is not safe to rely on the system's timezone settings.
date():Itisnotsafetorelyonthesystem‘stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillgettingthiswarning,youmostlikelymisspelledthetimezoneidentifier.Weselected..
分类:其他   时间:2016-03-16 01:39:37    收藏:0  评论:0  赞:0  阅读:247
220. Contains Duplicate III
Givenanarrayofintegers,findoutwhethertherearetwodistinctindicesiandjinthearraysuchthatthedifferencebetweennums[i]andnums[j]isatmosttandthedifferencebetweeniandjisatmostk.解法:这里的t,k均是大于0的,用set保存当前位置前边的k个位置的数据,A:nums[i]set中的某个..
分类:其他   时间:2016-03-16 01:39:27    收藏:0  评论:0  赞:0  阅读:264
apache+svn配置过程
svn安装指南建议:源码安装环境:Centos6.2_X64+apache2.2.22+subversion1.6.9历史:1.已经安装过一次,浏览器和SVN客户端可以正常使用;但在eclipse下载时报错。2.安装时碰到zlib问题,系统显示已经安装,但是subversion在编译时无法识别。另外源码安装后编译通过subversionfo..
分类:Web开发   时间:2016-03-16 01:39:07    收藏:0  评论:0  赞:0  阅读:195
python子进程模块subprocess详解
属性1.Popen.poll():用于检查子进程是否已经结束。设置并返回returncode属性。2.Popen.wait():等待子进程结束。设置并返回returncode属性。3.Popen.communicate(input=None):与子进程进行交互。向stdin发送数据,或从stdout和stderr中读取数据。可选参数input指定发送到子进..
分类:编程语言   时间:2016-03-16 01:38:37    收藏:0  评论:0  赞:0  阅读:193
ORACLE ADF:EO 主键唯一,候选键唯一
在开发ADF应用的时候,系统默认主键是唯一的,但是系统提供的错误消息过于丑陋,所以我们可以自定义主键不唯一的错误。而除了主键唯一,有时候我们需要通过别的字段组合做成唯一,比如某个时间,地点,人物的组合成为唯一的数据,我们就要通过候选键来约束EO。接下来是图解:完。
分类:数据库技术   时间:2016-03-16 01:38:27    收藏:0  评论:0  赞:0  阅读:245
注释转换——(小项目)
一门计算机语言如果想要运用的得心应手,离不开长久的练习,针对C语言的用法,下面主要是用C语言来解决注释转换的问题,C语言中注释是以”/*”开始,以”*/”结束,C++语言中可以通过”//”来注释,这里不考虑C++语言向下兼容C语言的特点,主要是想将”/**/”注释符转换为”//..
分类:其他   时间:2016-03-16 01:38:07    收藏:0  评论:0  赞:0  阅读:296
使用bochs和gdb联合调试Linux内核
bochs这个软件准确来说应该叫做“模拟器”,而不是虚拟机,因为VMware等虚拟机是将Guest系统所有的指令都放到真实硬件上执行,而bochs模拟器则是直接用软件模拟硬件的执行,举个例子,在bochs里你可以自定义CPU指令并在汇编里使用,这一条足以说明bochs是多么强大,实在是操作..
分类:数据库技术   时间:2016-03-16 01:37:57    收藏:0  评论:0  赞:0  阅读:291
Nginx国产缩略图模块 ngx_image_thumb
关于ngx_p_w_picpath_thumb是nginx中用来生成缩略图的模块,生存缩略图的方法很多,之前也写过一篇《nginx生成缩略图配置-ttlsa教程系列之nginx》,在github上发现国人开发的一款模块,作者的文档写的很详细,我便照搬过来了。以后将做一个测试.特性本nginx模块主要功能是对请..
分类:其他   时间:2016-03-16 01:37:47    收藏:0  评论:0  赞:0  阅读:363
网站访问慢,服务器负载高-查找问题方法
如果以后出现报警各网站无法ping通,或者服务器负载过高,可通过以下几条途径查找原因:1,查看访问日志,查看是否有访问异常,如有,过滤IP,进行IP封装catmy.xoyo.com|awk‘{print$1}’|sort|uniq–c|sort–n>/tmp/ip.txtnetstat-ntu|awk‘{print$5}‘|cut-d:-f1|sort|un..
分类:Web开发   时间:2016-03-16 01:37:27    收藏:0  评论:0  赞:0  阅读:264
git的基础知识
gitinit命令将当前目录创建为版本仓库,该命令运行之后会在当前目录下生产一个.git的目录gitaddxxx为仓库添加文件gitcommit-m"xxxx"将文件提交到版本库第一次提交的时候可能需要配置邮箱和姓名gitconfig--globaluser.email"xxx@126.com"gitconfig--globaluser.name"你的名字"使..
分类:其他   时间:2016-03-16 01:37:17    收藏:0  评论:0  赞:0  阅读:224
阿里云ODPS操作技巧
语句操作:https://help.aliyun.com/document_detail/odps/SQL/ddl.htmlodps客户端:https://help.aliyun.com/document_detail/odps/tools/console/console.html?spm=5176.product8314999_odps.6.243.h3NEQt在客户端可以查看运行的任务情况:showpfromdate1todate2number,eg:..
分类:其他   时间:2016-03-16 01:37:06    收藏:0  评论:0  赞:0  阅读:278
Mysql 导入导出
1、导出数据和表结构:mysqldump-u用户名-p密码数据库名>数据库名.sql#/usr/local/mysql/bin/mysqldump-uroot-pabc>abc.sql2、只导出表结构mysqldump-u用户名-p密码-d数据库名>数据库名.sql#/usr/local/mysql/bin/mysqldump-uroot-p-dabc>abc.sql注:/usr/local/my..
分类:数据库技术   时间:2016-03-16 01:36:56    收藏:0  评论:0  赞:0  阅读:177
python线程
Threading用于提供线程相关的操作,线程是应用程序中工作的最小单元。更多方法:start线程准备就绪,等待CPU调度setName为线程设置名称getName获取线程名称setDaemon设置为后台线程或前台线程(默认)如果是后台线程,主线程执行过程中,后台线程也在进行,主线程执行完毕后,..
分类:编程语言   时间:2016-03-16 01:36:47    收藏:0  评论:0  赞:0  阅读:252
php-fpm 操作
测试php-fpm配置/usr/local/php/sbin/php-fpm-t/usr/local/php/sbin/php-fpm-c/usr/local/php/etc/php.ini-y/usr/local/php/etc/php-fpm.conf-t2.启动php-fpm/usr/local/php/sbin/php-fpm/usr/local/php/sbin/php-fpm-c/usr/local/php/etc/php.ini-y/usr/local/php/etc/php-fpm..
分类:Web开发   时间:2016-03-16 01:36:37    收藏:0  评论:0  赞:0  阅读:181
JavaScript input type=file 获取文件大小及类型限制
html代码:<inputname="txtName"type="file"id="pic"onchange="loadImage(this)"/>JavaScript代码:functionloadImage(img){ varfilePath=img.value; varfileExt=filePath.substring(filePath.lastIndexOf(".")) .toLowerCase(); if(!checkFileExt(fileExt)){ alert("您..
分类:编程语言   时间:2016-03-16 01:36:16    收藏:0  评论:0  赞:0  阅读:240
div中的内容垂直居中实例
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml"> <head> <title> div中的内容垂直居中实例 </title> <metaname="genera..
分类:其他   时间:2016-03-16 01:36:07    收藏:0  评论:0  赞:0  阅读:253
1603条   上一页 1 ... 68 69 70 71 72 ... 81 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!