Skip to content

Server Administration

Server Installation

Operation

Operating System, Distribution, Version

Commands

List Dependencies

















Fedora 38 and later RHEL 8.10 and later








# With internet access and CodeLogic repo configured

dnf --quiet deplist codelogic

# Note that docker-compose may not be listed because it is not available as a package for all versions of RHEL.

# With .rpm package downloaded

rpm -qp <ARCHIVE> --requires

Ubuntu 20 and later






# With internet access

apt-cache depends codelogic

# Without internet access (package file downloaded)

dpkg --field Depends <ARCHIVE>

Configure CodeLogic

Fedora 38, RHEL 8.10, and Ubuntu 20 and later

sudo /opt/codelogic/pre_start_codelogic.sh

Add Repo Key

Fedora 38 and RHEL 8.10 and later

sudo dnf config-manager --add-repo http://repo.codelogic.com/redhat/codelogic-server.repo

Add Repo Key and Repository







Ubuntu 20 and later







sudo wget -O /usr/share/keyrings/codelogic-archive.key http://repo.codelogic.com/debian/archive.key

`sudo sh -c 'cat << EOF > /etc/apt/sources.list.d/codelogic.sources
Types: deb
URIs: http://repo.codelogic.com/debian/
Suites: stable
Components: main
Signed-By: /usr/share/keyrings/codelogic-archive.key
EOF'

Install CodeLogic Server





Fedora 38 or RHEL 8.10 and later



# Follow these instructions to install the docker engine: Install Docker Engine

# Set docker to start at boot

sudo dnf install --assumeyes codelogic

Ubuntu 20 and later

sudo apt install --assume-yes -f codelogic

Upgrade CodeLogic Server

Fedora 38 or RHEL 8.10 and later

sudo dnf upgrade codelogic

Ubuntu 20 and later

sudo apt update sudo apt upgrade codelogic

Server Monitoring and Maintenance

Operation

Operating System, Distribution, Version

Commands

CodeLogic Server Status

Fedora 38 and later RHEL 8.10 and later Ubuntu 20 and later

systemctl status codelogic

Monitor CodeLogic Server

Fedora 38 and later RHEL 8.10 and later Ubuntu 20 and later

journalctl --follow --unit=codelogic.service

Start CodeLogic Server

Fedora 38 and later RHEL 8.10 and later Ubuntu 20 and later

sudo systemctl start codelogic

Stop CodeLogic Server

Fedora 38 and later RHEL 8.10 and later Ubuntu 20 and later

sudo systemctl stop codelogic

Upgrade CodeLogic Server

Fedora 38 and later RHEL 8.10 and later

sudo dnf upgrade codelogic

Ubuntu 20 and later

sudo apt update sudo apt upgrade codelogic

List Installed Version

Fedora 38 and later RHEL 8.10 and later

dnf list --installed codelogic

Ubuntu 20 and later

apt list --installed codelogic

Remove CodeLogic Server






































Fedora 38 and later RHEL 8.10 and later
















sudo dnf config-manager --set-disabled codelogic

sudo mv /etc/yum.repos.d/codelogic-server.repo /etc/yum.repos.d/codelogic-server.repo.disabled

sudo dnf erase codelogic

The following commands are copied from:
Uninstall Docker Engine

# Uninstall docker

sudo dnf remove docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras

### Remove images, containers, volumes or customized configuration files

sudo rm -rf /var/lib/docker

sudo rm -rf /var/lib/containerd

Ubuntu 20 and later



















sudo apt purge codelogic

### After release 25.3

sudo /etc/apt/sources.list.d/codelogic.sources

# Prior to release 25.3:

sudo add-apt-repository --remove 'deb http://repo.codelogic.com/debian /'

### After release 21.7

apt-key list # Find CodeLogic key in output

sudo apt-key del 'A5AAFB31...' #Put CodeLogic key between single quotes

# Prior to release 21.7:

sudo add-apt-repository --remove 'deb http://repo.crosscode.io/debian /'

apt-key list # Find CodeLogic key in output sudo apt-key del'6721E604...' #Put CodeLogic key between single quotes

Services

Operating System, Distribution, Version

Commands

Linux


See the systemctl command.

systemctl start codelogic-java
systemctl start codelogic-sql

Windows (.NET Agent only)

See the Windows Services Manager.