Hello,
I have CentOS minimal running and wondered if Confluence can be installed on it? I can can't find the instructions to install via command line.
Anyone tried this and can share the commands to get started?
Thanks
Dear @Andy
yes, you can. You can follow my article that was written for Jira Software. You have just to note following:
If you plan to use MySQL instead of postgesql, read my former article.
So long
Thomas
Dear @Andy ,
all the files can be pulled by wget or curl command. Figure out the links with the browser (and copy&paste) or see my article links to the binaries and just adapt the version to a newer.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try these instructions. https://confluence.atlassian.com/doc/installing-confluence-on-linux-143556824.html
I have always installed via the command line (using Putty/SSH). The only issue you will have is SELinux where you will have to open up ports before you can access your server via the command line (and sub the server IP address for the loopback).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. The part I don’t know how to do is if I’m using the command line version of Linux only, how do I download the file and execute (from shell)?
Most of the instructions assume I have a browser. I’m using CentOS Minimal.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to the archives page (makes it easier to select the exact version and flavor you want:
https://www.atlassian.com/software/confluence/download-archives
Then right-click on the download button and save URL/Link to get the URL for the flavor you want:
For the latest Linux installer, the URL is:
https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.15-x64.bin
Next can then select a location on your server to download the binary to and issue the wget command:
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.15-x64.bin
Then follow the rest of the instructions here: installing-confluence-on-linux - Run the installer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I've install CentOS in VMware and instlled Confluence. The server is on 192.168.189.142 which I can ping from my PC, but I the web site doesn't work on http://192.168.189.142:8090. If I try and telnet to that IP on 8090 it doesn't open either.
Any ideas?
Installation of Confluence 6.6.15 is complete
Your installation of Confluence 6.6.15 is now ready and can be accessed via
your browser.
Confluence 6.6.15 can be accessed at http://localhost:8090
Finishing installation ...
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:be:5b:8a brd ff:ff:ff:ff:ff:ff
inet 192.168.189.142/24 brd 192.168.189.255 scope global noprefixroute dynamic ens33
valid_lft 1268sec preferred_lft 1268sec
inet6 fe80::bdae:7010:500e:dea3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@localhost ~]#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you open the ports in the firewall?
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=8090/tcp --permanent
firewall-cmd --reload
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks that worked! I couldn't find that in the instructions for some reason.
Database is now being setup.
Don't suppose how I would get SSL working from Confluence in minimal CentOS?
Kind Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think that you are just supposed to know you have to do that, based on the assumed years of experience as a CentOS adim. ;-)
I set up mine for HTTPS using the following instructioncs:
running-confluence-over-ssl-or-https
And you will need this too:
firewall-cmd --permanent --zone=
public
--add-port=
8443
/tcp
firewall-cmd --reload
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I will trying this, I'm just performing an an upgrade to the latest version. It's a test build before I put into production so a good time to try this.
I want to install the calendar add-on too, not sure if it costs anything yet.
Can Jira me installed on the same Linux server? There will be under 10 users.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm SSL issues, can you see what I've doing wrong here?
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /root/.keystore -destkeystore /root/.keystore -deststoretype pkcs12".
[root@localhost bin]#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm now at "configuring the Server Base URL"
Mine is currently:
So I change to:
Run
$ sudo /etc/init.d/confluence restart
And the https page doesn't load.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The port number changes too, so the new URL will be:
And if you forward that port (and Synchrony port 8091) to your server, then you can access your server when not at home.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what I change it too and hit save and try and get to https://192.168.189.142:8443 and the page fails to load. I can't telnet to 8443 either, just 8090.
I've added this too:
firewall-cmd --permanent --zone=public --add-port=8443/tcp
firewall-cmd --reload
The server.xml looks like this:
========================
-->
<!--
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
protocol="org.apache.coyote.http11.Http11Nio2Protocol"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="mypassword123"/>
-->
<!--
======================================================================================
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
a) probably best to X out the keystorePass (unless that is a dummy password.
b) I dont see a keystoreFile statement
c) mine lists a wider range of protocols. Below is mine as an example:
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
protocol="org.apache.coyote.http11.Http11NioProtocol"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="XXXXXXXXX"
keystoreFile="/home/<user>/.keystore" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, do I put my username in here?
keystoreFile="/home/<user>/.keystore" />
Thing is I only have 2 usernames, mine and one called 'Confluence' both don't seem to have a keystore in them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, when you created your key, you must have created a .keystore file (depends on where you ran your command to create the key). You need to place the file someplace that can be read by Confluence (may have to set read permissions). I placed mine in my home directory (not sure that would be best practices)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.