Created
October 29, 2017 05:58
-
-
Save abdulhalim-cu/bc3d86ec54096ba8807c4469694150a8 to your computer and use it in GitHub Desktop.
How to remove Odoo from Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Stop Server | |
* Remove all odoo files | |
* Remove postgresql from system | |
STOP SERVER | |
sudo service odoo stop | |
or sudo service odoo-server stop (if odoo-server instead of odoo) | |
REMOVE ALL ODOO FILES | |
sudo rm -R /opt/odoo | |
REMOVE CONFIG FILES | |
sudo rm -f /etc/odoo.conf | |
sudo rm -f /etc/odoo/odoo.conf (if any) | |
sudo rm -f /etc/odoo-server.conf (if any) | |
sudo update-rc.d -f odoo remove | |
sudo update-rc.d -f odoo-server remove (if odoo-server instead of odoo) | |
sudo rm -f /etc/init.d/odoo (or odoo-server) | |
REMOVE USER AND USER GROUP | |
sudo userdel -r postgres | |
sudo groupdel postgres | |
REMOVE DATABASE | |
sudo apt-get remove postgresql -y | |
sudo apt-get --purge remove postgresql\* -y | |
sudo rm -rf /etc/postgresql/ | |
sudo rm -rf /etc/postgresql-common/ | |
sudo rm -rf /var/lib/postgresql/ | |
what is meant by this command sudo apt-get remove --purge odoo
what is meant by this command sudo apt-get remove --purge odoo
This is the opposite of sudo apt-get install
It's just simply means remove odoo
How to know for sure it is completed removed from my system? Any command to check that? Like python --version, if python is completed uninstalled then it will give an error something like that.
sudo apt-get remove --purge odoo
That's the comment to remove it and not check if it is removed or not.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo apt-get remove --purge odoo