Openerp 从Ubuntu14.04桌面删除Odoo9?

Openerp 从Ubuntu14.04桌面删除Odoo9?,openerp,ubuntu-14.04,odoo-9,Openerp,Ubuntu 14.04,Odoo 9,我想卸载Odoo9并在我的linux系统中重新安装。有人能帮我吗?只需按照以下步骤操作即可 service odoo-server stop 删除配置文件 删除应用程序代码 删除启动过程 删除日志 删除数据库 删除用户和组 删除postgre 查找文件pg_hba.conf——它可能位于/etc/postgresql-9.1/pg_hba.conf中 cd /etc/postgresql-9.1/ 支持它 放置以下行(作为第一个未注释行或唯一一行): 重新启动PostgreSQL服务器(例如

我想卸载Odoo9并在我的linux系统中重新安装。有人能帮我吗?

只需按照以下步骤操作即可

service odoo-server stop
删除配置文件 删除应用程序代码 删除启动过程 删除日志 删除数据库 删除用户和组 删除postgre 查找文件
pg_hba.conf
——它可能位于
/etc/postgresql-9.1/pg_hba.conf

cd /etc/postgresql-9.1/
支持它 放置以下行(作为第一个未注释行或唯一一行): 重新启动PostgreSQL服务器(例如,在Linux上:)

您现在可以作为任何用户进行连接。作为超级用户postgres连接(注意,超级用户名在您的安装中可能不同。例如,在某些系统中称为pgsql。)

重置密码

ALTER USER my_user_name with password 'my_secure_password';
恢复旧的
pg_hba.conf
,因为随身携带非常危险

cp pg_hba.conf-backup pg_hba.conf
重新启动服务器,以便使用safe
pg_hba.conf

sudo /etc/init.d/postgresql restart

如果您已经安装了
wkhtmltopdf
wkhtmltoimage
,您可能也想删除它们,符号链接分别位于:
/usr/bin/wkhtmltopdf
/usr/bin/wkhtmltoimage
sudo service postgresql stop
apt-get remove postgresql -y
apt-get --purge remove postgresql\* -y
rm -r -f /etc/postgresql/
rm -r -f /etc/postgresql-common/
rm -r -f /var/lib/postgresql/
userdel -r postgres
groupdel postgres
cd /etc/postgresql-9.1/
cp pg_hba.conf pg_hba.conf-backup
local  all   all   trust
sudo /etc/init.d/postgresql restart
psql -U postgres
ALTER USER my_user_name with password 'my_secure_password';
cp pg_hba.conf-backup pg_hba.conf
sudo /etc/init.d/postgresql restart