Raspberry Piにsystemd-journal-gatewaydをインストールする方法は? https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
緊張
michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd
michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd.socket
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.socket
E: Couldn't find any package by glob 'systemd-journal-gatewayd.socket'
E: Couldn't find any package by regex 'systemd-journal-gatewayd.socket'
michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd.service
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.service
E: Couldn't find any package by glob 'systemd-journal-gatewayd.service'
E: Couldn't find any package by regex 'systemd-journal-gatewayd.service'
michael@stetch:~ $
提示
michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd
michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd.socket
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.socket
E: Couldn't find any package by regex 'systemd-journal-gatewayd.socket'
michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd.service
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.service
E: Couldn't find any package by regex 'systemd-journal-gatewayd.service'
michael@jessie:~ $
ベストアンサー1
あなたはインストールする必要がありますsystemd-journal-remote
パック:
Debian 拡張プログラム
apt install systemd-journal-remote
Debian Jessie では、systemd-journal-remote
jessie-backports で使用できます。
apt-get -t jessie-backports install systemd-journal-remote
サービスを開始します。
systemctl start systemd-journal-gatewayd.service
Jessie-backports からパッケージをインストールするには、次の手順を実行する必要があります。
あなたの編集sources.list
nano /etc/apt/sources.list
次の行を追加します。
deb http://deb.debian.org/debian jessie-backports main contrib non-free
保存と更新:
apt-get update