Windows中Shift+右键"在此处打开命令窗口"默认是采用cmd的方式打开.把cmd替换为PowerShell的方式打开.1.Ctrl+R输入regedit进入注册表2.找到[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command]3.修改数据为powershell.exe-NoExitSet-Location"%V"
分类:
其他好文 时间:
2014-05-14 18:47:32
阅读次数:
398
1.查看Java是否安装java-version2.安装Jenkinswget-q-O-http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key|sudoapt-keyadd-sudosh-c‘echodebhttp://pkg.jenkins-ci.org/debianbinary/>/etc/apt/sources.list.d/jenkins.list‘sudoapt-getupdatesudoapt-getinstalljenkins..
分类:
其他好文 时间:
2014-05-14 18:40:21
阅读次数:
281
缘由:由于办公电脑配置过低,安装win7每天系统蓝屏,重启无数次,出于对设备的最大化利用,所以就换成了Ubuntu,刚装上系统,感觉还不错,唯独那丑陋的输入法用着真心让人崩溃,果断删除iBus然后安装Fcitx,谁曾想由此引发了系统崩溃。。。系统及软件版本相关问题:1、卸载iBus之..
分类:
其他好文 时间:
2014-05-14 18:37:11
阅读次数:
434
1.uname-r查询系统内核版本2.cat/etc/issue查看所使用系统版本3.
分类:
其他好文 时间:
2014-05-14 17:20:16
阅读次数:
279
用rvm安装ruby错误缺少对于的库文件[root@localhost~]#rvminstall2.0.0Searchingforbinaryrubies,thismighttakesometime.Nobinaryrubiesavailablefor:redhat/6/i386/ruby-2.0.0-p451.Continuingwithcompilation.Pleaseread‘rvmhelpmount‘togetmoreinformationonbinaryrubies.Ch..
分类:
其他好文 时间:
2014-05-14 16:42:26
阅读次数:
620
分类:1)通过mii-tool指令[root@localhostroot]#mii-tooleth0:negotiated100baseTx-FD,linkoketh1:nolink或[root@localhostroot]#mii-tool-veth0:negotiated100baseTx-FD,linkokproductinfo:vendor00:50:43,model2rev3basicmode:autonegotiationenabledbasicstatus:autonegotia..
分类:
系统相关 时间:
2014-05-14 16:38:17
阅读次数:
397
ERROR1045(28000):Accessdeniedforuser‘root‘@‘localhost‘(usingpassword:YES)解决:1、先停止mysql服务,命令如下:#/etc/init.d/mysqlstop2、重新启动服务,命令如下:#/etc/init.d/mysqlstop#mysqld_safe--user=mysql--skip-grant-tables--skip-networking&3、登入mysql..
分类:
数据库 时间:
2014-05-14 16:36:13
阅读次数:
368
参考链接SCP和SFTP不用输入密码的信任公钥方法攻略1.在本地主机(Ubuntu)产生RSA密钥cd~/.ssh/
ssh-keygen-trsa均Enter采用默认方式,则产生两个文件id_rsaid_rsa.pub2.将公钥id_rsa.pub添加到远程主机~/.ssh/authorized_keys文件catid_rsa.pub>>.ssh/authorized_keys3...
分类:
其他好文 时间:
2014-05-14 16:27:58
阅读次数:
294
对于很多新手,当然我也是新手,在命令行里学习python的时候占满了屏幕,很不习惯,特别是使用linux习惯了,使用clear清屏,这样的感觉非常好,但是python下面没有这样的命令和功能,下面为了解决这个问题,本人写了个简单的模块1先来看下没有清屏的结果[root@zh~]#python
Pyth..
分类:
编程语言 时间:
2014-05-14 16:04:24
阅读次数:
1320
linux执行free命令显示如下:[root@Linux~]#free
totalusedfreesharedbufferscached
Mem:805434418346246219720060528369948
-/+buffers/cache:14041486650196
Swap:524280144524136第1行total内存总数:8054344used已经使用的内存数:1834624free空闲的内存数:6219720shared当前..
分类:
系统相关 时间:
2014-05-14 15:56:09
阅读次数:
329