从 Ubuntu 14.04 桌面删除 Odoo 9?
Removing Odoo 9 from Ubuntu 14.04 desktop?
我想卸载 Odoo 9 并在我的 linux 系统中重新安装。谁能帮帮我?
只需按照以下步骤操作
service odoo-server stop
删除配置文件
rm -f /etc/odoo-server.conf
rm -f /etc/odoo.conf
删除应用代码
rm -R /opt/odoo
删除启动进程
update-rc.d -f odoo-server remove
rm -f /etc/init.d/odoo-server
删除日志
rm -R /var/log/odoo
删除数据库
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
删除 postgre
找到文件 pg_hba.conf
- 它可能位于,例如 /etc/postgresql-9.1/pg_hba.conf
.
cd /etc/postgresql-9.1/
备份
cp pg_hba.conf pg_hba.conf-backup
放置以下行(作为第一行未注释的行,或作为唯一的行):
local all all trust
重新启动您的 PostgreSQL 服务器(例如,在 Linux:)
sudo /etc/init.d/postgresql restart
您现在可以以任何用户身份连接。以超级用户 postgres 身份连接(请注意,超级用户名称在您的安装中可能不同。例如,在某些系统中它称为 pgsql。)
psql -U postgres
重设密码
ALTER USER my_user_name with password 'my_secure_password';
恢复旧的pg_hba.conf
,因为随身携带非常危险
cp pg_hba.conf-backup pg_hba.conf
重启服务器,为了运行安全pg_hba.conf
sudo /etc/init.d/postgresql restart
我想卸载 Odoo 9 并在我的 linux 系统中重新安装。谁能帮帮我?
只需按照以下步骤操作
service odoo-server stop
删除配置文件
rm -f /etc/odoo-server.conf
rm -f /etc/odoo.conf
删除应用代码
rm -R /opt/odoo
删除启动进程
update-rc.d -f odoo-server remove
rm -f /etc/init.d/odoo-server
删除日志
rm -R /var/log/odoo
删除数据库
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
删除 postgre
找到文件 pg_hba.conf
- 它可能位于,例如 /etc/postgresql-9.1/pg_hba.conf
.
cd /etc/postgresql-9.1/
备份
cp pg_hba.conf pg_hba.conf-backup
放置以下行(作为第一行未注释的行,或作为唯一的行):
local all all trust
重新启动您的 PostgreSQL 服务器(例如,在 Linux:)
sudo /etc/init.d/postgresql restart
您现在可以以任何用户身份连接。以超级用户 postgres 身份连接(请注意,超级用户名称在您的安装中可能不同。例如,在某些系统中它称为 pgsql。)
psql -U postgres
重设密码
ALTER USER my_user_name with password 'my_secure_password';
恢复旧的pg_hba.conf
,因为随身携带非常危险
cp pg_hba.conf-backup pg_hba.conf
重启服务器,为了运行安全pg_hba.conf
sudo /etc/init.d/postgresql restart