Serverspace Black Friday
JT
August 19, 2024
Updated August 19, 2024

How to install Confluence for company?

Linux

As a team grows in size, it is often necessary to document and manage the accumulated knowledge. This approach allows teams to work more efficiently and newcomers to the field to understand the material on their own. Public resources such as Google Docs, Notion, and others give access to your trade secrets to site administrators, and are not always convenient to work with. In this material we will understand how to raise your wiki in the corporate segment of the network and do it safely!

What is Confluence?

Confluence is a Wiki platform that allows to organise accumulated knowledge and materials in a single space for employees. Confluence is a server with a web panel that can be accessed using a standard login/password or an external authentication system. In addition to standard tasks, it allows for analyses, retrospectives, team task management and much more, thanks to built-in templates.

Intro page
Screenshot №1 — Intro page

Since employees have different access to information, there is an access differentiation system that determines what information an employee can access.

How is Confluence implemented and what are its requirements?

The platform consists of services that provide the following: web server, database, caching server, as well as application server with various modules from authentication to request handlers.

Schema of Confluence
Screenshot №2 — Schema of Confluence

The user contacts the web server and provides his authentication credentials. The request goes to the web application, the architecture of which is shown above, and authenticates with the server. After that the request is processed on the web application and returns the response to the client. In the process of query processing, the web application can access the database and make changes.

Installation is done via Docker image, which allows to install the product in a few steps isolated from other services on the machine. All architectural components are already included in the image and are automatically lifted after the container is created on the server. A number of minimum requirements need to be met in order to work:

  • Processor: 2 cores, 2.0 GHz or higher;
  • RAM: 4 GB (basic installation with few users and minimal load);
  • Disk space: a minimum of 10 GB of free space for Confluence installation, plus additional storage space (depends on the size of the database and file attachments).To run the knowledge base quickly and efficiently, you need:
  • Processor: 4 cores, 2.5 GHz or higher;
  • RAM: 8 GB or higher, especially for an environment with a large number of users and activity;
  • Disk space: 50 GB or more, given the growing need for data storage, backups and logs.

For example, a basic wiki system with 150 accounts, 30 spaces and 1000 pages will require about 6 gb of RAM, 2 cores and about 25 GB of free disk space.

Note that when calculating the necessary requirements, you need to take into account the resource consumption of the OS itself and the rest of the applications. When calculating the power requirements of the machine itself and Confluence, add them up and relate them to your resources.

If you don't have sufficient resources than you can perform actions on powerful cloud servers. Serverspace provides isolated VPS / VDS servers for common and virtualize usage.

Create Server
Screenshot №3 — Create Server

It will take some time to deploy server capacity. After that you can connect in any of the convenient ways.

How to install Confluence quickly?

Let's install Docker container manager, when working it is necessary to take into account the OS version for installation on the company's site. In our case Docker is installed on RHEL similar OS.

sudo dnf remove docker*
sudo dnf install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
sudo dnf update && sudo dnf install docker-ce
sudo systemctl start docker && sudo systemctl enable docker
Docker installation
Screenshot №4 — Docker installation

After the installation, you need to download the Confluence image itself by running the command:

docker pull atlassian/confluence
Pull of image
Screenshot №5 — Pull of image

The image or archive has been placed in local storage, and now when creating a container based on this image, docker daemon will be able to find it on the device. The system also requires the creation of a virtual volume, which will be separate from the main OS file system. This approach ensures that Wiki resources are isolated and the service can be flexibly managed:

docker volume create confluncee

Let's move on to starting Confluence and configuring the container, the environment in which the Wiki will run:

docker run -v /confluencee:/var/atlassian/application-data/confluence --name="confluencee" -d -p 8090:8090 -p 8091:8091 atlassian/confluence

Let's consider and describe the parameters of this command:

  • docker run - command to start the container based on the image;
  • -v /confluencee:/var/atlassian/application-data/confluence - connect the isolated volume to the container filesystem, where the volume is on the left and the container filesystem is on the right;
  • --name="confluencee" - the name of the container, for easy reference by name;
  • -d or detach to run the container in the background;
  • -p port forwarding from the container to the host machine;
    atlassian/confluence - the image itself with sources and automation file.

This command will allow you to run Confluence in a separate environment and all the necessary services to run it. Management is done through the web panel, for this we will go to the external or local address of the device through the browser. For configuration and testing, the format address is suitable:

http://localhost:8090
License
Screenshot №6 — License

Insert your licence key or purchase it on the copyright holder's website by clicking on Get an evaluation license. Then click Next.

Type of installation
Screenshot №7 — Type of installation

Select one of the deployment types: single node or cluster. The second type is used for large costs and requirements to the number of users, and the first for small and medium volumes, where one server can cope. Once the deployment type has been selected, let's select a template.

Template of Confluence
Screenshot №8 — Template of Confluence

It is possible to use an example of an existing wiki, or build a blank page that can later be designed from scratch.

Confluence users
Screenshot №9 — Confluence users

Specify the details for the Wiki administrator account and save by clicking Next. Then define the space, it can be a group for a team or for the whole organisation. It all depends on how you think about the structure of the knowledge base.

Space of works
Screenshot №10 — Space of works

As a result of all manipulations, the working panel for Wiki opens, where the basic features of the service are described.

Main page
Screenshot №11 — Main page

More in-depth customisation can be done by clicking the gear on the top left, to start building the knowledge base use the To create button at the top. By selecting a template, you can structure the base for most of the team's tasks via the multi-point.

Vote:
5 out of 5
Аverage rating : 5
Rated by: 1
33145 North Miami, FL 2520 Coral Way apt 2-135
+1 302 425-97-76
700 300
ITGLOBAL.COM CORP
700 300

You might also like...

We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.