Commands
The following tables contains commands you may find useful.
- Server Installation
- Server Monitoring and Maintenance
- Linux Agent Monitoring and Maintenance
- Windows Agent Monitoring and Maintenance
- CentOS 6
- Services
Server Installation
Operation |
Operating System, Distribution, Version |
Commands |
---|---|---|
List Dependencies |
Fedora 34 and later RHEL 8.4 and later |
# With internet access and CodeLogic repo configured
# Note that docker-compose will not be listed because it is not available as a package for RHEL. # With .rpm package downloaded
|
Ubuntu 18 and later |
# With internet access
# Without internet access (package file downloaded)
|
|
Configure CodeLogic |
Fedora 34, RHEL 8.4, and Ubuntu 18 or later |
|
Add Repo Key |
Fedora 34 and RHEL 8.4 or later |
|
Add Repo Key and Repository |
Ubuntu 18 or later |
|
Install CodeLogic Server |
Fedora 34 or RHEL 8.4 and later |
# remove podman (sudo dnf erase podman buildah) # Install docker-ce 20.10 or later: https://docs.docker.com/engine/install/fedora/ # Configure docker to start a boot https://docs.docker.com/engine/install/linux-postinstall/#configure-docker-to-start-on-boot # Install docker-compose 1.29.2 https://docs.docker.com/compose/install/#install-compose-on-linux-systems
|
Ubuntu 18 and later |
|
|
Upgrade CodeLogic Server |
Fedora 34 or RHEL 8.4 and later |
|
Ubuntu 18 and later |
|
Server Monitoring and Maintenance
Operation |
Operating System, Distribution, Version |
Commands |
---|---|---|
CodeLogic Server Status |
Fedora 34 and later RHEL 8.4 and later Ubuntu 18 and later |
|
Monitor CodeLogic Server |
Fedora 34 and later RHEL 8.4 and later Ubuntu 18 and later |
|
Start CodeLogic Server |
Fedora 34 and later RHEL 8.4 and later Ubuntu 18 and later |
|
Stop CodeLogic Server |
Fedora 34 and later RHEL 8.4 and later Ubuntu 18 and later |
|
Upgrade CodeLogic Server |
Fedora 34 and later RHEL 8.4 and later |
|
Ubuntu 18 and later |
|
|
List Installed Version |
Fedora 34 and later RHEL 8.4 and later |
|
Ubuntu 18 and later |
|
|
Remove CodeLogic Server |
Fedora 34 and later RHEL 8.4 and later |
The following commands were copied from: https://docs.docker.com/engine/install/fedora/#uninstall-docker-engine # Uninstall docker
### Remove images, containers, volumes or customized configuration files
|
Ubuntu 18 and later |
### After release 21.7
# Prior to release 21.7:
|
Linux Agent Monitoring and Maintenance
Operation |
Operating System, Distribution, Version |
Commands |
---|---|---|
Show Status |
Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later |
|
Monitor Agent |
Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later |
Java Agent: |
SQL Agent: |
||
Start Agent |
Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later |
|
Stop Agent |
Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later |
|
Disable Agent |
Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later |
|
Upgrade Agents |
Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later |
|
CentOS 8 and later Fedora 32 and later RHEL 8.4 and later |
|
|
Debian 10 and later Ubuntu 18 and later |
|
|
Show Agent Version |
Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later |
|
CentOS 8 and later Fedora 32 and later |
|
|
RHEL 8.4 and later |
|
|
Debian 10 and later Ubuntu 18 and later |
|
|
Remove Agents |
Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later |
|
CentOS 8 and later Fedora 32 and later RHEL 8.4 and later |
|
|
Debian 10 and later Ubuntu 18 and later |
|
|
Remove Agent Repos |
Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later |
# Find CodeLogic key
# Use the CodeLogic key from the previous command
|
CentOS 8 and later Fedora 32 and later RHEL 8.4 and later |
# Find CodeLogic key
# Use the CodeLogic key from the previous command
|
|
Debian 10 and later Ubuntu 18 and later |
# Find CodeLogic key in output
# Put CodeLogic key between single quotes
|
Windows Agent Monitoring and Maintenance
Service Administration |
Use the Windows Services Manager for controlling the .NET Agent service. |
CentOS 6
CentOS 6 uses different commands than other supported systems. Here are some that may be useful.
Operation |
Command |
---|---|
List repo keys |
|
Remove repo key |
|
Check for updates |
|
Upgrade CodeLogic agents |
|
Update CodeLogic agents |
|
The output and operation of some commands differ from other supported systems also. For example, it is not possible to automatically install dependencies.
A yum upgrade will force the removal of obsolete packages. A yum update will not.
Services
Operating System, Distribution, Version |
Commands |
---|---|
CentOS 6 |
See the service command.
|
All Linux distributions (except CentOS 6) |
See the systemctl command.
|
Windows (.NET Agent only) |
See the Windows Services Manager. |