source: http://yekmer.blogspot.com/2008/09/installing-buildix.html
Buildix is a nice solution, it contains
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<property value="/home/buildix/apache-maven-2.0.9" name="maven.home"><property value="1000" name="schedule.interval"></property></property>
- < 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 ;)
分享到:
相关推荐
### 在Oracle Enterprise Linux 5上从头安装Oracle数据库11g的知识点 #### 概述 在本指南中,我们探讨了如何在Oracle Enterprise Linux 5 (OEL5) 上安装Oracle数据库11g,这一过程对于初次接触Linux或Oracle的新手...
教程名称:Photoshop从头学起课程目录:【】Photoshop从头学起第(1-10)【】Photoshop从头学起第(11-20)【】Photoshop从头学起第(21-30)【】Photoshop从头学起第(31-40)【】Photoshop从头学起第(41-50)【】Photoshop...
linux下Rosetta从头预测软件的安装使用.pdf
4. **环境配置**:安装并配置开发环境,如Android Studio或Xcode,设置模拟器或连接真机设备进行调试。 5. **编码**:基于选定的语言和框架开始编写代码。对于FSKDemo1,我们可能先实现主界面、数据加载和基本交互...
在深入分析给定文件内容之前,我们首先明确,本文件旨在提供一整套指导教程,即《从头开始搭建集群》。这是一份针对Pacemaker 1.1版本的详细安装指南,其中内容包括如何创建和转换一个高可用性(High-Availability)...
从头开始学习MySQL and PHP
Vue项目从头搭建 ...本篇文章介绍了如何从头开始搭建一个 Vue 项目,包括安装 Node.js、淘宝镜像、Webpack、Vue-cli 等步骤。同时,也介绍了如何安装 Vue 路由模块和网络请求模块,以及如何启动和打包发布项目。
本教程旨在指导用户从头开始安装 Linux 操作系统,包括虚拟机的安装、Ubuntu 的安装、软件包源的修改、阿里云源的使用、主机与虚拟机之间的文件传输和复制粘贴、OpenCV 的安装等。 虚拟机安装 本教程使用 VMware ...
教程名称:从头开始学Oracle 11g Release 2 视频教程(15集)课程目录:【】Oracle11gRelease2视频教程_1【】Oracle11gRelease2视频教程_2【】Oracle11gRelease2视频教程_3【】Oracle11gRelease2视频教程_4【】...
跟我从头学WSh跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar跟我从头学WSH.rar
云计算-从头计算价键理论中的轨道优化——方法与程序 云计算-从头计算价键理论中的轨道优化是云计算领域中的一种关键技术。该技术通过将云计算和从头计算价键理论相结合,实现了轨道优化的自动实现。此技术可以大大...
【《从头开始数据科学》随书代码】’code for Data Science From Scratch book' by Joel Grus
3D游戏从头编-网上收集,很基础. 第一回:开发环境 第二回:3D基本概念 第三回:第一个D3D程序 第四回:渲染顶点 第五回:渲染索引顶点 第六回:摄象机 第七回:灯光 第八回:纹理 第九回:3D模型(.x)
仅使用Python基础从头开始构建大型语言模型;从零开始逐步构建GLM4-Lama3-RWKV6,深入了解大型模型的原理.zip仅使用Python基础从头开始构建大型语言模型;从零开始逐步构建GLM4-Lama3-RWKV6,深入了解大型模型的原理...
3D游戏从头编3D游戏从头编3D游戏从头编
本教程将指导您如何从头开始安装 Sql Server 2008 企业版。 注册表管理 在安装 Sql Server 2008 之前,需要清理注册表中的某些项目,以避免安装过程中的错误。在注册表管理界面中,找到“HKEY_LOCAL_MACHINE\...
学习在 RHEL 2.1、RHEL 3 或 SLES 8 上从头安装 Oracle 数据库 10g 的基础知识(仅用于评估) 目录 概述 第 1 部分:安装 Linux RHEL 2.1 RHEL 3 SLES 8 第 2 部分:针对 Oracle 配置 Linux 验证系统要求 创建...
整个《从头开始搭建 Linux 7.0》书籍是一套完整的指南,涵盖了从准备分区、获取软件包、构建临时系统到安装和配置基本系统软件的整个过程。每一个步骤都有详细的解释和操作指南,确保读者能够一步一步建立起自己的...
2021百年从头越,奋斗新征程演讲稿(精选5篇)