//SituationSystem prompts"xxx is not in the sudoers file"(xxx equals the user name)while executing command "sudo":sudo-iPassword:xxx isnotinthe sudoer...
分类:
其他好文 时间:
2014-07-11 22:09:28
阅读次数:
216
git clone addr 复制到本地git branch xx 创建分支XXgit branch -b XX 创建并进入分支XX [-a列出所有 -d删除分支]git branch -rd origin/xxx 删除本地分支的远程关联,是关联git branch remote 查看远程分支git...
分类:
其他好文 时间:
2014-07-11 21:39:19
阅读次数:
218
参考:http://blog.csdn.net/sxycxwb/article/details/121861590、删除之前的数据库1、Run the Enable-Migrations command in Package Manager Console 进入(PM)软件包管理控制台 (视图——....
分类:
数据库 时间:
2014-07-11 21:08:09
阅读次数:
297
添加一个drive:guestfs_add_drive_optsadd-drive filename [readonly:true|false] [format:..] [iface:..] [name:..] [label:..] [protocol:..] [server:..]This fun...
分类:
其他好文 时间:
2014-07-11 20:10:26
阅读次数:
392
大部分Linux发行版的默认账户是普通用户,而更改系统文件或者执行某些命令,需要root身份才能进行,这就需要从当前用户切换到root用户。Linux中切换用户的命令是su或su -。 如上图所示,一开始是普通账户,执行userdel时,提示command not found,通过su命令切换到ro...
分类:
系统相关 时间:
2014-07-11 18:28:53
阅读次数:
337
from:http://www.opsers.org/base/debian-package-management-tools-command-dpkg-apt-get-detailed.html1.dpkg包管理工具dpkg –info "软件包名" –列出软件包解包后的包名称.dpkg -l –...
分类:
其他好文 时间:
2014-07-11 18:21:35
阅读次数:
163
1、找到 Microsoft Visual Studio / Visual Studio Tools / Remote Debugger Folder 目录中对应的调试版本到远程服务器。2、根据服务器,选择对应的版本3、把工具复制到远程服务器4、在远程服务器运行 msvsmon.exe默认的调试选项...
分类:
Web程序 时间:
2014-07-09 14:36:47
阅读次数:
274
excel 2007第一次打开时总是显示there was a problem sending command to the program.
关闭后打开一次就能打开了。
由于装的东西太多,初步怀疑是兼容性的问题.
在Excel option里面的add-in 和 trusted publisher 里面去掉非office的插件.
如下图:
...
分类:
其他好文 时间:
2014-07-09 12:31:38
阅读次数:
246
Rsync(remote synchronize) 是一个远程数据同步工具,可以使用“Rsync算法”同步本地和远程主机之间的文件。
rsync的好处是只同步两个文件不同的部分,相同的部分不在传递。类似于增量备份,
这使的在服务器传递备份文件或者同步文件,比起scp工具要省好多时间。
具体的用法:
1.在本地机器上对两个目录同步
$ rsync -zvr filena...
分类:
其他好文 时间:
2014-07-09 10:39:52
阅读次数:
234
远程调用内核接口的封装类(RCKObjs), RCK 包含 Application, Function, Connection, Command, Response 和 Fields 六大类。...
分类:
Web程序 时间:
2014-07-09 10:28:56
阅读次数:
273