惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Know Your Adversary
Know Your Adversary
Latest news
Latest news
H
Help Net Security
C
CERT Recently Published Vulnerability Notes
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Cyber Attacks, Cyber Crime and Cyber Security
Security Latest
Security Latest
B
Blog RSS Feed
V
Vulnerabilities – Threatpost
T
Threatpost
量子位
P
Proofpoint News Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cisco Talos Blog
Cisco Talos Blog
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Recorded Future
Recorded Future
博客园 - 聂微东
博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
Forbes - Security
Forbes - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
小众软件
小众软件
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Last Week in AI
Last Week in AI
N
News and Events Feed by Topic
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
PCI Perspectives
PCI Perspectives
T
Tenable Blog
C
Cybersecurity and Infrastructure Security Agency CISA
L
LangChain Blog
SecWiki News
SecWiki News
H
Hacker News: Front Page
WordPress大学
WordPress大学
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Schneier on Security
H
Heimdal Security Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - 【当耐特】
A
About on SuperTechFans
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Tailwind CSS Blog

博客园 - 秃顶的大熊猫

Abp中的sweetalert的版本问题 - 秃顶的大熊猫 - 博客园 Asp.net Core 部署到Azure.cn的一个小问题 在ASP.NET MVC5 及 Visual Studio 2013 中为Identity账户系统配置数据库链接及Code-First数据库迁移 Windows Azure上的Odoo(OpenERP)-1.创建Ubuntu虚拟机,安装PostgreSQL 数据库 Windows Azure上的Odoo(OpenERP) 备忘录:Asp.net mvc中的UpLoad小技巧 Html.Label的缺陷及补救办法 真实场景中的SharePoint2010系列(开篇) Asp.Net Mvc 应用程序如何应对不同的URL地址?????,问题解决了 Asp.Net Mvc 应用程序如何应对不同的URL地址????? 为ASP.NET MVC配置基于Active Directory的表单认证方式 MOSS2007-学习笔记-备忘录-单点登录设置(2) MOSS2007-学习笔记-备忘录-单点登录-(1)-"我的网站'? 由公司协同工作平台项目引发的Windows Active Directory(活动目录域)的应用问题 似乎是发现了asp.net ajaxToolkit中TAB控件的一个BUG 动态创建ASP.NET AJAX Control Toolkit中的Accordion控件 学习SQLSERVER2005高可用性数据库镜像的一些心得 贴几张我儿子的照片,大家看看可爱不 哈哈,我回来了!
Windows Azure上的Odoo(OpenERP)-2.在Ubuntu虚拟机上部署Odoo(OpenERP)
秃顶的大熊猫 · 2014-06-27 · via 博客园 - 秃顶的大熊猫

创建虚拟机的步骤在这里就不再赘述了,请参考上一篇博文。

首先用下述命令将Ubuntu系统进行更新:

1. sudo apt-get update

2. sudo apt-get upgrade

3. sudo apt-get dist-upgrade

然后使用您熟悉的文本编辑器,编辑/etc/apt/sources.list

7.0稳定版

deb http://nightly.openerp.com/7.0/nightly/deb/  ./

开发版,应为8.0版

deb http://nightly.odoo.com/trunk/nightly/deb/ ./
使用 sudo apt-get update
sudo apt-get install openerp
然后静等安装结束吧!
这种安装方式有一个问题,就是会将PostgreSQL数据库安装到系统中。当然我们在最后要将其删除。
这种安装方式比较适合生产方式使用。安装完毕后,一些需要的组件会自动安装,一些参数也自动配置完毕。
安装完毕后,输入:openerp-server, 就可以了。
下一步我们要使用如下的命令来生成配置文件
sudo openerp-server –s –c <config_file_path>
编辑配置文件中关于数据库连接的部分:
db_host = xxx.xxx.xxx.xxx
db_password = xxxxxxxxxxx
db_port = 5432
db_user = xxxxxxxx
配置文件最好存放在/etc/openerp/下,接下来我们还会用到。
配置文件修改完毕后,我们使用 openerp-server –c <config_file_path>运行系统。
这里面有一个小小的坑,这个配置文件的所有权应修改为系统登录用户,如果不进行修改,在进行开机自启动设置时,会导致错误。
现在我们来编辑/etc/init.d/openerp,检查其中的一些配置是否正确。
文件检查完毕后,使用 sudo /etc/init.d/openerp start,检查系统是否运行正常。
正常后,请使用sudo update-rc.d openerp defaults命令将OpenERP系统设置为开机自启动。
最后,我们来使用如下命令来删除本机的PostgreSQL数据库:
dpkg –purge postgresql-9.3
后面的数字为PostgreSQL数据库的版本号。