confluence installation manual

1. Environment preparation
Operating system: Linux
confluence version: 5.4.4
Database: mysql 5

2. Software download
confluence installation package: atlassian-confluence-5.4.4-x64_1.bin
confluence Chinese package: JIRA-Language-STD-CN.jar
confluence crack package: jira_crack.zip
mysql driver: mysql-connector-java-5.1.34-bin.jar

3. The database is ready to
create a jiradb database
CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;

Permission User Authorization
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on confluence.* TO '<db user>'@'<db hostname>' IDENTIFIED BY '<db password>';

flush privileges;

/*
E.g:
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on confluence.* TO 'root'@'localhost' IDENTIFIED BY '123456';
*/


4. The language of the system environment variable
is set to zh_CN. If the language is en_US, the confluence localization cannot take effect. It is best to configure it in the .profile
file
export LANG=zh_CN.UTF-8
export LANGUAGE=zh_CN:zh

Reload environment variables (entered at the command line)
source ~/.profile

view locale
> locale
LANG = zh_CN.UTF-8
LANGUAGE = zh_CN: zh
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=


5. Install confluence (install with root user)
and grant execute permissions
> chmod +x atlassian-confluence-5.4.4-x64_1.bin

Install jira (you will be prompted to enter the relevant configuration during the installation process)
> ./atlassian-confluence-5.4.4-x64_1.bin

Close confluence (the service will be started automatically after installation)
> service confluence stop


6. Load the mysql driver and
copy
> cp mysql-connector-java-5.1.34-bin.jar jira directory/atlassian/confluence/lib/


7. Configure confluence
      Open the main page of confluence with a browser, configure the installation steps, and configure the database configuration according to the configuration in the third step.
      Please note that you need to integrate users with jira (skip this step if you don’t need it). If you need to integrate with jira, you need to note that there is a jira administrator user in the jira system that belongs to the jira-system-administrators group. If If there is no jira-system-administrators group, add it in jira and add the user to this group. If this step of combining with jira is not configured properly, it cannot be integrated with jira. When configuring this step, you can configure jira administrators with the jira-system-administrators group.
      After entering the interface, enter the plug-in management, upload the Chinese package plug-in, and you will be prompted to install the plug-in successfully. After restarting the confluence service, Chinese will take effect.
> service confluence stop
> service confluence start


8. Crack confluence
and replace the atlassian-extras-2.4.jar package in confluence with atlassian-extras-2.4.jar, and then restart the confluence service.

9. Installation completed

10. Remarks
  • Open confluence official website is busy, it is difficult to download the installation package, this reason will not say more
  • Generating a license is slow, the same as the previous problem

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326467460&siteId=291194637