Linux installation and deployment free confluence wiki

Centos7 installation and deployment free confluence wiki (knowledge base) detailed steps

  • Foreword: Confluence is a team collaboration software that changes the way teams work and is an indispensable tool for modern offices.

  • Required installation package for wiki:
    Link: Download Confluence Data Center | Atlassian

Enter the deployment environment:
First we need to install jdk:
tar zxf jdk-8u91-linux-x64.tar.gz -C /usr/local/
ln -s /usr/local/jdk1.8.0_91/ /usr/local/jdk
settings Environment variables:
vim /etc/profile

 
 
  1. JAVA_HOME=/usr/local/jdk

  2. export JRE_HOME=/usr/local/jdk/jre

  3. export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH

  4. export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

 
 

source /etc/profie


Check whether jdk is effective:


Install the lrzsz tool: (use rz to import the confluence installation package)

yum -y install lrzsz

Generally, I am used to putting the installation package in the /opt/ directory, importing the installation package and granting it: (executable permissions)


Start installing confluence:

./atlassian-confluence-6.3.1-x64.bin

Note: During the installation process, we need to press Enter several times to determine the default installation location. If we want to specify the installation location, we need to enter it manually and press Enter.


After installation, check the port monitoring and whether the program is started: (default port 8090)

At this point it means that we have completed the installation, which is obviously very simple. At this time we log in


Visit: localhost:8090

Choose to use Chinese:


This shows that there is no problem with our operation!
We choose products to install:


Choose to install the plugin:


Then we will come to the place where we enter the authorization code:


Note: Because we didn’t spend any money, we only have the authorization code, but don’t be afraid, we have a solution, keep reading.


Next, we use the registration machine to crack confluence, because confluence is not free and open source and requires an authorization code:


Re-export the jar from the directory you just installed to crack:
sz /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.2.jar

And renamed:
atlassian-extras-2.4.jar


Unzip the cracking toolkit on Windows and double-click to run:

You get this dialog box and enter in the dialog box:

1: Keep the default, enter other information manually, Server ID: fill in the server ID above the authorization code
2: Select the jar package we renamed after exporting
3: Run to generate the authorization code

The execution results are as follows:


Note: What’s inside is our authorization code


Don't worry about pasting it into the web page just now. There are follow-up operations:
Next, we will import the jar package that we just exported, renamed and registered using the registration machine into centos7, and change the name to the original name.

And restart confluence:
sh /opt/atlassian/confluence/bin/stop-confluence.sh
sh /opt/atlassian/confluence/bin/start-confluence.sh


We log in to the web page:
http://localhost:8090

Copy the authorization code and paste:


You don’t need to fill in the other two, just click Next


Later, we can choose an embedded database or an external database. For testing, just use the embedded database, but for production environments, it is recommended that you use an external database.

Note: If you use an external database, you can refer to this blog:
https://www.cnblogs.com/kevingrace/p/7607442.html


Other operations:
Add the following content:

Configure management users:

Configure the administrator account:

When the reality setup is successful, it means we are done:

I won’t explain much about the following operations. They are all in Chinese. I believe you can understand them by exploring.

Note: The default port of confluence is 8090, which may cause port conflicts. How to modify the default port will be discussed in subsequent articles.

Guess you like

Origin blog.csdn.net/nocoah/article/details/122238651