Report this

What is the reason for this report?

How do i Fully Uninstall glashfish from my Droplet?

Posted on January 16, 2017

I have install glassfish in my ubuntu droplet, now when i start the glashfish server using ssh command its closes the session when i close the ssh. so i would like to uninstall and install again with the list of step i have found in other sites; or if anyone can help me to overcome this challenge.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@tajmasindi

The easiest method would be to use apt, by running:

sudo apt-get remove glassfish-* \
&& sudo apt-get purge glassfish-*

It’ll ask you to confirm the removal each time. You can also auto-answer yes by running:

sudo apt-get -y remove glassfish-* \
&& sudo apt-get -y purge glassfish-*

What the above commands do is:

1). Removes the installation 2). Removes the configuration left behind.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.