赞
踩
wget https://download.java.net/openjdk/jdk8u40/ri/openjdk-8u40-b25-linux-x64-10_feb_2015.tar.gz
tar -zxvf openjdk-8u40-b25-linux-x64-10_feb_2015.tar.gz
sudo mkdir /usr/lib/jvm
sudo mv java-se-8u40-ri /usr/lib/jvm/java-8-oracle
sudo ln -sv /usr/lib/jvm/java-8-oracle/jre/bin/java /usr/bin/
java -version
wget https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.15.2-x64.bin
chmod +x atlassian-confluence-6.15.4-x64.bin
sudo ./atlassian-confluence-6.15.4-x64.bin
下载注册机
链接:https://pan.baidu.com/s/1UAFATl3mEjyuceFOaj5cmQ 密码:fnsv
从服务器获取atlassian-extras-decoder-v2-3.4.1.jar,命令为atlassian-extras-2.4.jar
cd /opt/atlassian/confluence/confluence/WEB-INF/lib/
cp atlassian-extras-decoder-v2-3.4.1.jar /home/jtserver/atlassian-extras-2.4.jar
scp jtserver@192.168.0.1:/home/jtserver/atlassian-extras-2.4.jar .
运行confluence_keygen.jar注册机破解atlassian-extras-2.4.jar文件
上传文件到服务器
scp atlassian-extras-2.4.jar jtserver@192.168.0.1:/home/jtserver/confluence
# 暂停confluence服务
sudo service confluence stop
cd /opt/atlassian/confluence/confluence/WEB-INF/lib
sudo cp /home/jtserver/confluence/atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.4.1.jar
# 数据库使用mysql
sudo cp /home/jtserver/confluence/mysql-connector-java-5.1.25-bin.jar .
# 启动confluence服务
sudo service confluence start
http://192.168.0.1:8090/
2、选择安装
选择Empty Site
3、填写授权码
运行confluence_keygen.jar注册机,粘贴Server ID,点击.gen,复制key到文本框中
注意:mac下系统,注册机使用control + c复制、control + v粘贴
4、配置数据库
监控目录/var/atlassian/application-data/confluence/文件变化,如已完成目录文件大小不变
5、配置admin账号
6、从备份恢复数据
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。