解决方法如下: 1>、进入超级用户模式。也就是输入"su
-",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。 2>、添加文件的写权限。也就是输入命令"chmod u+w
/etc/sudoers"。 3>、编辑/etc/sudoers文件。也就是输入命令"vim /...
分类:
其他好文 时间:
2014-06-06 23:33:46
阅读次数:
184
package javatest.basic22;import java.io.File;import
java.io.IOException;public class FileTest { public void getFileName(File file){
//判断是否是文件 ...
分类:
编程语言 时间:
2014-06-06 22:44:05
阅读次数:
271
用户提交commit后,数据库干的工作有:
1,oracle为用户的transaction生成一个SCN号。 2,LGWR把redo buffer中的数据写入到redo log
file,同时把SCN号记录到redo log file中。这一步完成后,说明用户提 交的数据已经安全的写到磁盘 3,释放...
分类:
数据库 时间:
2014-06-06 20:49:58
阅读次数:
337
Generic.xaml is a particular name, you cannot
rename it.
分类:
其他好文 时间:
2014-06-06 20:47:27
阅读次数:
248
For convenience of discussion, assume our
android executable name is hello-exe.1. Compile debug version of android
executable file, use following comm...
分类:
移动开发 时间:
2014-06-06 19:30:02
阅读次数:
335
package dao;import java.io.File;import
java.io.FileInputStream;import java.io.FileNotFoundException;import
java.io.IOException;import java.net.URISynt...
分类:
数据库 时间:
2014-06-06 19:25:31
阅读次数:
229
新建 StandAlone Application 工程后, 再通过 File >
New > Other.. > IntraWeb > New Form 添加两个窗体.然后 TIWForm1 上放两个 TIWButton,
在 TIWForm2 和 TIWForm3 上各放一个 TIWButton...
分类:
Web程序 时间:
2014-06-06 18:40:04
阅读次数:
237
注意点 private File
image;//对应的就是表单中文件上传的那个输入域的名称,Struts2框架会封装成File类型的 private String
imageFileName;// 上传输入域FileName 文件名 private String im...
分类:
其他好文 时间:
2014-06-06 17:36:01
阅读次数:
255
1.运行终端,执行命令行进入missing file目录,然后运行svn delete
nameOfMissingFile或git rm nameOfMissingFile2.删除隐藏的.svn文件。命令行运行defaults write
com.apple.finder AppleShowAllF...
分类:
其他好文 时间:
2014-06-03 16:20:06
阅读次数:
405
下载语言包,直接把bin路径添加进PATH:Download the file
fromhttp://swiftlang.org/packages/swift-0.94.1.tar.gz.Extract by running "tar
xfz swift-0.94.1.tar.gz"Add to P...
分类:
其他好文 时间:
2014-06-03 14:53:04
阅读次数:
282