<\/span><\/h2>\r\n\r\n\r\n\r\nFirst, log in to your CentOS 8 server via SSH as the root user:<\/p>\r\n\r\n\r\n\r\n
ssh root@IP_Address -p Port_number<\/pre>\r\n\r\n\r\n\r\nYou will need to replace \u2018IP_Address\u2018 and \u2018Port_number\u2018 with your server\u2019s respective IP address and SSH port number. Additionally, replace \u2018root\u2019 with the username of the admin account if necessary.<\/p>\r\n\r\n\r\n\r\n
Before starting, you have to make sure that all CentOS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\r\n\r\n\r\n\r\n
dnf update -y<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 2: Add Docker Repository<\/span><\/h2>\r\n\r\n\r\n\r\nBy default, the latest version of Docker is not available in the CentOS 8 default repo. So you will need to add the Docker repo to your system.<\/p>\r\n\r\n\r\n\r\n
First, install the required packages with the following command:<\/p>\r\n\r\n\r\n\r\n
dnf install yum-utils curl git -y<\/pre>\r\n\r\n\r\n\r\nNext, add the Docker repo with the following command:<\/p>\r\n\r\n\r\n\r\n
yum-config-manager --add-repo https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo<\/pre>\r\n\r\n\r\n\r\nNext, update the package cache with the following command:<\/p>\r\n\r\n\r\n\r\n
dnf makecache<\/pre>\r\n\r\n\r\n\r\nNext, install the Docker CE with the following command:<\/p>\r\n\r\n\r\n\r\n
dnf install docker-ce --nobest<\/pre>\r\n\r\n\r\n\r\nOnce the Docker is installed, start the Docker service and enable it to start at system reboot with the following command:<\/p>\r\n\r\n\r\n\r\n
systemctl start docker\r\nsystemctl enable docker<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 3: Install Docker Compose<\/span><\/h2>\r\n\r\n\r\n\r\nNext, you will also need to install Docker compose in your system.<\/p>\r\n\r\n\r\n\r\n
You can download the latest version of Docker compose binary package to the \/usr\/loca\/bin directory with the following command:<\/p>\r\n\r\n\r\n\r\n
curl -L https:\/\/github.com\/docker\/compose\/releases\/download\/1.25.4\/docker-compose-`uname -s`-`uname -m` -o \/usr\/local\/bin\/docker-compose<\/pre>\r\n\r\n\r\n\r\nNext, change the permission of the downloaded binary with the following command:<\/p>\r\n\r\n\r\n\r\n
chmod +x \/usr\/local\/bin\/docker-compose<\/pre>\r\n\r\n\r\n\r\nNext, verify the installed version of Docker compose with the following command:<\/p>\r\n\r\n\r\n\r\n
docker-compose --version<\/pre>\r\n\r\n\r\n\r\nYou should get the following output:<\/p>\r\n\r\n\r\n\r\n
docker-compose version 1.25.4, build 8d51620a\r\n<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 4: Install Jitsi Meet<\/span><\/h2>\r\n\r\n\r\n\r\nJitsi meet package is not available for CentOS operating system. So we will install Jitsi meet using Docker.<\/p>\r\n\r\n\r\n\r\n
First, download the Jitsi meet for Docker with the following command:<\/p>\r\n\r\n\r\n\r\n
git clone https:\/\/github.com\/jitsi\/docker-jitsi-meet<\/pre>\r\n\r\n\r\n\r\nNext, change the directory to the downloaded directory and copy the sample environment file:<\/p>\r\n\r\n\r\n\r\n
cd docker-jitsi-meet\r\ncp env.example .env<\/pre>\r\n\r\n\r\n\r\nNext, create required directories for Jitsi meed with the following command:<\/p>\r\n\r\n\r\n\r\n
mkdir -p ~\/.jitsi-meet-cfg\/{web\/letsencrypt,transcripts,prosody,jicofo,jvb}<\/pre>\r\n\r\n\r\n\r\nNext, build the Jitsi meet Docker image with the following command:<\/p>\r\n\r\n\r\n\r\n
docker-compose up -d<\/pre>\r\n\r\n\r\n\r\nThis will download the Jitsi image from the Docker hub and start the containers. You can check all the running containers with the following command:<\/p>\r\n\r\n\r\n\r\n
docker ps<\/pre>\r\n\r\n\r\n\r\nYou should get the following output:<\/p>\r\n\r\n\r\n\r\n
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES\r\n129f1e2c6c9f jitsi\/jicofo:latest \"\/init\" 7 seconds ago Up 1 second docker-jitsi-meet_jicofo_1\r\n2b06a36e4814 jitsi\/jvb:latest \"\/init\" 7 seconds ago Up Less than a second 0.0.0.0:4443->4443\/tcp, 0.0.0.0:10000->10000\/udp docker-jitsi-meet_jvb_1\r\n53183d823f82 jitsi\/prosody:latest \"\/init\" 9 seconds ago Up 1 second 5222\/tcp, 5280\/tcp, 5347\/tcp docker-jitsi-meet_prosody_1\r\n0378862d1706 jitsi\/web:latest \"\/init\" 9 seconds ago Up 7 seconds 0.0.0.0:8000->80\/tcp, 0.0.0.0:8443->443\/tcp docker-jitsi-meet_web_1\r\n<\/pre>\r\n\r\n\r\n\r\nAt this point, Jitsi meet container is started and running on port 8443.<\/p>\r\n\r\n\r\n\r\n