centos7搭建conference

安装前:关闭firewalld、selinux1
需要准备:
Confluence6.7.1安装包2
Confluence破解器3
(破解器需要电脑配置Java打开)
mysql-connector-java-5.0.8-bin.jar
jdk-8u181-linux-x64.rpm5
可以去我的文档:centos7搭建conference.note下载保存
链接:http://note.youdao.com/noteshare?id=f8a013e578843f95bbaa44d900469d60&sub=CEC88529543D451A89FEFDEDB745482D
1、安装数据库Mariadb
yum -y install mariadb mariadb-server1
systemctl start mariadb1 #启动
systemctl enable mariad #开机启动
mysql_secure_installation 开启配置

在这里插入图片描述

2、配置mariadb
vim /etc/my.cnf
init_connect=‘SET collation_connection = utf8_unicode_ci’
init_connect=‘SET NAMES utf8’
character-set-server=utf8
collation-server=utf8_unicode_ci
skip-character-set-client-handshake9
vim /etc/my.cnf.d/client.cnf,
在【client】中添加default-character-set=utf81
vim /etc/my.cnf.d/mysql-clients.cnf
在【MySQL】中添加default-character-set=utf81

3、添加数据库,用户,密码
MariaDB [(none)]> create database confluence default character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.01 sec)
MariaDB [(none)]> grant all on confluence.* to ‘confluence’@’%’ identified by ‘confluencepasswd’;

Query OK, 0 rows affected (0.00 sec)MariaDB [(none)]> flush privileges; Query OK, 0 rows affected (0.00 sec)
4、安装confluence
chmod +x atlassian-confluence-6.7.1-x64.bin
./atlassian-confluence-6.7.1-x64.bin
Unpacking JRE …
Starting Installer …

o确定安装,c取

This will install Confluence 6.8.5 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.1 1

选择1是使用默认安装路径,2为自定义安装

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
 Configure which ports Confluence will use.2 
Confluence requires two TCP ports that are not being used by any other2
 applications on this machine. The HTTP port is where you will access2 
  Confluence through your browser. The Control port is used to Startup and2 
  Shutdown Confluence.2
   Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], 
   Set custom value for HTTP and Control ports [2] 
    1

Confluence can be run in the background.3
You may choose to run Confluence as a service, which means it will start3
automatically whenever the computer restarts.3
Install Confluence as Service?3
Yes [y, Enter], No [n]
y
Extracting files……
Please wait a few moments while we configure Confluence.

是否启动Confluence

Installation of Confluence 6.8.5 is complete
Start Confluence now? Yes [y, Enter], No [n]
y
Please wait a few moments while Confluence starts up.
Launching Confluence …

安装完成,访问本机的8090端口进行web端安装

Installation of Confluence 6.8.5 is complete
Your installation of Confluence 6.8.5 is now ready and can be accessed via5 3 your browser. Confluence 6.8.5 can be accessed at http://localhost:80905
Finishing installation …
默认安装目录:/opt/atlassian/confluence
默认数据存放目录:/var/atlassian/application-data/confluence
日志:/opt/atlassian/confluence/logs/catalina.out

5、浏览器测试
http://ip:8090
进入以后选择中文下一步,
记住server id

service confluence stop
cp /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extrasdecoder-v2-3.3.0.jar /opt/atlassian-extras-decoder-v2-3.3.0.jar.bak #备份
mv /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extrasdecoder-v2-3.3.0.jar /opt/atlassian-extras-2.4.jar
将atlassian-extras-2.4.jar,下载到window
6、破解confluence
运行破解器confluence_keygen.jar
① 打开下载的破解工具,运行confluence_keygen.jar
②将记录的server ID填入,Name随便填。
③点击gen, 生成key并记录。
④点击patch,选择刚下传到本地的atlassian-extras-2.4.jar文件进行破解

在这里插入图片描述
点击gen 运行patch
在这里插入图片描述
7、将破解后的文件传到服务器
mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.3.0.jar mv atlassian-extras-decoder-v2-3.3.0.jar
/opt/atlassian/confluence/confluence/WEB-INF/lib/
8、上传mysql驱动
cp mysql-connector-java-5.1.46-bin.jar /opt/atlassian/confluence/lib/
service confluence start
9、配置confluence
9.1 输入key进行授权
在这里插入图片描述
下一步

9.2、配置数据库
在这里插入图片描述
设置管理员后进入以下页面
在这里插入图片描述
安装插件
yum install texmaker texlive-latex latexmk
yum install dvipng

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

水到渠成~

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值