Difference between revisions of "Install Confluence"

From wikieduonline
Jump to navigation Jump to search
 
(51 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Read Confluence Installation Guide: https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html
 
Read Confluence Installation Guide: https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html
 +
* 7.4 [[Confluence Data Center]] Installation Guide https://confluence.atlassian.com/conf74/installing-confluence-data-center-1003129653.html
 +
** Use [[OAuth]] authentication if you have application links to other Atlassian products (such as Jira)
 +
** [[Load balancer]] with [[session affinity]] and [[WebSockets]]
  
 +
* Download binary and run it:
 +
<code>./atlassian-confluence-7.3.2-x64.bin</code>
  
* 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)
 +
* <code>[[apt install postgresql]] -y</code>
 +
[[/var/lib/]]postgresql/10/main
  
apt install -y postgresql
 
  
 +
Connect to http://localhost:8090/ to follow Web interface installer and choose option to restore data if you needed.
 +
 +
 +
== Installation ==
 +
<pre>
 +
.../...
 +
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 ...
 +
 +
 +
</pre>
 +
 +
== Setup [[PostgreSQL]] ==
 +
* Execute:
 +
<code>sudo -u postgres [[psql]]</code>
 +
 +
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;
 +
 +
 +
 +
<code>[[GRANT]] ALL PRIVILEGES ON DATABASE confluence TO confluenceuser;</code>
 +
<code>ALTER DATABASE confluence OWNER TO confluenceuser;</code>
 +
<code>ALTER USER confluenceuser WITH PASSWORD 'new_password';</code>
 +
 +
 +
== Import data ==
 +
 +
Copy you .zip exported file on designated folder: <code>/var/atlassian/application-data/confluence/restore/</code>
 +
 +
Errors:
 +
Import failed. Check your server logs for more information. Error refreshing index searcher
 +
 +
== Activities ==
 +
* [[Atlassian: Server vs. Data Center]]
  
 
== Related terms ==
 
== Related terms ==
* [[PostgreSQL]]
+
* <code>[[server.xml]]</code>
 +
* <code>systemctl status confluence</code>
 +
* How to bind Confluence to a particular network interface: https://confluence.atlassian.com/confkb/how-to-bind-confluence-to-a-particular-network-interface-164496389.html
 +
* [[Confluence: Restore Passwords To Recover Admin User Rights]]: https://confluence.atlassian.com/conf610/restore-passwords-to-recover-admin-user-rights-952622930.html
 +
* [[Install Jira Data Center]], [[Install Jira]], [[Integrate Jira and Confluence]]
 +
* [[RMI]]
 +
* SSL configuration: https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html
 +
* Running Confluence behind NGINX with SSL: https://confluence.atlassian.com/doc/running-confluence-behind-nginx-with-ssl-858772080.html
  
 
== See also ==
 
== See also ==
 
* {{Confluence}}
 
* {{Confluence}}
 
+
* {{Atlassian}}
  
 
[[Category:Computing]]
 
[[Category:Computing]]

Latest revision as of 07:49, 4 March 2021

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[edit]

.../...
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[edit]

  • 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[edit]

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[edit]

Related terms[edit]

See also[edit]

Advertising: