Confluence4.2.1@debian 安装中文包再破解之
公司用这个很方便,网上研究了下Confluence的破解 - -# 其实我也不想这样。。。
我先
apt-get install mysql-server-5.1 mysql-client-5.1 tomcat6 sun-java6-jdk
$mysql -uroot -p
...
mysql> create database jiradb character set utf8;
mysql> grant all on jiradb.* to 'jira'@'localhost' identified by 'jira';
mysql> flush privileges;
确保你的 /etc/apt/sources.list 文件里包含:
deb http://debian.cn99.com/debian/ testing main contrib non-free deb-src http://debian.cn99.com/debian/ testing main contrib non-free
别忘了检查你的jdk是否安装成功了:
$java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
$chmod a+x atlassian-confluence-4.2.1-x32.bin $./atlassian-confluence-4.2.1-x32.bin
我的过程素这样滴(总之是顺利安装无关紧要不用非要看):
Unpacking JRE ... Starting Installer ... This will install Confluence 4.2.1 on your computer. OK [o, Enter], Cancel [c] o Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing Confluence installation [3] 1 See where Confluence will be installed and the settings that will be used. Installation Directory: /opt/atlassian/confluence Home Directory: /var/atlassian/application-data/confluence HTTP Port: 8090 RMI Port: 8000 Install as service: Yes Install [i, Enter], Exit [e] i Extracting files ... Please wait a few moments while Confluence starts up. Launching Confluence ... Installation of Confluence 4.2.1 is complete Your installation of Confluence 4.2.1 is now ready and can be accessed via your browser. Confluence 4.2.1 can be accessed at http://localhost:8090 Finishing installation ...
安装完成之后直接 http://localhost:8090
然后它会跳转到http://localhost:8090/setup/setuplicense.action
需要整一个key,点击页面上的 generate an evaluation license online 就ok
蓝后按着指示一步步来就完成了~
然后下载中文包:
https://translations.atlassian.com/dashboard/download?lang=zh_CN#/Confluence/4.2.1
然后右上角 admin -> settings -> profile -> Administration 下的Administer User -> Plugins -> Install Plugins -> Upload Plugin 选择你刚刚下载的语言包成功导入后点左边菜单栏中的Language选择中文。
破解:
下载http://vdisk.weibo.com/s/3HRJQ/1335936594
atlassian-extras-2.4.jar,关于权限管理的东西全在这个jar包里,懒得自己反编译编译的就直接下一个,覆盖掉/opt/atlassian/confluence/confluence/WEB-INF/lib下的atlassian-extras-2.4.jar然后重启。