MySQL
- 安装 MySQL:(需要使用默认的 utf8 字符集)
- mysql安装参考
Confluence
- 下载 bin 包
[root@iZ2ze2jlupmjlwwfuyg30jZ ~]# wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-7.0.1-x64.bin
- 执行安装
[root@gitlab ~]# chmod +x atlassian-confluence-7.0.1-x64.bin This will install Confluence 7.0.1 on your computer. OK [o, Enter], Cancel [c] o Click Next to continue, or Cancel to exit Setup. 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] Select the folder where you would like Confluence 7.0.1 to be installed, then click Next. Where should Confluence 7.0.1 be installed? [/opt/atlassian/confluence] Default location for Confluence data [/var/atlassian/application-data/confluence] Configure which ports Confluence will use. Confluence requires two TCP ports that are not being used by any other applications on this machine. The HTTP port is where you will access Confluence through your browser. The Control port is used to Startup and Shutdown Confluence. Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2] Confluence can be run in the background. You may choose to run Confluence as a service, which means it will start automatically whenever the computer restarts. Install Confluence as Service? Yes [y, Enter], No [n] y Extracting files ... Please wait a few moments while we configure Confluence. Installation of Confluence 7.0.1 is complete Start Confluence now? Yes [y, Enter], No [n] y Installation of Confluence 7.0.1 is complete Your installation of Confluence 7.0.1 is now ready and can be accessed via your browser. Confluence 7.0.1 can be accessed at http://localhost:8090 Finishing installation ...
访问页面 localhost:8090
- http://192.168.31.36:8090/
- 下一步
- 到这一步骤后进入破解环节
- 开始破解程序,首先把下面的文件拷贝到出来
[root@gitlab Centos7]# ls /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar
- 然后下载文件:iNViSiBLE.zip,打开 confluence_keygen.jar 文件,输入上方的 Server ID 以及 Name,点击 gen:
- 把拷贝出来的文件 atlassian-extras-decoder-v2-3.4.1.jar,更名为, atlassian-extras-2.4.jar 否则破解软件会不识别。
MacBook-Pro:Downloads lucky$ ls atlassian-extras-decoder-v2-3.4.1.jar atlassian-extras-decoder-v2-3.4.1.jar MacBook-Pro:Downloads lucky$ mv atlassian-extras-decoder-v2-3.4.1.jar atlassian-extras-2.4.jar
- 然后通过破解软件点击 path,找到这个文件并打开:
- 破解成功后显示如下:
- 并生成一个后缀 bak 的原名包,如果重复破解 jar,请把 bak 包删除掉在破解,并把生成的 Key 复制下来!
- 把破解成功后的包移回之前的目录内:
[root@gitlab ~]# ll 总用量 665224 -rw-------. 1 root root 1541 6月 29 20:52 anaconda-ks.cfg -rwxr-xr-x. 1 root root 681173564 7月 3 14:48 atlassian-confluence-7.0.1-x64.bin -rw-------. 1 root root 6673 9月 5 2019 atlassian-extras-2.4.jar drwxr-xr-x. 3 root root 88 7月 3 14:45 Centos7 [root@gitlab ~]# mv atlassian-extras-2.4.jar atlassian-extras-decoder-v2-3.4.1.jar [root@gitlab ~]# mv atlassian-extras-decoder-v2-3.4.1.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/ mv:是否覆盖"/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar"? yes
[root@gitlab ~]# wget -qO- https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.48.tar.gz | tar zx -C /opt [root@gitlab ~]# cp -a /opt/mysql-connector-java-5.1.48/mysql-connector-java-5.1.48-bin.jar /opt/atlassian/confluence/confluence/WEB-INF/lib/
- 重启 Confluence
[root@gitlab ~]# /opt/atlassian/confluence/bin/shutdown.sh [root@gitlab ~]# /opt/atlassian/confluence/bin/startup.sh
- 成功启动后,进入输入 License 环节,然后把破解出来的 License 复制到内容框里:
- 下一步
- 选择 MySQL
mysql> CREATE DATABASE confluence CHARACTER SET 'UTF8' COLLATE 'utf8_bin'; Query OK, 1 row affected (0.01 sec) mysql> SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; Query OK, 0 rows affected (0.00 sec)
- 选择 Example Site(自定义)
- 选择 第一项,如果有其他需求可关联 JIRA
- 输入管理员账户密码
- 完成安装
- 测试空间名称
- 尽情享用把~
安装插件
安装个人偏好的插件:RefinedToolki
继续阅读
评论