/etc/passwd 文件内容详细解释(转)
摘要:原始出处:http://fangfang0717.blog.51cto.com/236466/130699/etc/passwd 是存放用户的地方1 2 3 4 5 6 7root: x : 0 : 0 : root : / root : / bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologinadm:x:3:4:adm:/var/adm:/sbin/nologinlp:x:4:7:lp:/var/spool/lpd:/sbin/nologinsync:x:5:0:sync:/sbin:/
阅读全文
posted @
2011-10-28 18:11
-Anny-
阅读(1926)
推荐(0)
Linux与用户/组相关的命令
摘要:Refer tohttp://www.linuxso.com/command/su.htmluseradd newuser #该用户的Home目录为/home/newuseruseradd 用户名 -g 组名 –G 组名 -d Home目录名 -p 密码 其中 -g 指定该用户的首要组 -G 指定该用户的次要组 -d 指定该用户的Home 目录 -p 指定该用户的密码usermoduserdel 用户名groupadd newgroupgroupdel groupnamepasswd 输入该命令后按系统提示依次输入密码和密码确认后即可完成用户密码的修改 此外超级用户还可以修改其他用...
阅读全文
posted @
2011-10-28 17:56
-Anny-
阅读(263)
推荐(0)
Squirrel Sql client
摘要:Refer tohttp://www.squirrelsql.org/SQuirreL SQL Client is a graphical Java program that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc, seeGetting StartedandIntroduction.的确很好用,用java -jar squirrel.jar 运行安装,如果连接mssql的话,下载一个sqljdbc4.
阅读全文
posted @
2011-10-28 17:29
-Anny-
阅读(497)
推荐(0)
Selenium and Jenkins Integration on CentOS
摘要:1. Environment Required CentOS Linux release 6.0 (Final)(cat /etc/redhat-release) JDK:jdk1.6.0_27 (/opt/) ApacheTomcat:apache-tomcat-6.0.33 (/opt/)1.1 Extract JDK and Apache Tomcat (tar xvf *.tar.gz)1.2 Set environment variables like below:1.2.1 nano ~/.profile or /etc/.profile (nano is better th...
阅读全文
posted @
2011-10-27 19:40
-Anny-
阅读(1997)
推荐(0)
Subversion vs Subclipse
摘要:Subversion和Subclipse都是Eclipse的插件,做为SVN(subversion)的客户端与SVN交互,在安装时需要注意所安装的版本要和Eclipse版本兼容。我所用的Eclipse是最新版的Eclipse Indigo,在安装Subclipse后总是提示无法使用,查阅资料对于Indigo最好安装Subversion.安装方法:Eclipse-Help-Eclipse Marketplaces...-Popular ...找到Subversion 安装即可。顺便说一下如何卸载Subclipse, Help-About Eclipse-Install Details-选择要卸载
阅读全文
posted @
2011-10-21 17:11
-Anny-
阅读(667)
推荐(0)
Solution to 'org.maven.ide.eclipse cannot be found when installing plugins in eclipse'
摘要:需要在eclipse上安装一些插件,但在安装过程中(不管什么插件),都报出这个错误:Missing requirement: Shared profile 1.0.0.1308118925849 (SharedProfile_epp.package.java 1.0.0.1308118925849) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found从网络上查很多资料才知道原来对于indigo最新版本的eclipse在安装插件的时候需要以超级管理员的身份去运行Eclip
阅读全文
posted @
2011-10-20 17:29
-Anny-
阅读(762)
推荐(0)
Profiles for Firefox
摘要:The unique feature of Firefox is to create many profiles which contains book maks, home page, tool bar......When I use selenium to run test suite in terminal, some persons suggest that we need to specify -firefoxProfileTemplate(that is the location of profile to be used).The link below will tell us
阅读全文
posted @
2011-10-19 18:19
-Anny-
阅读(135)
推荐(0)
CAS SSO 原理 (转)
摘要:Refer to http://blog.csdn.net/yaolong77/article/details/4041434 SSO 是一个非常大的主题,我对这个主题有着深深的感受,自从广州 UserGroup 的论坛成立以来,无数网友都在尝试使用开源的 CAS , Kerberos 也提供另外一种方式的 SSO ,即基于 Windows 域的 SSO ,还有就是从 2005 年开始一直兴旺不衰的 SAML 。 如果将这些免费的 SSO 解决方案与商业的 Tivoli 或 Siteminder 或 RSA Secure SSO 产品做对比,差距是存在的。毕竟,商业产品的安全性和用户体验都是无
阅读全文
posted @
2011-10-17 15:50
-Anny-
阅读(3986)
推荐(0)
Redmine-Project Management Web Application
摘要:Redmine 是一个开源的、基于Web的项目管理和缺陷跟踪工具。它用日历和甘特图辅助项目及进度可视化显示。同时它又支持多项目管理。Redmine是一个自由开放 源码软件解决方案,它提供集成的项目管理功能,问题跟踪,并为多个版本控制选项的支持。虽说像IBM Rational Team Concert的商业项目调查工具已经很强大了,但想坚持一个自由和开放源码的解决方案,可能会发现Redmine是一个有用的Scrum和敏捷的选择。 Redmine建立在Ruby on Rails的框架之上,可以夸平台和数据库。More introduction please refer to http://www.
阅读全文
posted @
2011-10-12 18:06
-Anny-
阅读(327)
推荐(0)
设置Ubuntu环境变量 PATH 的方法及配置备份(转)
摘要:Refer to http://jadeluo.iteye.com/blog/940113在Ubuntu中有如下几个文件可以设置环境变量: /etc/profile:在登录时,操作系统定制用户环境时使用的第一个文件,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行. /etc/environment:在登录时操作系统使用的第二个文件,系统在读取你自己的profile前,设置环境文件的环境变量 ~/.profile:在登录时用到的第三个文件是.profile文件,每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该文件仅仅执行一次!默认情况下,他设置..
阅读全文
posted @
2011-10-12 16:33
-Anny-
阅读(367)
推荐(0)
Lazyload & 键盘常用ASCII码 & Selenium
摘要:参考http://www.cnblogs.com/cloudgamer/archive/2010/02/01/LazyLoad.htmlhttp://blog.csdn.net/tiancx/article/details/2907887http://blog.csdn.net/javatwt/article/details/15194811 Lazyload 介绍Lazyload是通过延迟加载来实现按需加载,达到节省资源,加快浏览速度的目的。网上也有不少类似的效果(大多是图片的加载),这个Lazyload主要特点是:支持使用window(窗口)或元素作为容器对象;对静态(位置大小不变)元素做
阅读全文
posted @
2011-10-12 16:23
-Anny-
阅读(972)
推荐(0)
How to do web automation test using Selenium
摘要:项目顾问建议用Selenium做web应用的自动化测试,决定将业务逻辑简单、功能稳定的功能模块用自动化去测试,比如简单的登录模块。下面就将过程简单总结一下。我是在Ubuntu系统上跑的Selenium1. 环境准备1.1 Java环境安装jdk,我的JDK在/usr/local/jdk1.6.0_2...
阅读全文
posted @
2011-10-11 15:34
-Anny-
阅读(677)
推荐(0)
SPSS
摘要:SPSSis acomputer programused for survey authoring and deployment (IBM SPSS Data Collection), data mining (IBM SPSS Modeler), text analytics, statistical analysis, and collaboration & deployment (batch & automated scoring services). Between 2009 and 2010 the premier vendor for SPSS was called
阅读全文
posted @
2011-10-10 15:26
-Anny-
阅读(319)
推荐(0)
Lucene & Solr
摘要:From http://alartin.iteye.com/blog/42867and http://www.iteye.com/blogs/tag/luceneLucene是apache软件基金会4 jakarta项目组的一个子项目,是一个开放源代码的全文检索引擎工具包,即它不是一个完整的全文检索引擎,而是一个全文检索引擎的架构,提供了完整的查询引擎和索引引擎,部分文本分析引擎(英文与德文两种西方语言)。Lucene的目的是为软件开发人员提供一个简单易用的工具包,以方便的在目标系统中实现全文检索的功能,或者是以此为基础建立起完整的全文检索引擎Solr是一个基于Lucene java库的企业级
阅读全文
posted @
2011-10-09 18:07
-Anny-
阅读(1139)
推荐(0)
ibatis VS Hibernate(转)
摘要:From http://zhidao.baidu.com/question/99674664.htmlibatis:sql需要自己写hibernate:sql自动生成上面是最大的区别,下面是一些细节.选择Hibernate还是iBATIS都有它的道理:Hibernate的特点:Hibernate功能强大,数据库无关性好,O/R映射能力强,如果你对Hibernate相当精通,而且对Hibernate进行了适当的封装,那么你的项目整个持久层代码会相当简单,需要写的代码很少,开发速度很快,非常爽。以数据库字段一一对应映射得到的PO和Hibernte这种对象化映射得到的PO是截然不同的,本质区别在于这
阅读全文
posted @
2011-10-09 16:29
-Anny-
阅读(218)
推荐(0)
How to access share directory on NAS server
摘要:1. In windows, we just enter \\nas.xxx.com, then we will enter the share directory2. In Ubuntu, we can create a network:Places-Connect to server...-Select Windows Share-Enter Server(nas.xxx.com)-Click ConnectThen a network will be created.In Side Pane, we will see the share directory: smb://nas.xxx.
阅读全文
posted @
2011-10-09 16:03
-Anny-
阅读(234)
推荐(0)
AOP(转)
摘要:Fromhttp://baike.baidu.com/view/73626.htmAOP 为Aspect Oriented Programming的缩写,意为:面向切面编程(也叫面向方面),可以通过预编译方式和运行期动态代理实现在不修改源代码的情况下给程序动态统一添加 功能的一种技术。AOP实际是GoF设计模式的延续,设计模式孜孜不倦追求的是调用者和被调用者之间的解耦,AOP可以说也是这种目标的一种实现。 AOP:advance online publication.在线杂志出版物。 面向切面编程(也 叫面向方面):Aspect Oriented Programming(AOP),是目前软..
阅读全文
posted @
2011-10-09 15:49
-Anny-
阅读(287)
推荐(0)
How to create cisco vpn connection on Ubuntu10.10
摘要:1. Install network-manager-vpnc(depends vpnc) , network-manager-pptp in Synaptic package manager or use apt-get install2. System-Preferences-Network connections-VPN(Add or Import [if you have a pcf file for cisco])3. Select VPN connection just created to check if connection succeedIf failed, we can
阅读全文
posted @
2011-10-08 16:08
-Anny-
阅读(88)
推荐(0)
SSO(转)
摘要:Fromhttp://baike.baidu.com/view/190743.htmSSO英文全称Single Sign On,单点登录。SSO是在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。它包括可以将这次主要的登录映射到其他应用中用于同一个用户的登录的机制。它是目前比较流行的企业业务整合的解决方案之一。SSO技术实现机制 当用户第一次访问应用系统1的时候,因为还没有登录,会被引导到认证系统中进行登录;根据用户提供的登录信息,认证系统进行身份效验,如果通过效验,应该返回给用户一个认证的凭据--ticket;用户再访问别的应用的时候就会将这个ticket带上,作为自己.
阅读全文
posted @
2011-10-08 13:47
-Anny-
阅读(353)
推荐(0)