Ubuntu 14.04 configuration confluence hack

Source: Internet
Author: User

1. Configure the Java environment, please participate in my other blog

Http://www.cnblogs.com/youran-he/p/8607155.html

2. Download the file

Https://pan.baidu.com/s/1YS2bcCO70TTvn9fjOde9gA

3. Configure permissions

[Email protected]:/usr/local/src# cp/home/hett/atlassian-confluence-5.6.6-x64.bin./
[Email protected]:/usr/local/src# chmod +x Atlassian-confluence-5.6.6-x64.bin
[Email protected]:/usr/local/src#
4. Installation

[Email protected]:/usr/local/src# sudo./atlassian-confluence-5.6.6-x64.bin

O-2/1-y
5. Configure the database

Mysql> CREATE DATABASE confluence CHARACTER SET UTF8 COLLATE utf8_bin;
Query OK, 1 row affected (0.36 sec)

mysql> use MySQL;
Reading table information for completion of table and column names
Can turn off this feature to get a quicker startup with-a

Database changed
Mysql> INSERT into Mysql.user (Host,user,password) VALUES ("localhost", "Confluence", Password ("123456"));
Query OK, 1 row affected, 3 warnings (0.00 sec)

mysql> FLUSH privileges;
Query OK, 0 rows Affected (0.00 sec)

Mysql> GRANT All privileges the confluence.* to [e-mail protected] identified by ' 123456 ';
Query OK, 0 rows Affected (0.00 sec)

Mysql> GRANT All privileges the confluence.* to [email protected] '% ' identified by ' 123456 ';
Query OK, 0 rows Affected (0.00 sec)

mysql> flush Privileges;
Query OK, 0 rows Affected (0.00 sec)

Mysql>

4. Delete Confluence

[Email protected]:~$ Sudo/opt/atlassian/confluence/uninstall
Testing JVM In/opt/atlassian/confluence/jre ...
Is you sure want to completely remove confluence 5.6.6 and all of their components?
Yes [y, Enter], No [n]
Y
Uninstalling Confluence 5.6.6 ...
Mar, 2018 10:25:37 AM java.util.prefs.filesystempreferences$2 Run
Info:created System Preferences directory in Java.home.
The following files/directories were not deleted since they contain files with potentially important logs or configuration s wish to retain. If you don't need to keep these files, however, you can safely delete these directories.
/opt/atlassian/confluence/logs
/opt/atlassian/confluence
/opt/atlassian

5. Cracking

Https://pan.baidu.com/s/1S-J-lDzpXbCJxvZ8or6IHw

Crack file

[email protected]:~#/etc/init.d/confluence1 stop
Executing using dedicated user
If you encounter issues Starting up confluence, please see the installation for http://confluence.atlassian.com/display/DOC/Confluence+ Installation+guide

Server startup logs is located in/opt/atlassian/confluence/logs/catalina.out
Using catalina_base:  /opt/atlassian/confluence
Using catalina_home:  /opt/atlassian/ Confluence
Using Catalina_tmpdir:/opt/atlassian/confluence/temp
Using jre_home:        /opt/atlassian/confluence/jre/
Using classpath:      /opt/ Atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
Tomcat stopped.

To delete a configuration file:
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# rm-rf atlassian-extra*
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib#
5. Cracking

Https://pan.baidu.com/s/1lETmEq3CSOUgMnimMnYbY hack file Download

[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# Ll/hom
Total 1484
Drwxrwxr-x 2 computer computer 4096 March 27 11:01./
Drwxrwxr-x 4 Computer computer 4096 March 27 11:01.. /
-rw-rw-r--1 Computer computer 155443 March 11:01 Atlassian-extras-3.2.jar
-rw-rw-r--1 Computer computer 363012 March 11:01 Confluence-5.6.6-language-pack-zh
-rw-rw-r--1 Computer computer 989497 March 11:01 MYSQL-CONNECTOR-JAVA-5.1.39-BIN.J
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# cp/hotlassian-extras-3.2.jar./
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# Cp/hoonfluence-5.6.6-language-pack-zh_cn.jar ./
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# cp/hoysql-connector-java-5.1.39-bin.jar./
[Email protected]:/opt/atlassian/confluence/confluence/web-inf/lib# CD ~
[Email protected]:~#/etc/init.d/confluence1 Start

To run confluence in the foreground, start the server with START-CONFLUENCE.SH-FG
Executing using dedicated User:confluence1
If you encounter issues starting up confluence the installation Guide at HTTP://CONFLUENCE.ATLASSIAN.COM/DISPL Ay/doc/confluence+installation+guide

Server startup logs is located in/opt/atlassian/confluence/logs/catalina.out
Using catalina_base:/opt/atlassian/confluence
Using Catalina_home:/opt/atlassian/confluence
Using Catalina_tmpdir:/opt/atlassian/confluence/temp
Using Jre_home:/opt/atlassian/confluence/jre/
Using CLASSPATH:/opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using Catalina_pid:/opt/atlassian/confluence/work/catalina.pid
Tomcat started.
[Email protected]:~#

6. Running in Windows

After the configuration is complete, there will be a few minutes to wait and export the data

Configuring Administrator Information

Ubuntu 14.04 configuration confluence hack

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.