How To Install systemd-journal-remote on CentOS 8

systemd-journal-remote is Tools to send journal events over the network

Introduction

In this tutorial we learn how to install systemd-journal-remote on CentOS 8.

What is systemd-journal-remote

Programs to forward journal entries over the network, using encrypted HTTP, and to write journal files from serialized journal contents. This package contains systemd-journal-gatewayd, systemd-journal-remote, and systemd-journal-upload.

We can use yum or dnf to install systemd-journal-remote on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-journal-remote.

Install systemd-journal-remote on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install systemd-journal-remote using dnf by running the following command:

sudo dnf -y install systemd-journal-remote

Install systemd-journal-remote on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install systemd-journal-remote using yum by running the following command:

sudo yum -y install systemd-journal-remote

How To Uninstall systemd-journal-remote on CentOS 8

To uninstall only the systemd-journal-remote package we can use the following command:

sudo dnf remove systemd-journal-remote

systemd-journal-remote Package Contents on CentOS 8

/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/1bf86d0be2bfc1d35426b34644f220518780bf
/usr/lib/.build-id/2e/2e94ae421b756632ec9c61fc6c6c98225baa40
/usr/lib/.build-id/ea/6e7af85137e105c9bb2dffd2c55f5fea9dd217
/usr/lib/firewalld/services/systemd-journal-gatewayd.xml
/usr/lib/firewalld/services/systemd-journal-remote.xml
/usr/lib/systemd/system/systemd-journal-gatewayd.service
/usr/lib/systemd/system/systemd-journal-gatewayd.socket
/usr/lib/systemd/system/systemd-journal-remote.service
/usr/lib/systemd/system/systemd-journal-remote.socket
/usr/lib/systemd/system/systemd-journal-upload.service
/usr/lib/systemd/systemd-journal-gatewayd
/usr/lib/systemd/systemd-journal-remote
/usr/lib/systemd/systemd-journal-upload
/usr/lib/sysusers.d/systemd-remote.conf
/usr/share/man/man5/journal-remote.conf.5.gz
/usr/share/man/man5/journal-remote.conf.d.5.gz
/usr/share/man/man5/journal-upload.conf.5.gz
/usr/share/man/man5/journal-upload.conf.d.5.gz
/usr/share/man/man8/systemd-journal-gatewayd.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.service.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.socket.8.gz
/usr/share/man/man8/systemd-journal-remote.8.gz
/usr/share/man/man8/systemd-journal-remote.service.8.gz
/usr/share/man/man8/systemd-journal-remote.socket.8.gz
/usr/share/man/man8/systemd-journal-upload.8.gz
/usr/share/man/man8/systemd-journal-upload.service.8.gz
/usr/share/systemd/gatewayd
/usr/share/systemd/gatewayd/browse.html
/var/lib/private/systemd/journal-upload
/var/lib/private/systemd/journal-upload/state
/var/lib/systemd/journal-upload
/var/log/journal/remote
/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/459bda4a4cc0b57608287dcb2cffd25ffb628c
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/cd4849585939d24dae5bb58c8d95ab2291b0a0
/usr/lib/.build-id/e3/a433fc13261e44ad8627bbc62627a9adfc9511
/usr/lib/firewalld/services/systemd-journal-gatewayd.xml
/usr/lib/firewalld/services/systemd-journal-remote.xml
/usr/lib/systemd/system/systemd-journal-gatewayd.service
/usr/lib/systemd/system/systemd-journal-gatewayd.socket
/usr/lib/systemd/system/systemd-journal-remote.service
/usr/lib/systemd/system/systemd-journal-remote.socket
/usr/lib/systemd/system/systemd-journal-upload.service
/usr/lib/systemd/systemd-journal-gatewayd
/usr/lib/systemd/systemd-journal-remote
/usr/lib/systemd/systemd-journal-upload
/usr/lib/sysusers.d/systemd-remote.conf
/usr/share/man/man5/journal-remote.conf.5.gz
/usr/share/man/man5/journal-remote.conf.d.5.gz
/usr/share/man/man5/journal-upload.conf.5.gz
/usr/share/man/man5/journal-upload.conf.d.5.gz
/usr/share/man/man8/systemd-journal-gatewayd.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.service.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.socket.8.gz
/usr/share/man/man8/systemd-journal-remote.8.gz
/usr/share/man/man8/systemd-journal-remote.service.8.gz
/usr/share/man/man8/systemd-journal-remote.socket.8.gz
/usr/share/man/man8/systemd-journal-upload.8.gz
/usr/share/man/man8/systemd-journal-upload.service.8.gz
/usr/share/systemd/gatewayd
/usr/share/systemd/gatewayd/browse.html
/var/lib/private/systemd/journal-upload
/var/lib/private/systemd/journal-upload/state
/var/lib/systemd/journal-upload
/var/log/journal/remote
/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/2c2a071c5ac1e32cd0b4ec1dcfe2f56755bf4f
/usr/lib/.build-id/93
/usr/lib/.build-id/93/38d26f242a8c70a876d731b638bcedb54ea46d
/usr/lib/.build-id/bc/08858bb7fe77b050f29ca7499e3238b7ed06c2
/usr/lib/firewalld/services/systemd-journal-gatewayd.xml
/usr/lib/firewalld/services/systemd-journal-remote.xml
/usr/lib/systemd/system/systemd-journal-gatewayd.service
/usr/lib/systemd/system/systemd-journal-gatewayd.socket
/usr/lib/systemd/system/systemd-journal-remote.service
/usr/lib/systemd/system/systemd-journal-remote.socket
/usr/lib/systemd/system/systemd-journal-upload.service
/usr/lib/systemd/systemd-journal-gatewayd
/usr/lib/systemd/systemd-journal-remote
/usr/lib/systemd/systemd-journal-upload
/usr/lib/sysusers.d/systemd-remote.conf
/usr/share/man/man5/journal-remote.conf.5.gz
/usr/share/man/man5/journal-remote.conf.d.5.gz
/usr/share/man/man5/journal-upload.conf.5.gz
/usr/share/man/man5/journal-upload.conf.d.5.gz
/usr/share/man/man8/systemd-journal-gatewayd.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.service.8.gz
/usr/share/man/man8/systemd-journal-gatewayd.socket.8.gz
/usr/share/man/man8/systemd-journal-remote.8.gz
/usr/share/man/man8/systemd-journal-remote.service.8.gz
/usr/share/man/man8/systemd-journal-remote.socket.8.gz
/usr/share/man/man8/systemd-journal-upload.8.gz
/usr/share/man/man8/systemd-journal-upload.service.8.gz
/usr/share/systemd/gatewayd
/usr/share/systemd/gatewayd/browse.html
/var/lib/private/systemd/journal-upload
/var/lib/private/systemd/journal-upload/state
/var/lib/systemd/journal-upload
/var/log/journal/remote

References

Summary

In this tutorial we learn how to install systemd-journal-remote on CentOS 8 using yum and dnf.