HULFTのアンインストール(Linux)

管理者権限を持つユーザーがアンインストールしてください。

1. 次に示すコマンドを実行します。

Amazon Linuxの場合のコマンド例

service hulft-iot stop  サービス停止

chkconfig hulft-iot off  サービス無効化

chkconfig --del hulft-iot  サービス削除

rm -f /etc/init.d/hulft-iot  サービス用initスクリプトファイルの削除

環境変数を設定している場合は、手動で環境設定を削除します。

Red Hat Enterprise Linux 7の場合のコマンド例

systemctl stop hulftsnd-iot.service サービス停止

systemctl stop hulftrcv-iot.service サービス停止

systemctl stop hulftobs-iot.service サービス停止

systemctl disable hulftsnd-iot.service サービス無効化

systemctl disable hulftrcv-iot.service サービス無効化

systemctl disable hulftobs-iot.service サービス無効化

rm -f /etc/systemd/system/hulftsnd-iot.service サービス用ユニット定義ファイルの削除

rm -f /etc/systemd/system/hulftrcv-iot.service サービス用ユニット定義ファイルの削除

rm -f /etc/systemd/system/hulftobs-iot.service サービス用ユニット定義ファイルの削除

環境変数を設定している場合は、手動で環境設定を削除します。

2. サービスの起動状態をプロセス名で検索して確認します。

コマンド例

pgrep -f hulrcvd

pgrep -f hulsndd

pgrep -f hulobsd

サービスが起動されている場合は、プロセスIDが返却されます。サービスが起動されている場合は、手順1をやり直します。

3. HULFTをアンインストールします。

コマンド例

rm -rf /opt/hulftiot-manager/hulft インストールディレクトリの削除