5.2.2 Uninstallation (in Linux)
To uninstall JP1/DH - Server:
-
Log in to the host on which you want to install JP1/DH - Server as a super user. Alternatively, use the su command to change the user to a super user.
-
On the local host, stop the JP1/DH - Server program and services.
Display information about services to make sure that no JP1/DH - Server service is running. If any JP1/DH - Server program and services are running on the local host, stop all of them.
-
Execute the following command to start Hitachi PP Installer:
/etc/hitachi_x64setup
-
The Hitachi PP Installer initial window appears. For details about the initial window, see 5.2.1 New installation, overwrite installation, and upgrade installation (in Linux).
-
In the initial window, enter D.
A list of software programs you can uninstall is displayed.
-
Move the cursor to JP1/DH - Server, and then select it by using the spacebar. Enter D.
JP1/DH - Server is uninstalled.
-
When the uninstallation is completed, enter Q. The initial window appears again.
-
Delete the user.
Manually delete the user postgres that was added when JP1/DH - Server was installed and the home directory. Before deleting the home directory, check the contents in it and save any necessary files.
-
Delete the data folder.
Manually delete the data folder created when JP1/DH - Server was installed (/opt/jp1dh/server/PostgreSQL/9.4/data).