$ ID=$(sudo docker run -d ubuntu /usr/bin/top
-b)$ sudo docker attach $ID在容器中运行top命令。如果attach 的时候就能看到top的是输出。$ sudo docker
stop $ID 就能结束这个容器。docker bu...
分类:
其他好文 时间:
2014-05-26 14:38:52
阅读次数:
421
一直按网上的方法:1.先安装apt-get install
zlib1g-dev2.重新安装python(3.3):即是./configure 再make再make
install始终没有解决掉问题!最后发现,还需要再链接一次:#ln -s /usr/local/python3.3/bin/pyth...
分类:
编程语言 时间:
2014-05-26 12:35:01
阅读次数:
298
http://blog.sina.com.cn/s/blog_62e7fe670101dg9d.htmlLinux下find一次查找多个指定文件或者排除某类文件,在
GREP 中匹配多个关键字的方法(1)Linux下find一次查找多个指定文件:查找a.html和b.htmlfind.-name"a...
分类:
系统相关 时间:
2014-05-26 11:52:02
阅读次数:
409
windows netstat -ano | find "8080"mac,Linux lsof
-i:8700 或者 lsof -i | grep 8700
分类:
其他好文 时间:
2014-05-26 09:44:32
阅读次数:
253
需要的工具:1、安装QT SDK环境2、安装CMake for
Windows3、OpenCV最新Windows源码步骤:1、将QT
SDK安装目录下的{QtSDK}\mingw\bin添加到系统环境变量PATH中2、打开CMake,设置源码位置和源码构造位置3、点击configure,选择如下5、...
在tomcat
bin目录下执行startup.bat可以正常启动,但在eclipse下安装了tomcat插件并且配置tomcat路径后启动且报错:A Java
Exception has occurred 解决方法,在eclipse中[window][Preferences]找到[tomcat][...
分类:
编程语言 时间:
2014-05-26 08:51:34
阅读次数:
360
引用自:http://blog.sina.com.cn/s/blog_8020e41101014lvu.html感谢博主状态描述:在eclipse中启动Tomcat后,在浏览器中访问localhost:8080,显示404错误。在%tomcat_home%/bin中启动startup.sh却可以正常...
分类:
系统相关 时间:
2014-05-26 08:29:53
阅读次数:
363
my @a=("a","b","c","d","e");my
@b=("b","g","f","e");my %a=map{$_=>1} @a;my %b=map{$_=>1} @b;# 交集@A =
grep( $a{$_}, @b ) ;# 补集@B1=grep(!defined $a{$_},...
分类:
其他好文 时间:
2014-05-26 08:02:22
阅读次数:
269
#!/bin/bash#LNMP(Fastcgi)#CentOS 6.3 + Nginx 1.2.x
+ PHP 5.3.15 + MySQL 5.5#2014-4-25iptables -Fiptables -Xiptables -Ziptables -A
INPUT -p tcp --dport...
分类:
其他好文 时间:
2014-05-26 06:51:33
阅读次数:
323
创建一个宏,保存在“当前工作簿”中,将EXCEL关闭后,再打开后,提示我“已删除的部件: 部件
/xl/vbaProject.bin。 (Visual Basic for Applications (VBA))”。
创建的宏就没有,写的东西就没了。解决方法:在第一次创建宏的时候,将宏 “.bas”文...
分类:
其他好文 时间:
2014-05-26 06:41:32
阅读次数:
209