Crowd安装包:atlassian-crowd-2.0.7.tar.gz
[root@localhost Guanli]# tar -zxvf atlassian-crowd-2.0.7.tar.gz |
创建家目录
[root@localhost Guanli]# mkdir -p Data_Home/crowd_home
最好做个软连接ln -s atlassian-crowd-2.0.7 crowd
[root@localhost Guanli]# cd atlassian-crowd-2.0.7/crowd-webapp/WEB-INF/classes
[root@localhost classes]# vim crowd-init.properties
将下面的“#crowd.home”的“#”去掉,并在后面追加crowd家目录路径
## On Unix-based operating systems, uncomment the following
## line and set crowd.home to a directory Crowd should use to
## store its configuration.
crowd.home=/root/Guanli/Data_Home/crowd_home
创建Crowd的数据库,我使用的是mysql
[root@localhost classes]# mysql -u root –p
Enter password:输入你的密码
创建crowddb库使用UTF8字符集
mysql> create database crowddb character set utf8;
mysql> grant all on crowddb.* to ‘username’@’%’ identified by ‘password’;
刷下
mysql> flush privileges;
查看数据库版本
[root@localhost classes]# mysql –V
mysql Ver 14.12 Distrib 5.0.41, for pc-linux-gnu (i686) using EditLine wrapper
下载接近这个版本的驱动(mysql-connector-java-5.0.8.tar.gz.gz)
地址:http://dev.mysql.com/downloads/connector/j/5.0.html#downloads
解压这个驱动下载包
[root@localhost pack]# tar -zxvf mysql-connector-java-5.0.8.tar.gz.gz
拷贝驱动到$Crowd/apache-tomcat/lib/
[root@localhost pack]# cp mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar $Crowd/apache-tomcat/lib/
此时你可以访问《Crowd破解页面》
[root@localhost Guanli]# cd $Crowd/apache-tomcat/bin/
[root@localhost bin]# ./startup.sh
查看日志看有无报错
[root@localhost bin]# tail -f ../logs/catalina.out
启动后,访问http://localhost:8095如果需要破解请不要执行输入30天免费试用License Key。访问这里破解Crowd
我的:http://192.168.71.130:8095/点击Setup Crowd,输入License Key(可以到这里申请30天试用http://my.atlassian.com/)
经过算号后,输入得来的License Key,点击continue怎么样成功了吧
下面过程可以参考官方文档:http://confluence.atlassian.com/display/CROWD/Running+the+Setup+Wizard
将破解的后的Key拷贝过来,然后Continue >>
下一个页面选择“New Installation ” 点击Continue
Database Configuration页面选择“JDBC Connection”
Database:选择MYSQL
Driver Class Name: “com.mysql.jdbc.Driver”
JDBC URL处改为:“jdbc:mysql://localhost/crowddb?autoReconnect=true&characterEncoding=utf8&useUnicode=true”(双引号内数据)
然后Continue >> (看着填写)
Mail Configuration页面配置好对应信息即可
然后一路下一步就行了!反正以后也要重新建的!
0 条评论。