6.1. Deleting a cluster of servers under Windows
The 1C:Enterprise server is deleted by a special utility that removes system components from the hard disk of a computer, makes changes to the Start menu and Windows system information.
It is necessary to shut down the 1C:Enterprise server before deleting it.
To delete the 1C:Enterprise, follow these steps:
- Open Windows control panel and click the Add or Remove Programs (Programs and features for Windows Vista and later) icon.
- If necessary, click the Replace or delete icon in the dialog box that is displayed.
- In the list of installed programs, select 1C Enterprise 8.3 (8.3.X.YYY) and click Delete.
You will be asked if you want to perform the uninstallation. If you confirm, Windows will start removing the selected 1C:Enterprise version from the computer and making the necessary changes to the system information.
6.2. Uninstalling a server cluster for Linux
To remove the 1C:Enterprise server from a computer, use the package manager software of the operating system in use. This section provides an example of using the RPM package manager.
IMPORTANT! Like installation, removal is performed under root.
Before deleting, you need to shut down the server cluster using the command:
In this command, the <ServiceName> stands for the name of the configuration file that was chosen for this server instance during the installation.
To delete, execute the following command:
rpm -e <RPM_package_name>
<Package_name_rpm>. In this case, it means the name of installed rpm-package of 1C:Enterprise. The name of the installed RPM package corresponds to the name of the package file, without the “.i386.rpm” suffix, for example, 1c_enterprise-18.104.22.168-common_8.3.18-100_i386.rpm. Thus, to remove the 1c_enterprise-22.214.171.124-common_8.3.18-100_i386.rpm package, enter the command:
rpm -e 1c_enterprise-126.96.36.199-common_8.3.18-100_i386.rpm
RPM packages must be deleted in the reverse order of installation so that the dependent packages are deleted before the packages they depend on. In 1C:Enterprise terms, this means that the RPM package 1C_Enterprise83-common must be deleted last.
You can also delete RPM packages using the command:
rpm -e`rpm -qa|grep 1C_`
This command deletes all installed packages that begin with the prefix “1C_”. Dependencies will be tracked automatically.
Similar commands are available for other package managers.