下面是备份系统的方法:然后打开终端,输入以下命令:1、成为根用户: sudo su2、转到根目录: cd /然後,下面就是我用来备份我的系统的完整的命令:tar -cvpzf /media/sda7/backup.tgz --exclude=/proc --exclude=/lost+found -...
分类:
其他好文 时间:
2014-07-16 22:51:00
阅读次数:
186
大部分Linux发行版的默认账户是普通用户,而更改系统文件或者执行某些命令,需要root身份才能进行,这就需要从当前用户切换到root用户。Linux中切换用户的命令是su或su -。 如上图所示,一开始是普通账户,执行userdel时,提示command not found,通过su命令切换到ro...
分类:
系统相关 时间:
2014-07-11 18:28:53
阅读次数:
337
Describe how you could use a single array to implement three stacks.Divide the array into three fixed parts, each stands for a stack./*Fixed Size Stac...
分类:
其他好文 时间:
2014-07-11 10:45:34
阅读次数:
189
Search Insert PositionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if ...
分类:
其他好文 时间:
2014-07-11 09:09:33
阅读次数:
211
1、android支持库未安装
编译不过,提示如下:
Could not find any version that matches com.android.support:appcompat-v7:+
.......
Please install the Android Support Repository from the Android SDK Manager
其实原因和解决方法已经说...
分类:
其他好文 时间:
2014-07-10 23:39:33
阅读次数:
282
真机调试过程中弹出这个问题,网上找到的解决办法,记录一下。
。。。。
弄完这些步骤之后,上面多出一个 IOS disturbution。所以出现这个问题的原因应该是设置的证书没有刷新到本地所致。...
分类:
其他好文 时间:
2014-07-10 23:30:07
阅读次数:
245
在运行项目的时候,eclipse弹出提示框“Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.”
在终端输入:netstat -ano ...
分类:
其他好文 时间:
2014-07-10 23:03:07
阅读次数:
432
directory not found for option...
分类:
其他好文 时间:
2014-07-10 21:51:35
阅读次数:
196
发生这种错误的原因是什么呢,正常情况下都是你的系统中装了两个版本的JDK,比如装了1个1.6版本的JDK,然后再安装1个1.7版本的JDK,这个时候你打开eclipse的时候就会弹出一个对话框,提示:Error:could not find java SE Runtime Environment。
这个时候你也可以在命令行中输入”java -version“,可以看到相关的错误提示:
...
分类:
编程语言 时间:
2014-07-10 17:40:32
阅读次数:
263
先在Mac OS的终端查询下本机是否已安装LuaLast login: Thu Jul 10 07:54:48 on ttys000keshans-Mac-mini:~ keshan$ lua-bash: lua: command not found 2. 如果没有(如上)的话去Lua的官方网站下....
分类:
其他好文 时间:
2014-07-10 15:50:08
阅读次数:
173