Setup:Installation Guide/Docker/Video: Difference between revisions

Redaktion (talk | contribs)
Created page with "Here are the commands that are used in our BlueSpice 5 installation video on YouTube: https://www.youtube.com/watch?v=9sak-OMrDTc == Download sites == == Installation == === Step 1: preparing the installation (1:14) === <syntaxhighlight lang="bash"> sudo apt-get update </syntaxhighlight><syntaxhighlight lang="bash"> sudo apt-get install ca-certificates curl </syntaxhighlight><syntaxhighlight lang="bash"> sudo apt-get update sudo apt-get install ca-certificates curl su..."
 
Redaktion (talk | contribs)
No edit summary
Line 1: Line 1:
* Step 8: checking that the containers are running ([https://www.youtube.com/watch?v=9sak-OMrDTc&t=513s 8:33])
Here are the commands that are used in our BlueSpice 5 installation video on YouTube: https://www.youtube.com/watch?v=9sak-OMrDTc
Here are the commands that are used in our BlueSpice 5 installation video on YouTube: https://www.youtube.com/watch?v=9sak-OMrDTc


== Download sites ==
== Download sites ==
* <nowiki>https://docs.docker.com/engine/install/ubuntu</nowiki>
* <nowiki>https://github.com/hallowelt/bluespice-deploy</nowiki>


== Installation ==
== Installation ==


=== Step 1: preparing the installation (1:14) ===
=== Step 1: preparing the installation (1:14) ===
<syntaxhighlight lang="bash">
Refreshing the list of available packages from the software repository:<syntaxhighlight lang="bash">
sudo apt-get update
</syntaxhighlight><syntaxhighlight lang="bash">
sudo apt-get install ca-certificates curl
</syntaxhighlight><syntaxhighlight lang="bash">
sudo apt-get update
sudo apt-get update
</syntaxhighlight>Installing ca-certificates and curl:<syntaxhighlight lang="bash">
sudo apt-get install ca-certificates curl
sudo apt-get install ca-certificates curl
</syntaxhighlight>Running commands to fix permissions:<syntaxhighlight lang="bash">
sudo install -m 0755 -d /etc/apt/keyrings
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
</syntaxhighlight>Adding the key to the key chain:<syntaxhighlight lang="bash">
echo \
echo \
   "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
   "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
   $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
   $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
   sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
   sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
</syntaxhighlight><syntaxhighlight lang="bash">sudo apt-get update</syntaxhighlight><syntaxhighlight lang="bash">sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin</syntaxhighlight><syntaxhighlight lang="bash">sudo docker run hello-world</syntaxhighlight><syntaxhighlight lang="bash">mkdir /docker
</syntaxhighlight>Running another update:<syntaxhighlight lang="bash">sudo apt-get update</syntaxhighlight>
cd  /docker</syntaxhighlight><syntaxhighlight lang="bash">git clone -b 5.1.1 https://github.com/hallowelt/bluespice-deploy.git bluespice</syntaxhighlight><syntaxhighlight lang="bash">cd bluespice/compose
 
cp .env.sample .env
=== Step 2: installing and running docker (1:55) ===
vim .env</syntaxhighlight><syntaxhighlight lang="bash">./bluespice-deploy pull</syntaxhighlight><syntaxhighlight lang="bash">./bluespice-deploy up -d</syntaxhighlight><syntaxhighlight lang="bash">/bluespice-deploy ps</syntaxhighlight><syntaxhighlight lang="bash">./bluespice-deploy logs -f</syntaxhighlight><syntaxhighlight lang="bash">ls -la /docker/bluespice/_data</syntaxhighlight><syntaxhighlight lang="bash">cat /docker/bluespice/_dataded/wiki/initialAdminPassword</syntaxhighlight>
Installing Docker:<syntaxhighlight lang="bash">sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin</syntaxhighlight>Ensuring Docker is running:<syntaxhighlight lang="bash">sudo docker run hello-world</syntaxhighlight>
 
=== Step 3: creating the BlueSpice installation directory (2:30) ===
Creating the installation directory and changing into it:<syntaxhighlight lang="bash">mkdir /docker
cd  /docker</syntaxhighlight>
 
=== Step 4: checking that git is installed (2:40) ===
<syntaxhighlight lang="bash">apt install git</syntaxhighlight>
 
=== Step 5: cloning the repository (2:52) ===
<syntaxhighlight lang="bash">git clone -b 5.1.1 https://github.com/hallowelt/bluespice-deploy.git bluespice</syntaxhighlight>Changing to the <code>compose</code> directory:<syntaxhighlight lang="bash">cd bluespice/
cd compose/</syntaxhighlight>
 
=== Step 6: editing the environment file (3:20) ===
<syntaxhighlight lang="bash">cp .env.sample .env
vim .env</syntaxhighlight>
 
=== Step 7: deploying and starting docker containers (5:22) ===
Pulling the Docker containers:<syntaxhighlight lang="bash">./bluespice-deploy pull</syntaxhighlight>Starting the containers:<syntaxhighlight lang="bash">./bluespice-deploy up -d</syntaxhighlight>
 
=== Step 8: checking that the containers are running (8:33) ===
<syntaxhighlight lang="bash">/bluespice-deploy ps</syntaxhighlight>Printing the  logs:<syntaxhighlight lang="bash">./bluespice-deploy logs -f</syntaxhighlight>Checking the volumes:<syntaxhighlight lang="bash">ls -la /docker/bluespice/_data</syntaxhighlight>
 
=== Step 9: logging into the front end (8:33) ===
<syntaxhighlight lang="bash">cat /docker/bluespice/_dataded/wiki/initialAdminPassword</syntaxhighlight>

Revision as of 15:19, 6 August 2025

  • Step 8: checking that the containers are running (8:33)

Here are the commands that are used in our BlueSpice 5 installation video on YouTube: https://www.youtube.com/watch?v=9sak-OMrDTc

Download sites

  • https://docs.docker.com/engine/install/ubuntu
  • https://github.com/hallowelt/bluespice-deploy

Installation

Step 1: preparing the installation (1:14)

Refreshing the list of available packages from the software repository:

sudo apt-get update

Installing ca-certificates and curl:

sudo apt-get install ca-certificates curl

Running commands to fix permissions:

sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

Adding the key to the key chain:

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Running another update:

sudo apt-get update

Step 2: installing and running docker (1:55)

Installing Docker:

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Ensuring Docker is running:

sudo docker run hello-world

Step 3: creating the BlueSpice installation directory (2:30)

Creating the installation directory and changing into it:

mkdir /docker
cd  /docker

Step 4: checking that git is installed (2:40)

apt install git

Step 5: cloning the repository (2:52)

git clone -b 5.1.1 https://github.com/hallowelt/bluespice-deploy.git bluespice

Changing to the compose directory:

cd bluespice/
cd compose/

Step 6: editing the environment file (3:20)

cp .env.sample .env
vim .env

Step 7: deploying and starting docker containers (5:22)

Pulling the Docker containers:

./bluespice-deploy pull

Starting the containers:

./bluespice-deploy up -d

Step 8: checking that the containers are running (8:33)

/bluespice-deploy ps

Printing the logs:

./bluespice-deploy logs -f

Checking the volumes:

ls -la /docker/bluespice/_data

Step 9: logging into the front end (8:33)

cat /docker/bluespice/_dataded/wiki/initialAdminPassword


PDF exclude - start

To submit feedback about this documentation, visit our community forum.

PDF exclude - end