- 浏览: 861657 次
- 性别:
- 来自: 北京
-
文章分类
最新评论
-
zjhzwx1212:
为什么用threadLocal后,输出值是从20开始的,而定义 ...
j2ee的线程安全--threadlocal -
aeoluspu:
不错 mysql 测试部分感觉不详细
用sysbench(或者super-smack)测试mysql性能 -
nanPrivate:
有没有例子,只理论,实践起来还是不会啊
JMS可靠消息传送 -
lwclover:
一个网络工程师 装什么b
postfix 如何删除队列中的邮件 -
maimode:
我也欠缺不少啊
理想的计算机科学知识体系
http://yekmer.blogspot.com/2008/09/installing-buildix.html
Buildix is a nice solution, it contains
- Subversion for Source Control
- Mingle for Agile Project Management
- Cruise Control for Continuous Integration
- Trac as a wiki and bug-tracker
Mingle is not a free software, so you can uninstall it, like me ;)
I
couldn't see a full documentation for starting from scratch for
buildix, so I hope this post will be usefull people who haven't used
buildix before. And will save hours.
Let's start.
- I used vwmare image to install it, The steps will be similar if you want to install your machine too.
- Go to http://buildix.thoughtworks.com/index.php/download/ page and download vmware image(mine is buildix-2.1-vmware.tar.bz2 .)
- Go to http://www.vmware.com/ page and install vmware, if you have not installed it yet. (I won't tell how to install vmware here, you can find lots of document on web.)
- The first you should know is this image is an ubuntu os(for me it was 7.10 version,quite old. If you have newer ubuntu version, you can use apt to install your machine, it will be better for you I thing), which has pre-installed programs to install buildix.
- After opening the image in virtual machine, you should log in ubuntu, Go to virtual machine terminal and press enter to see login. For default login username : buildix , password : buildix
- Write ifconfig command to the terminal and see your ip.(mine is 192.168.0.130)
- If you don't want a non-free software, you can uninstall mingle by writing sudo apt-get remove mingle
. (like me ;))
- Then write the ip to your web browser. (like this https://192.168.0.130/)
- You should login to buildix using browser, click on login on the right upper part of site and login to site using username : buildix , password : buildix
- To add users you should click on user manager and add users, after adding you can assign admin roles to the users you add by checking the admin checkbox near that user.
- Then click on create project from the navigation menu.
- And create a project using the name you want, (for me I will use the name myproject )
- After creating a project go the main page. (for me it is https://192.168.0.130/) You should see the project you created there.
- You can go and use the cruisecontrol, subversion and trac for your project here, by clicking on the images.
- Using trac is simple, you can find documentation for it, So I won't tell it here. The main thing you should know for login is the same as other parts of buildix username : buildix , password : buildix
- Your default svn address for this project is https://your-ip/svn/your-project-name/trunk/, (for me it is https://192.168.0.130/svn/myproject/trunk/)
- I will tell here how to integrate with eclipse here, if you are using a different ide, the steps are similar.
- (For eclipse you should first install subclipse extension.)Go to navigator view, right click there , choose import > Check out projects from svn > create new repository location >
- write https://your-ip/svn/your-project-name/trunk/ there. (For me it is https://192.168.0.130/svn/myproject/trunk/)
- Then choose your project there, and click finish. It is over, if you want to commit something you can use username : buildix , password : buildix or the user you created from the main buildix page.
- It
will create a build.xml in the project to build. If you are using ant
it is not problem. But I am using ant, so I need some more
configuration. (the configurations below will tell how to integrate to
use maven.)
- First you should install maven to your virtual machine. Go to virtual machine terminal and
follow the steps written on http://maven.apache.org/download.html page. (sudo apt-get install maven2 doesn't works for me, because it is an old ubuntu release.) I will write the steps written there to install maven2 to your virtual machine. - Using the terminal on your virtual machine write wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.0.9-bin.tar.bz2
- tar -jxvf apache-maven-2.0.9-bin.tar.bz2
- Then add environmet variables that are required for maven, by writing sudo vim /etc/environment
- Then add the lines below. to the environment file. (Your paths can be different. so be carefull.)
- PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANG="en_GB.UTF-8"
M2_HOME=/home/buildix/apache-maven-2.0.9
M2=/home/buildix/apache-maven-2.0.9/bin
PATH=$PATH:$M2
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun - Then restart the virtual machine. or export the path variables using command line.
- After all that stuff, you are ready to add a pom.xml to your project file. Add your pom.xml file under your project, delete the build.xml and commit the changes.
- You should configure cruisecontrol to automatically build the maven project.
- You can use ssh, it is pre-installed in buildix. Default login is username : buildix
, password : buildix
for ssh. If you want root login you can write
sudo passwd root
and assign root password to open and change configuration files. - Open the file /etc/cruisecontrol/cruisecontrol.xml (you can use ssh.) And add the lines below
- < name="maven.home" value="/home/buildix/apache-maven-2.0.9">
< name="schedule.interval" value="1000">
< name="quiet.period" value="120">
- And change the project you created like below.
- < name="myproject" buildafterfailed="false">
< interval="${schedule.interval}">
< mvnhome="${maven.home}" pomfile="${cruise.working.dir}/projects/${project.name}/pom.xml" goal="clean install">
< /schedule>
< /basicproject> - If you are confused I will give a link of my config file http://creasus.eu/yekmer/cruisecontrol.xml you can download and look at it.
- After all you can go to the cruisecontrol page and https://your-ip/dashboard/tab/builds (for mine it is https://192.168.0.130/dashboard/tab/builds)
- And click force build to see if it is building or not. (You will find cruise control is such a nice programme.)
- And Voila that is all. Your builds are sheduled, you have a wiki, ticket control system, svn. That is all buildix is like magic, but it needs configurations ;)
发表评论
-
sysctl.conf
2011-07-06 14:54 1791fs.file-max=51200 net.core.net ... -
top的替代工具
2011-06-28 15:06 1522dstat -cgilpymn collectl and ... -
有用的小工具
2010-12-23 11:51 1385pv stream nessus Nikto ski ... -
调优linux i/o 行为
2010-11-25 11:27 2949http://www.westnet.com/~gsmith/ ... -
服务器部署工具
2010-11-12 16:32 2098http://www.linuxlinks.com/artic ... -
开源的配置管理工具
2010-11-12 16:24 1522最佳开源配置管理工具: Puppet / 提名:OpenQ ... -
优化ext3的mount选项
2010-11-12 10:24 1397defaults,commit=600,noatime,nod ... -
恢复r710biso 出厂设置
2010-11-10 10:30 1259ALT+E/F/B -
每进程io监控工具
2010-11-02 14:14 1691iodump iotop iopp pidstat b ... -
Intel Xeon 5500/5600系列 CPU服务器内存设置
2010-11-01 21:29 4913http://www.xasun.com/article/2a ... -
zabbix短信报警脚本文件
2010-10-21 14:28 2824附件 -
天外飞仙级别的Linux Shell命令
2010-10-16 09:59 1496本文编译自commandlinefu.com ( 应该是 Ca ... -
lenny+r710+lvm 重启问题解决方案
2010-10-15 14:22 1154ro rootdelay=10 quiet -
fai,debian 自动安装工具
2010-10-15 13:36 1139http://sys.firnow.com/linux/x80 ... -
十个服务器监控工具
2010-09-26 11:44 1871一位国外的技术博主在 ... -
restrict authorized_keys
2010-09-06 09:45 1295command="/home/someuser/rs ... -
sysctl优化设置
2010-09-05 11:25 1208sysctl 是一个用来在系统运作中查看及调整系统参数的工 ... -
proc文件系统
2010-09-05 11:22 1311什么是proc文件系统? proc文件系统是一个伪 ... -
nfs使用
2010-09-02 17:01 1179http://www.linuxhomenetworking. ... -
lsof example
2010-08-23 12:40 13011、查看文件系统阻塞 ...
相关推荐
安装 Mumax 3.9.1 和 Gnuplot 5.2 在 Windows 10 中的步骤指南 在这篇文章中,我们将一步步指导用户安装 Mumax 3.9.1 和 Gnuplot 5.2 在 Windows 10 操作系统中。这篇文章将为用户提供详细的安装步骤和相关知识点,...
Installing and configuring servers Chapter 2. Configuring server roles and features Chapter 3. Configuring Hyper-V Chapter 4. Deploying and configuring core network services Chapter 5. Installing and...
AfterLogic WebMail Lite ... ... Installation instructions are available at: ... If you'd like to upgrade existing product installation rather than installing it from scratch, check the instructions at: ...
Installing and Configuring Openfiler with DRBD and Heartbeat
Part I Installing and Deploying BIRT Chapter 1 Prerequisites for BIRT Chapter 2 Installing a BIRT Report Designer Chapter 3 Installing Other BIRT Packages Chapter 4 Deploying a BIRT Report to an ...
根据提供的文件信息,本书《Installing and Configuring Windows Server 2012 Exam Ref 70-410》是一本针对Microsoft认证考试70-410的专业辅导教材。本书由Craig Zacker编写,并由Microsoft Press出版。以下是本书中...
This book will explore several modules that will allow you to do everything from adding calendars and events to integrating content from Flickr and YouTube. Each chapter adds some features to your ...
1. Open edX平台简介:文档中提到的“Installing, Configuring, and Running the Open edX Platform”是一个运行手册,该手册对如何安装、配置和运行Open edX平台提供了详尽的指导。Open edX平台支持各种在线教育...
eCos RedBoot guide-A guide for installing and using RedBootdebug and bootstrap firmware.eCos操作系统redboot源码详细说明及使用移植说明
根据给定的文件信息,我们将详细讨论关于Syngress出版的电子书《How to Cheat at Installing, Configuring and Troubleshooting Active Directory and DNS》中所涉及的核心知识点。该书的重点在于为读者提供快速的、...
在多计算机环境中安装BizTalk Server 2010和BAM(业务活动监控)是一项复杂但至关重要的任务,尤其对于寻求高可用性和分离运行时与管理功能的企业来说。以下是对这个过程的详细说明。 **安装高可用性环境** ...
根据给定的文件信息,我们可以提炼以下知识点: 1. **Windows Server 2012 R2安装与配置**: - MCSA(Microsoft Certified Solutions Associate)认证考试涉及到Windows Server 2012 R2的安装与配置,其中考试编号...
《Windows Me DDK安装Windows Me驱动程序与USB设备详解》 Windows Me(Millennium Edition)是微软在2000年推出的一款个人操作系统,它继承了Windows 98的一些特性,同时也对驱动程序支持进行了优化。...
根据提供的文件信息,我们可以得出《Exam 70-410 Installing and Configuring Windows Server 2012 Lab Manual》是一本针对微软认证考试70-410的专业实验手册,该手册主要围绕Windows Server 2012的安装与配置进行...
2.2. Installing MySQL from Generic Binaries on Unix/Linux 2.3. Installing MySQL on Microsoft Windows 2.3.1. MySQL Installation Layout on Microsoft Windows 2.3.2. Choosing An Installation Package 2.3.3...
Teaching everything from installing Emscripten on either Mac, Windows or Linux, compiling C code from scratch and the general Module runtime cycle. This Emscripten section also teaches some more ...
Teaching everything from installing Emscripten on either Mac, Windows or Linux, compiling C code from scratch and the general Module runtime cycle. This Emscripten section also teaches some more ...
Teaching everything from installing Emscripten on either Mac, Windows or Linux, compiling C code from scratch and the general Module runtime cycle. This Emscripten section also teaches some more ...