Uninstalling Manager from Amazon Linux

Uninstall Manager as a user who has an administrator privilege.

1. Stop the PostgreSQL service.

Stop the PostgreSQL service by using the following command:

service pgsql-iot stop

2. Disable the PostgreSQL service.

Disable the PostgreSQL service by using the following command:

chkconfig pgsql-iot off

3. Delete the PostgreSQL service.

Delete the PostgreSQL service by using the following command:

chkconfig --del pgsql-iot

4. Stop the Manager service.

Stop the Manager service by using the following command:

service hulftiot-manager stop

5. Disable the Manager service.

Disable the Manager service by using the following command:

chkconfig hulftiot-manager off

6. Delete the Manager service.

Delete the Manager service by using the following command:

chkconfig --del hulftiot-manager

7. Uninstall Manager.

Uninstall Manager by using the following command:

rm -r /etc/init.d/pgsql-iot

rm -r /etc/init.d/hulftiot-manager

8. Delete the Manager installation directory.

Delete the Manager installation directory by using the following command. The default directory is "/opt/hulftiot-manager".

rm -rf /opt/hulftiot-manager