Uninstalling BILLmanager from the server may require if you:
- reinstall the platform after a complete removal of the previous version and need to avoid conflicts with previous settings or data;
- migrate to a different version of the platform — BILLmanager Enterprise is installed and Hosting&Cloud is required, or vice versa;
- migrate BILLmanager to a new server and free up the old server for other tasks.
To uninstall BILLmanager, choose the uninstallation option that best suits your needs:
- OS reinstallation with disk cleanup — if you need to completely clean the system from all data and settings, including BILLmanager and other installed applications;
- removing software packages — if you need to remove only BILLmanager, leaving other applications and data on the server. To remove software packages related to BILLmanager and COREmanager, follow the instructions below.
Viewing installed software packages
To display a list of installed packages, enter the command:
AlmaLinux
rpm -qa | grep -E 'billmanager|coremanager'
Подробнее
Ubuntu
dpkg --get-selections | grep -v deinstall | grep -E 'billmanager|coremanager'
Подробнее
Uninstalling basic software packages
Before deleting, make sure you have backed up the necessary data. For more information, see the Backup configuration.
Removal algorithm
- Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
- Остановите службы BILLmanager и COREmanager:
sudo systemctl stop billmanager coremanager
- Remove BILLmanager and COREmanager: AlmaLinux
sudo dnf remove billmanager coremanager
Ubuntusudo apt remove billmanager coremanager
- Remove configuration files: AlmaLinux
sudo rm -rf /usr/local/mgr5/etc/*.conf
ПояснениеUbuntusudo apt purge billmanager coremanager
-
Clean up unused dependencies:
AlmaLinuxsudo dnf autoremove
Ubuntusudo apt autoremove
- Make sure that BILLmanager is successfully uninstalled:
If the output of a command containssystemctl status billmanager coremanager
removal was successful.Unit billmanager.service could not be found Unit coremanager.service could not be found
Useful tips
Related articles: