在创建容器时报下列错误[root@localhostsample]#dockerbuild-tovcer/nginx.SendingbuildcontexttoDockerdaemon2015/01/0706:43:51Posthttp:///var/run/docker.sock/v1.15/build?rm=1&t=ovcer%2Fnginx:dialunix/var/run/docker.sock:nosuchfileordirectory解决方法:[root@l..
分类:
其他好文 时间:
2015-01-07 07:03:41
阅读次数:
378
NameNode类位于org.apache.hadoop.hdfs.server.namenode包下。NameNode serves as both directory namespace manager and "inode table" for the Hadoop DFS. There is...
分类:
其他好文 时间:
2015-01-06 22:52:07
阅读次数:
365
一个整得很烂了的Ubuntu服务器, 各种问题乱出. npm老是升不到最新版(一直显示1.4),于是我干脆删了, 结果再去装却装不上了, 如果用apt-get install npm安装, 就得到如下错误:The following packages have unmet dependencies:...
分类:
其他好文 时间:
2015-01-06 21:22:07
阅读次数:
244
Running out of disk space in the pg_xlog directory is a fairly common Postgres problem. This important directory holds the WAL (Write Ahead Log) files. (WAL files contain a record of all changes ma...
分类:
数据库 时间:
2015-01-06 18:20:49
阅读次数:
844
package test;import java.io.File;import java.util.Iterator; import com.drew.imaging.jpeg.JpegMetadataReader;import com.drew.metadata.Directory;import ...
分类:
编程语言 时间:
2015-01-06 17:23:17
阅读次数:
235
在WinCE下面,创建工程,然后编译是需要花很长时间的。当我们第一编译完工程以后,如果需要改我们的驱动或者BSP,我们是不需要重新编译整个工程的:
1. 如果更改了driver,以WinCE6.0为例,我们可以在菜单里面选择“build”->“Open Release Directory in Build Window” ,然后在弹出的命令行窗口中,通过dos命令切换到你要编译的driver...
Java获取当前路径和读取文件
1、利用System.getProperty()函数获取当前路径:
System.out.println(System.getProperty("user.dir"));//user.dir指定了当前的路径
2、使用File提供的函数获取当前路径:
File directory = new File("");//设定为当前文件夹
System.ou...
分类:
编程语言 时间:
2015-01-06 11:58:44
阅读次数:
422
linux使用su切换用户提示 Authentication failure的解决方法:这个问题产生的原因是由于ubtun系统默认是没有激活root用户的,需要我们手工进行操作,在命令行界面下,或者在终端中输入如下命令:sudo passwdPassword:你当前的密码Enter new UNIX...
分类:
系统相关 时间:
2015-01-06 09:43:28
阅读次数:
282
命令总结mkdir 创建目录的命令 make directorysls -l(long)d(directory)显示目录或者文件 全称listcd 切换目录层次change directorytouch "摸" touch [文件名] 就是“摸”一下文件,如果文件不存在,就建立新文件,如果存在就.....
分类:
系统相关 时间:
2015-01-06 08:32:32
阅读次数:
295
系统上的PHP是编译安装的,在session_start()的时候报错! A 错误信息: Warning: session_start(): open(/var/lib/php/session/sess_qavhhacl7lrdbggauasf1qdlo5, O_RDWR) failed: No such file or directory?(...
分类:
Web程序 时间:
2015-01-05 20:35:00
阅读次数:
328