/
How to Manually Remove Central Server Installation?

How to Manually Remove Central Server Installation?

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

Step-by-step guide

Central Server installation can be removed manually by executing the shell script below:

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 centerui_production
sudo -u postgres psql -c "drop user centerui"
sudo apt-get purge postgresql



Related content

How to Configure Central Server (version >= 7.3.0)?
How to Configure Central Server (version >= 7.3.0)?
More like this
How to Configure Central Server?
How to Configure Central Server?
More like this
How to Manually Remove Security Server Installation?
How to Manually Remove Security Server Installation?
More like this
How to Access the Central Server Postgres Database?
How to Access the Central Server Postgres Database?
More like this
How to Set Up a Central Server?
How to Set Up a Central Server?
More like this
How to Upgrade Central Server to Ubuntu 18.04 Using a Configuration Backup?
How to Upgrade Central Server to Ubuntu 18.04 Using a Configuration Backup?
More like this