Atlassian系列之crowd3.34安装

系统:Centos7.2

crowd版本:3.34

数据库版本:postgresql9.5

用途:在安装了confluence,jira,fisheye后发现每次登录它们就得重新输入用户名密码,所以安装crowd, Atlassian单点登录的产品,可以用于集中用户、用户组管理,方便权限控制。

1.下载

破解包只适用于个人使用

51安装包破解包汉化包下载

2.安装&破解&汉化

[crowd@zabbix ~]$ unzip atlassian-crowd-3.3.4.zip 
[crowd@zabbix ~]$ vim /crowd/atlassian-crowd-3.3.4/crowd-webapp/WEB-INF/classes/crowd-init.properties
.......
crowd.home=/crowd/crowd-home   #秀噶最后一行crowd安装路径
[crowd@zabbix ~]$ /crowd/atlassian-crowd-3.3.4/start_crowd.sh  ##启动

登陆8095端口查看,出现界面表示没有问题,点击set upcrowd


image.png
#破解
[crowd@zabbix ~]$ cp /crowd/atlassian-crowd-3.3.4/crowd-webapp/WEB-INF/lib/atlassian-extras-3.2.jar /crowd/atlassian-extras-2.6.jar
[crowd@zabbix ~]$ java -jar crowd_keygen.jar(如果本地电脑没有安装图形桌面,可以将包放到安装java的windows电脑上进行破解)

image.png

image.png

image.png

注意:
安装的时候在破解这一步花费的时间很长,这一步一直过不去,后来发现是破解机上server ID写的不对,最好直接粘上去,成功率会更高
image.png

image.png

数据库连接pg忘了截图了,从网上找了一张图,如果是pg记得修改相关参数。
驱动类名称:org.postgresql.Driver
JDBC url:jdbc:postgresql://localhost:5432/fisheye

3.启动

启动:
/crowd/atlassian-crowd-3.3.4/start_crowd.sh
停止:
/crowd/atlassian-crowd-3.3.4/stop_crowd.sh

4.备份

xml文件备份+数据库备份,脚本参考如下:

#!/usr/bin/env bash
#crowd备份脚本
#20190306 by chy
remote_IP=192.168.1.203
LogFile=/root/scripts/logs/crowd-backup.log
##将crowd xml备份到203远程机器上,并将log输出到/root/scripts/logs/crowd-backup.log中
crowd_dir=/crowd/crowd-home/shared/backups/
crowd_remote=/backup/atlassian/crowd/
crowdBegin=`date +"%Y-%m-%d %H:%M:%S"`
/usr/bin/rsync -avz --progress $crowd_dir root@$remote_IP:$crowd_remote
crowdEnd=`date +"$%Y-%m-%d %H:%M:%S"`
echo crowd_backup_start:$crowdBegin end:$crowdEnd  >> $LogFile
##将crowd数据库备份到203远程机器上,并将log输出到crowd-backup.log中
crowd_dir_pg=/backup/pgBackup/crowd/
crowd_remote_pg=/backup/database/crowd/
crowd_pg_Begin=`date +"%Y-%m-%d %H:%M:%S"`
/usr/bin/rsync -avz --progress $crowd_dir_pg root@$remote_IP:$crowd_remote_pg
crowd_pg_End=`date +"$%Y-%m-%d %H:%M:%S"`
echo fish_backup_start:$crowd_pg_Begin end:$crowd_pg_End  >> $LogFile

5.汉化

将汉化包crowd-language_zh_CN-2.7.0.jar放入/crowd/atlassian-crowd-3.3.4/crowd-webapp/WEB-INF/lib/文件中即可

参考:
https://wiki.shileizcc.com/confluence/display/atlassian/Crowd
https://confluence.atlassian.com/crowd/running-the-setup-wizard-192479.html
https://blog.51cto.com/remover/1894008

你可能感兴趣的:(Atlassian系列之crowd3.34安装)