Security Server installation can be removed manually by removing X-Road packages and configuration directories.

Step-by-step guide

Security Server installation can be removed manually by executing the shell script below.

Ubuntu 18

remove.sh
#!/bin/sh
   
set -x
   
sudo apt-get purge xroad-base
sudo apt-get autoremove
sudo rm -rf /etc/xroad
sudo rm -rf /usr/share/xroad
sudo rm -rf /var/lib/xroad
sudo rm -rf /var/log/xroad
sudo rm -rf /var/tmp/xroad
sudo apt-get purge nginx
sudo -u postgres dropdb messagelog
sudo -u postgres dropdb serverconf
sudo -u postgres psql -c "drop user serverconf"
sudo apt-get purge postgresql

RHEL7

remove.sh
#!/bin/sh
    
set -x
    
sudo yum remove xroad-base
sudo rm -rf /etc/xroad
sudo rm -rf /usr/share/xroad
sudo rm -rf /var/lib/xroad
sudo rm -rf /var/log/xroad
sudo rm -rf /var/tmp/xroad
sudo yum remove nginx
sudo -u postgres dropdb messagelog
sudo -u postgres dropdb serverconf
sudo -u postgres psql -c "drop user serverconf"
sudo yum remove postgresql

Your Rating: Results: 1 Star 2 Star 3 Star 4 Star 5 Star 2 rates