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

推荐订阅源

U
Unit 42
T
Threatpost
C
CERT Recently Published Vulnerability Notes
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Security Archives - TechRepublic
Security Archives - TechRepublic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
Project Zero
Project Zero
H
Heimdal Security Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Know Your Adversary
Know Your Adversary
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Schneier on Security
Schneier on Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
News | PayPal Newsroom
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
Cloudbric
Cloudbric
V
Vulnerabilities – Threatpost
Hacker News: Ask HN
Hacker News: Ask HN
S
Securelist
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
NISL@THU
NISL@THU
N
News and Events Feed by Topic
S
Security Affairs
The Last Watchdog
The Last Watchdog
T
Tor Project blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
AWS News Blog
AWS News Blog
P
Proofpoint News Feed
C
Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tenable Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Schneier on Security

博客园 - 秃顶的大熊猫

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数据库的版本号。