办公室的wiki平台
CentOS-7.5,MySQL5.6,图形化界面(破解的时候需要用.我也是给办公室的服务器做的,如果无法满足图形化界面则无法破解)
#环境准备
yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
yum -y remove mysql-libs.x86_64
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh mysql-community-release-el6-5.noarch.rpm
yum -y install mysql-community-server
service mysqld start
mysql -uroot
use mysql;
update user set password=PASSWORD(“123456”) where User='root';
flush privileges;
create database confluence character set UTF8;
grant all on confluence.* to confluence@"%" identified by "confluence";
grant all on confluence.* to confluence@"localhost" identified by "confluence";
FLUSH PRIVILEGES;
exit
service mysqld stop
vim /etc/my.cnf
character-set-server =utf8
service mysql start
service iptables stop
setenforce 0
#下载地址:http://pan.baidu.com/s/1i3D5rU1
#下载解压后是如下五个包:
#jre-7u67-linux-x64.rpm
#atlassian-confluence-5.4.4-x64.bin
#mysql-connector-java-5.1.32-bin.jar
#confluence5.1-crack.zip
#Confluence-5.4.4-language-pack-zh_CN.jar
unzip wsprpm.zip
cd wsprpm
chmod +x atlassian-confluence-5.4.4-x64.bin
./atlassian-confluence-5.4.4-x64.bin
o
1
i
打开浏览器 输入 http://服务器ip:8090,记下Server ID
service confluence stop
#将confluence5.1-crack.zip 解压
#将/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-2.4.jar 复制出来。替换confluence5.1-crack 中的atlassian-extras-2.4.jarchmod +x keygen.sh
./keygen.sh #执行破解文件,这个需要在图形化界面执行
#前三项随意填写,最后一个Server ID填写刚刚记下的
#点击“.patch! ”选择需要破解的文件路径
#点击“.gen!”得到KEY
#把破解好的包复制回去
#复制破解后的atlassian-extras-2.4.jar 到 “/opt/atlassian/confluence/confluence/WEB-INF/lib/”覆盖原文件
#复制mysql-connector-java-5.1.32-bin.jar 到“/opt/atlassian/confluence/confluence/WEB-INF/lib/”.mysql驱动
service confluence start
#输入 http://服务器ip:8090 ,输入刚刚得到的key,开始web部署,按着填就行
cp Confluence-5.4.4-language-pack-zh_CN.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/
#部署完成后把汉化包放上去
service confluence restart
#Ok