博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页

2013年3月22日

摘要: 1. 安装参考:http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WebHomehttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installationhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR1.1 下载$ wget http://download.forge.objectweb.org/xwiki/xwiki-enterprise-web-5.0-milestone-1.war$ wget 阅读全文

posted @ 2013-03-22 18:09 Bruce Zhang 阅读(596) 评论(0) 推荐(0) 编辑

摘要: 参照:http://www.mediawiki.org/wiki/Installation第一步:安装。Check that your system meets theminimum requirementsIn addition tothe softwareitself, a standard MediaWiki installation has the following requirements:A web serveris required to send the generated pages to your web browser.PHPis required to run the 阅读全文

posted @ 2013-03-22 10:13 Bruce Zhang 阅读(647) 评论(0) 推荐(0) 编辑

2013年3月19日

摘要: There are some implicit properties available in any Maven project, these implicit properties are:project.*Maven Project Object Model (POM). You can us... 阅读全文

posted @ 2013-03-19 14:17 Bruce Zhang 阅读(298) 评论(0) 推荐(0) 编辑

摘要: 1. 添加Jenkins的源(repository):$ sudo wget -O /etc/yum.repos.d/jenkins.repo http://jenkins-ci.org/redhat/jenkins.repo$ sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key2. 安装/检查JDK:$ java --version$ sudo yum install java-1.6.0-openjdk3. 安装Jenkins:$ sudo yum install jenkins安装完成后,有如下相关目 阅读全文

posted @ 2013-03-19 13:11 Bruce Zhang 阅读(10133) 评论(0) 推荐(1) 编辑

2013年3月18日

摘要: 操作系统:CentOS平台:Jenkins1. 启动Jenkins时,会启动一个JVM:jenkins 12280117 16:29 ? 00:00:54 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war... 阅读全文

posted @ 2013-03-18 17:27 Bruce Zhang 阅读(1387) 评论(0) 推荐(0) 编辑

摘要: 1. Module的并行特性:待续。。。2. maven-surefire-plugin的并行特性:参考文档:http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html选择合适的fork策略和并行设置,可以极大的影响测试的内存消耗和运行时间。surefire为并行执行提供了多种配置项,你可以根据服务器的硬件参数任意配置。并且,特别需要提到的是,合适的fork配置可以减小内存消耗。基本上,surefire有两种方法可以实现并行测试。最明显的方法就是 阅读全文

posted @ 2013-03-18 10:40 Bruce Zhang 阅读(637) 评论(0) 推荐(0) 编辑

2013年3月15日

摘要: -c: 建立压缩档案-x:解压-t:查看内容-r:向压缩归档文件末尾追加文件-u:更新原压缩包中的文件这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个。下面的参数是根据需要在压缩或解压档案时可选的。-z:有gzip属性的-j:有bz2属性的-Z:有compress属性的-v:显示所有过程-O:将文件解开到标准输出下面的参数-f是必须的-f: 使用档案名字,切记,这个参数是最后一个参数,后面只能接档案名。# tar -cf all.tar *.jpg这条命令是将所有.jpg的文件打成一个名为all.tar的包。-c是表示产生新的包,-f指定包的文件名。# tar 阅读全文

posted @ 2013-03-15 23:33 Bruce Zhang 阅读(168) 评论(0) 推荐(0) 编辑

摘要: Nexus的LDAP配置可能会根据各自的LDAP 服务器不同而不同。贴上我的相关配置:1. LDAP Configuration配置:2. Server配置:3. 为LDAP中的Group配置Role:Step1: 创建“External Role Mapping”类型的RoleStep2: 选择 LDAP类型的Realm,并选择相应LDAP GroupStep3: 配置合适权限 阅读全文

posted @ 2013-03-15 10:24 Bruce Zhang 阅读(4886) 评论(1) 推荐(0) 编辑

2013年3月14日

摘要: 1. CentOS下安装SonaType Nexus:1.1 下载SonaTYpe Nexus:cd /usr/local/srcwget http://download.sonatype.com/nexus/oss/nexus-2.3.1-01-bundle.tar.gz1.2 安装:cd /usr/local/srcsudo cp nexus-2.3.1-01-bundle.tar.gz /usr/localcd /usr/localsudo tar xvzf nexus-2.3.1-01-bundle.tar.gzln -s nexus-2.3.1-01 nexuscpnexus/bin 阅读全文

posted @ 2013-03-14 14:23 Bruce Zhang 阅读(5869) 评论(1) 推荐(0) 编辑

摘要: 通常在Linux系统中,用户的关键信息被存放在系统的/etc/passwd文件中,系统的每一个合法用户账号对应于该文件中的一行记录。这行记录定义了每个用户账号的属性。/etc/passwd中格式如下:root:x:0:0:root:/root:/bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologin......desktop:x:80:80:desktop:/var/lib/menu/kde:/sbin/nologinmengqc:x:500:500:mengqc:/home/mengq.. 阅读全文

posted @ 2013-03-14 09:39 Bruce Zhang 阅读(1157) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 下一页