安装JAVA
Java Jdk下载:服务器安装JAVA,电脑也需安装
[root@master ~]# rpm -ivh jdk-8u181-linux-x64.rpm
安装Confluence
官方下载页面:https://www.atlassian.com/software/confluence/download-archives
下载bin运行文件并加执行权限
[root@master ~]# wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-7.3.4-x64.bin
[root@master ~]# chmod x atlassian-confluence-7.3.4-x64.bin
开始安装
[root@master ~]# ./atlassian-confluence-7.3.4-x64.bin
This will install Confluence 7.3.4 onyour computer.
OK [o, Enter], Cancel [c]
o
Click Next tocontinue, orCancel to exit Setup.
Choose the appropriate installationor upgrade option.
Please choose one of the following:
Express Install (uses defaultsettings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
1
See where Confluence will be installed andthe settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port:8090
RMI Port: 8000
Install asservice: Yes
Install [i, Enter], Exit [e]
i
Extracting files …
Please wAIt a few momentswhile we configure Confluence.
Installation of Confluence 7.3.4 iscomplete
Start Confluence now?
Yes [y, Enter], No [n]
y
Please wait a few momentswhileConfluence starts up.
Launching Confluence …
Installationof Confluence 7.3.4 iscomplete
Your installationof Confluence 7.3.4 is now ready andcan be accessed via
your browser.
Confluence7.3.4 can be accessed at http://localhost:8090
Finishing installation …
放行防火墙,默认端口为8090
[root@master ~]# firewall-cmd –zone=public –add-port=8090/tcp –permanentsuccess
[root@master ~]# firewall-cmd –reload
success
访问服务器的IP:8090
confluence激活
激活工具:http://down.whsir.com/downloads/confluence_crack.zip
将jar包下载后更改名称为:atlassian-extras-2.4.jar
[root@master ~]# sz /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar
将页面获取的服务器ID填入Server ID中,其他根据实际情况填写,并点击.patch!选择下载的文件后.gen!计算key
将修改的包进行替换
[root@master ~]# cd /opt/atlassian/confluence/confluence/WEB-INF/lib/
[root@master lib]# mv atlassian-extras-decoder-v2-3.4.1.jar{,.bak}
[root@master lib]# mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.4.1.jar
[root@master lib]# service confluence restart
输入key密钥并下一步
选择数据库安装
使用MySQL安装时需要安装驱动:https://confluence.atlassian.com/x/3p4C
[root@master ~]# wget -P /opt/atlassian/confluence/confluence/WEB-INF/lib https://cdn.mysql.com//Downloads/Connector-J/mysql-connector-java-5.1.48.tar.gz
[root@master ~]# cd /opt/atlassian/confluence/confluence/WEB-INF/lib
[root@master lib]# tar zxvf mysql-connector-java-5.1.48.tar.gz
[root@master lib]# cd mysql-connector-java-5.1.48/
[root@master mysql-connector-java-5.1.48]# mv *.jar ../
[root@master mysql-connector-java-5.1.48]# service confluence restart
配置MySQL
[root@mysql-master ~]# mysql -uroot -pJxs@2a5@34
暂无评论内容