Uninstallating

Before uninstalling, please ensure that you have a proper backup of the Stream component. Once uninstalled, all Stream data will be irremediably lost!

Uninstalling Stream consists in uninstalling:

  • The Stream service;

  • The MongoDB service;

  • The NGINX service.

Uninstalling Stream

Access the server through SSH with an account with administrative privileges;

Uninstall Stream with the following commands:

# systemctl stop stream
# yum remove stream
# rm -rf /opt/stream
# rm -rf /var/log/stream
# rm -f /etc/default/stream

Uninstalling NGINX

Access the server through SSH with an account with administrative privileges;

Uninstall NGINX with the following commands:

# systemctl stop nginx
# yum remove nginx
# rm -rf /etc/nginx
# rm -rf /var/log/nginx

Uninstalling MongoDB

Access the server through SSH with an account with administrative privileges;

Uninstall MongoDB with the following commands:

# systemctl stop mongod
# rpm -qa | grep -i mongo | xargs rpm -e
# rm -rf /var/log/mongodb
# rm -rf /var/lib/mongodb