公司用這個很方便,網上研究了下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然后重啟。