1. 替换Ubuntu源
编辑/etc/apt/source.list
deb http://mirrors.163.com/ubuntu/ oneiric main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric-backports main restricted universe multiverse
2. 安装Java
sudo apt-get install openjdk-7-jdk
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
export PAHT=$JAVA_HOME:$PATH
3. 下载、安装、启动JIRA/Confluence/FishEye
http://confluence.atlassian.com/display/JIRA/Installing+JIRA+on+Linux
http://confluence.atlassian.com/display/DOC/Installing+Confluence+on+Linux
http://confluence.atlassian.com/display/FISHEYE/Installing+FishEye
默认JIRA为8080端口,Confluence为8090端口,FishEye为8060端口
启动
/opt/atlassian/jira/bin/start-jira.sh
/opt/atlassian/confluence/bin/start-confluence.sh
/opt/atlassian/fecru/bin/start.sh
4. 安装Nginx并配置JIRA/Confluence/FishEye端口转发
安装Nginx
sudo apt-get install nginx
按子域名配置proxy
# sudo vi /etc/nginx/nginx.conf
# add lines below to http {}
server {
listen 80;
server_name *.dev.xxx.com;
location / {
if ( $host ~ "jira.dev.xxx.com" ) {
proxy_pass http://localhost:8080;
}
if ( $host ~ "wiki.dev.xxx.com" ) {
proxy_pass http://localhost:8090;
}
if ( $host ~ "code.dev.xxx.com" ) {
proxy_pass http://localhost:8060;
}
proxy_connect_timeout 30s;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 32k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_redirect off;
proxy_hide_header Vary;
proxy_set_header Accept-Encoding '';
proxy_set_header Host $host;
proxy_set_header Referer $http_referer;
proxy_set_header Cookie $http_cookie;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
启动
sudo /etc/init.d/nginx start
5. 配置JIRA/Confluence/FishEye
访问
http://jira.dev.xxx.com配置JIRA
访问
http://wiki.dev.xxx.com配置Confluence
访问
http://code.dev.xxx.com配置FishEye
6. 集成JIRA/Confluence/FishEye[b]
http://confluence.atlassian.com/display/DOC/Integrating+JIRA+and+Confluence
http://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+FishEye
http://confluence.atlassian.com/display/DOC/Enabling+the+Remote+API
[b]7. Git hook
.git/hooks/commit-msg
#!/bin/sh
test "" != "$(egrep '[A-Z]+-[0-9]+,' "$1")" || {
echo >&2 "ERROR: Commit message is missing JIRA issue number."
exit 1
}
分享到:
相关推荐
ubuntu+11.10+安装过程详解 能快捷安装
完全原创,Ubuntu 11.10系统安装,手把手带你安装每一步
Ubuntu 11.10 安装方法全程记录
ubuntu11.10安装及网络配置,其中包括安装说明和网络配置两份文件
ubuntu11.10安装教程及设置,本人自己照此安装,非常详细!
ubuntu11.10 安装gnome3 和美化
详细介绍了ubuntu的安装过程,并且附有安装过程的照片
除去《Ubuntu 11.10 专题总结》外,本文又总结了《Ubuntu 11.10 安装后要做的12件事情》。希望对各位有所指导帮助。 (“Ubuntu **安装后要做的**件事情”几乎成了Ubuntu每次发布的惯例。原因在Ubuntu的流行,...
提供在ubuntu11.10下完全安装opencv2.4.1的详细步骤,供大家学习
ubuntu11.10环境搭建,tftp,nfs,samba,vmtool等的配置;
成功实现Ubuntu11.10下安装Hadoop0.20.2(单机伪分布式)。涉及内容:1. 安装虚拟机VMware Workstation v7.1.4 2. 在虚拟机上安装ubuntu11.10 3. 为ubuntu11.10安装vmware tool 4. 安装JAVA6 5. 在ubuntu中安装ssh 6...
ubuntu 11.10 设置固定ip,需要vi /etc/network/interfaces。
如何在Ubuntu11.10版本配置JDK Tomcat Maven jenkins
本文档介绍在windows7上使用Win7+Ubuntu11.10(EasyBCD硬盘安装)来安装双系统,需要的朋友可以下载看看
这个对初学者不知道怎么安装Ubuntu系统的人非常有用,有界面截图,有图有真相,按照这个教程一步一步来,很有用。
比较详细,可以学习,安装的时候的硬盘分区和在window下的安装
ubuntu11.10下安装VMwareTools图解,详细匹配,更容易理解。
Ubuntu 目前是最流行的Linux桌面发行版本。据Distrowatch统计,过去的6个月来一直占据榜首。 Ubuntu 11.10 发布在即,笨兔给各位总结一些常用操作,希望对新手和老鸟有所帮助。
ubuntu的安装方法,非常详细的安装方法,并且附带截图的描述,有了这个文档,能帮你快速正确的安装上ubuntu11.10系统,而其他版本的ubuntu系统也完全可以类似的来安装!
Ubuntu11.10_12.04安装深度软件中心的方法.pdf