2014年2月27日

摘要: 查看内存:我们可以用free命令查看内存信息:free -g total used free shared buffers cachedMem: 15 15 0 0 0 9-/+ buffers/cache: 5 10Swap: 15 0 15-g 是内存大小单位G,也可以-m(兆),或者不加此参数total——总物理内存used——已使用内存,一般情况这个值会比较大,因为这个值包括了cache+应用程序使用的内存free——完全未被使用的内存shared——应用程序共享内存buff... 阅读全文
posted @ 2014-02-27 16:34 陆星儿 阅读(341) 评论(0) 推荐(0) 编辑

2013年12月26日

摘要: 1, start vnc server: vncserver :1issue:connect it with pc and only display one terminal.2, stop vnc server: vncserver -kill :13, modify file(/home/your name/.vnc/xstartup) like below:#!/bin/sh# Uncomment the following two lines for normal desktop:unset SESSION_MANAGERexec /etc/X11/xinit/xinitrc[ -x 阅读全文
posted @ 2013-12-26 11:12 陆星儿 阅读(1533) 评论(0) 推荐(0) 编辑

2013年12月4日

摘要: 1, 在Eclipse中安装EPIC:Help->Install New Software->Add:name:EPICLocation:http://e-p-i-c.sourceforge.net/updates/testing2, 安装Padwalker:PadWalker is a module which allows you to inspect (and even change!)lexical variables in any subroutine which called you. It will only showthose variables which are 阅读全文
posted @ 2013-12-04 16:52 陆星儿 阅读(437) 评论(0) 推荐(0) 编辑

2013年11月29日

摘要: 安装redhat时中文显示乱码(小方框)解决方法在安装linux的时候,安装完了中文出现乱码或者是当时选错了选成了英文的,到时候中文显示乱码,下面说一下问题的解决:在首次安装RHEL5时,如果选择的是英文,那么系统将不安装中文支持包,这样就导致了中文显示为乱码(小方框).......有很多人说vi /etc/sysconfig/i18n文件,其实根本就没有那个必要。解决方法:安装1、fonts-chinese-3.02-9.6.el5.noarch.rpm. 如果无法安装,则加个--force2、fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm多数人到了这里就 阅读全文
posted @ 2013-11-29 09:45 陆星儿 阅读(592) 评论(0) 推荐(0) 编辑

2013年11月28日

摘要: 1,利用Tie::File模块来直接对文件内容进行修改。#!/usr/bin/perl -wmy $std="F160";my $fast="FAST";my $file=shift @ARGV;updatefile2($file);sub updatefile2 {if(defined($file)) { use Tie::File; tie my @contents, 'Tie::File', "$file" or die "can't open $!\n"; for(@contents 阅读全文
posted @ 2013-11-28 14:19 陆星儿 阅读(2080) 评论(0) 推荐(0) 编辑

2013年11月24日

摘要: 1, github: https://github.com/spring-projects/spring-framework SVN: https://github.com/spring-projects/spring-framework https://github.com/spring-projects/spring-framework.gitcheck out sources with git : git clone git://github.com/SpringSource/spring-framework.git2, 可以根据自己需要更改版本号http://s3.amazonaws. 阅读全文
posted @ 2013-11-24 19:46 陆星儿 阅读(3802) 评论(0) 推荐(0) 编辑

2013年11月23日

摘要: 方案1(本人使用此方案,问题得已解决):可能是ssh-server未安装或者未启动。我的ubuntu 12.04 默认只安装了openssh-client,并没有安装server。运行 ps -e | grep ssh,查看是否有sshd进程。如果没有,说明server没启动,通过 /etc/init.d/ssh -start 启动server进程,如果提示ssh不存在 那么就是没安装server我们可以通过 sudo apt-get install openssh-server命令安装,安装好server就自动启动了。方案2(网上查的,还没验证,仅作保留):在自己Home下的 .ssh文件( 阅读全文
posted @ 2013-11-23 15:53 陆星儿 阅读(2165) 评论(0) 推荐(0) 编辑

2013年11月17日

摘要: eclipse 快捷键文件地址:%Workspace%/.metadata/.plugins/org.eclipse.core.runtime /.settings/org.eclipse.ui.workbench.prefs快捷键保存在此文件变量KEY 【org.eclipse.ui.commands】中。 阅读全文
posted @ 2013-11-17 15:19 陆星儿 阅读(572) 评论(0) 推荐(0) 编辑

导航