Install Confluence

From wikieduonline
Revision as of 07:49, 4 March 2021 by Welcome (talk | contribs) (→‎Related terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.

Read Confluence Installation Guide: https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html

  • Download binary and run it:
./atlassian-confluence-7.3.2-x64.bin

Setup PostgreSQL (https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html)

/var/lib/postgresql/10/main


Connect to http://localhost:8090/ to follow Web interface installer and choose option to restore data if you needed.


Installation

.../...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libc-bin (2.32-0ubuntu3) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Unpacking JRE ...
Starting Installer ...

This will install Confluence 7.4.7 on your computer.
OK [o, Enter], Cancel [c]

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]


See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]

Please wait a few moments while we configure Confluence.

Installation of Confluence 7.4.7 is complete
Start Confluence now?
Yes [y, Enter], No [n]
y

Please wait a few moments while Confluence starts up.
Launching Confluence ...

Installation of Confluence 7.4.7 is complete
Your installation of Confluence 7.4.7 is now ready and can be accessed via
your browser.
Confluence 7.4.7 can be accessed at http://localhost:8090
Finishing installation ...


Setup PostgreSQL

  • Execute:
sudo -u postgres psql
create user confluenceuser;
ALTER USER confluenceuser WITH PASSWORD 'new_password';

CREATE DATABASE "confluence"
 WITH OWNER "confluenceuser"
 ENCODING 'UTF8'
 LC_COLLATE = 'en_US.UTF-8'
 LC_CTYPE = 'en_US.UTF-8'
 TEMPLATE template0;


GRANT ALL PRIVILEGES ON DATABASE confluence TO confluenceuser;
ALTER DATABASE confluence OWNER TO confluenceuser;
ALTER USER confluenceuser WITH PASSWORD 'new_password';


Import data

Copy you .zip exported file on designated folder: /var/atlassian/application-data/confluence/restore/

Errors:

Import failed. Check your server logs for more information. Error refreshing index searcher

Activities

Related terms

See also

Advertising: