今天在linux下打开win的NTFS硬盘总是提示出错了,而且是全部的NTFS盘都出错,其中sda1错误显示如下:Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t "ntfs" -o ...
                            
                            
                                分类:
系统相关   时间:
2014-06-17 00:29:31   
                                阅读次数:
383
                             
                         
                    
                        
                            
                            
                                大纲1、TheBashShell2、OutputinColor3、Howcandoit?1、TheBashShellBashistheprimaryshelloftheLinuxmachine,includedherearesometips/trickswiththeshell.UsethemanualpageandlearnaboutPS1,PS2andPROMPT_COMMAND.Thetricksinherecanbeusein~/.bash_profileor~/.bashrc.2、Ou..
                            
                            
                                分类:
系统相关   时间:
2014-06-16 16:53:26   
                                阅读次数:
407
                             
                         
                    
                        
                            
                            
                                升级了mac操作系统,安装python的python-ldap,报错Modules/LDAPObject.c:18:10:fatalerror:‘sasl.h‘filenotfound#include<sasl.h>^1errorgenerated.error:command‘cc‘failedwithexitstatus1----------------------------------------Cleaningup...Command/usr/bin/python..
                            
                            
                                分类:
编程语言   时间:
2014-06-16 16:21:35   
                                阅读次数:
758
                             
                         
                    
                        
                            
                            
                                报错的代码为protected void buttonPressed(int buttonId) {Display.getDefault().syncExec(new Runnable() { public void run() { localpmtsStreamViewsAction.r...
                            
                            
                         
                    
                        
                            
                            
                                Hadoop Pipes Exception: Illegal text protocol command对于Hadoop pipes 出现这样的错误,基本上编译代码依赖的.so和.a 版本不匹配网上也没有给出更多信息,我的同事最近回复了解决办法,可以参考https://groups.google....
                            
                            
                                分类:
其他好文   时间:
2014-06-15 14:37:31   
                                阅读次数:
243
                             
                         
                    
                        
                            
                            
                                Mac开机密码忘了,咋办?开不开机啦
1.打开你的Mac,command +S 进入你的终端界面
2.输入/sbin/mount -uaw /                          
3.输入rm /var/db/.AppleSetupDone           (删除)
4.reboot                                        ...
                            
                            
                                分类:
其他好文   时间:
2014-06-15 12:38:37   
                                阅读次数:
207
                             
                         
                    
                        
                            
                            
                                这次,聊聊关于「命令行提示符」的相关内容。bash之类的Shell程序是操作Linux所不可缺少的东西。其中bash的提示符也有承担了很重要的作用。「命令行提示符」的英文是「command prompt」,其中「prompt」有促使,推动的意思,根据这个意思,Shell中的「命令行提示符」就有促使,...
                            
                            
                                分类:
系统相关   时间:
2014-06-15 07:29:23   
                                阅读次数:
327
                             
                         
                    
                        
                            
                            
                                http://docs.mongodb.org/manual/reference/command/renameCollection/db.source-namespace.renameCollection( "target" )比如把users 替换成 all_usersdb.users.renam...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 23:49:28   
                                阅读次数:
570
                             
                         
                    
                        
                            
                            
                                在linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现一下信息提示:
      E212: Can't open file for writing Press ENTER or type command to continue
      出现这个错误的原因可能有两个:
    1.当前用户...
                            
                            
                                分类:
系统相关   时间:
2014-06-14 12:53:30   
                                阅读次数:
512
                             
                         
                    
                        
                            
                            
                                指定用户名密码启动管理服务器You can start and stop Oracle WebLogic Server Administration Servers using the WLST command line or a script. When you start or stop the...
                            
                            
                                分类:
数据库   时间:
2014-06-14 08:24:43   
                                阅读次数:
368