id: b41141d36ae24156b74dd1cd8658d8b9
parent_id: 
item_type: 1
item_id: edefb537a998400d88105353ad469c6e
item_updated_time: 1764345577129
title_diff: "[{\"diffs\":[[1,\"Virtual Box + Ubuntu Server 14.04 安装 odoo 8.0\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":45}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Virtual Box + Ubuntu Server 14.04 安装 odoo 8.0</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/139381b3-a352-4b7f-8cd4-28c39d5cf9af/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"13533\\\"></a>\\\r\\\n<h1>Virtual Box + Ubuntu Server 14.04 安装 odoo 8.0</h1>\\\r\\\n\\\r\\\n<div>\\\n<span bgcolor=\\\"#FFFFFF\\\" style=\\\"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;\\\"><div><div><table bgcolor=\\\"#D4DDE5\\\" border=\\\"0\\\" width=\\\"100%\\\"><tbody><tr><td><h1>Virtual Box + Ubuntu Server 14.04 安装 odoo 8.0</h1><b>来源网址：</b> <a href=\\\"http://maie.name/666.html\\\">http://maie.name/666.html</a><br/></td></tr></tbody></table></div><div><br/><div style=\\\"font-size: 16px\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;-webkit-font-smoothing:antialiased;\\\"><div style=\\\"font-family:Titillium, Arial, sans-serif;font-size:16px;font-style:inherit;font-variant:inherit;font-weight:300;font-stretch:inherit;line-height:1.5em;vertical-align:baseline;color:rgb(102, 102, 102);background:rgb(234, 234, 234);\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;-webkit-box-shadow:rgba(0, 0, 0, 0.0980392) 0px 1px 1px;box-shadow:rgba(0, 0, 0, 0.0980392) 0px 1px 1px;background:rgb(255, 255, 255);\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;background-color:rgb(255, 255, 255);\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;zoom:1;background:url(http://maie.name/wp-content/themes/hueman/img/sidebar/s-right-s1.png) 100% 0px repeat-y;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;zoom:1;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;overflow:hidden;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;zoom:1;\\\"><h1 style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:38px;font-style:inherit;font-variant:inherit;font-weight:400;font-stretch:inherit;line-height:1.3em;vertical-align:baseline;color:rgb(68, 68, 68);word-wrap:break-word;margin-bottom:10px;letter-spacing:-1px;\\\">Virtual Box + Ubuntu Server 14.04 安装 odoo 8.0 手记</h1><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:14px;font-style:inherit;font-variant:inherit;font-weight:400;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(170, 170, 170);text-transform:uppercase;margin-bottom:1em;\\\"><span style=\\\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; color: rgb(102, 102, 102);\\\">DOO 即著名的开源 ERP 系统 OpenERP 系统，从 OpenERP 8.0 版本开始，正式更名为</span> <a href=\\\"http://maie.name/tag/odoo\\\" rel=\\\"tag\\\" style=\\\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; vertical-align: baseline; color: rgb(59, 141, 189); text-decoration: none; outline: 0px; -webkit-transition: 0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in odoo\\\">odoo</a><span style=\\\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; color: rgb(102, 102, 102);\\\">。一个系统即可实现公司网站、电商、CRM、项目管理、招聘、仓库、采购、财务、MRP 排程等一站式管理，是目前最为强大的勉强 ERP 系统，没有之一。在 Virtual Box 虚拟机中安装 Ubuntu Server 14.04 LTS 操作系统，再安装 Odoo 8.0 （Open ERP 系统的新名字），以下简要记述安装过程以便总结。</span></p><div style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:18px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:1.6em;vertical-align:baseline;\\\"><div style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\"><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><img src=\\\":/c1ef65e025364e029f80c35467049d21\\\" type=\\\"image/png\\\" data-filename=\\\"odoo-for-kylin.png\\\" alt=\\\"Install odoo for Ubuntu 14.04\\\" height=\\\"400\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;max-width:100%;height:auto;display:inline;cursor: default;cursor: default;cursor: default;cursor: default;cursor: default;cursor: default;cursor: default;\\\" width=\\\"800\\\"/></p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">下载 Ubuntu 系统</strong><br/>\\\n我安装的是 Ubuntu 服务器 (Ubuntu Server) 版，比桌面版小一半。当然你也可以安装 Ubuntu 桌面(Desktop)版。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><a href=\\\"http://www.ubuntu.com/download/desktop\\\" rel=\\\"nofollow\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\">下载 Ubuntu Server 系统</a>（仅 564MB）。会自动选择国内镜像，用IDM 多线程下载很快。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">Virtual Box 虚拟机安装 Ubuntu</strong><br/>\\\n创建虚拟电脑，虚拟电脑的内存至少设置为 1.5G 以上吧，设置网络为桥接方式。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">如何安装 Ubuntu Server 的教程就不写了，安装过程很简单，网站也有很多教程，这里就不详细描述了。需要注意的是语言最好选择 English ，简体中文安装后会出现很多乱码。<br/>\\\n如果不小心选择了中文，安装后通过以下代码改成英文。</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nsudo vi /etc/default/locale\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">将</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nLANG=&quot;cn_ZH.UTF-8&quot;\\\nLANGUAGE=&quot;cn_ZH:cn&quot;\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">修改成</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nLANG=”en_US.UTF-8”\\\nLANGUAGE=”en_US:en”\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">保存，运行</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nsudo locale-gen en_US.UTF-8\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">重启，语言切换为英文。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">设置 root 用户密码</strong></p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nsudo passwd root\\\n[sudo] password for you ：---&gt; 输入当前用户的密码，不会回显\\\nEnter new UNIX password: --- &gt; 设置 root 密码\\\nRetype new UNIX password: --&gt; 重复输入一次\\\nsu root #切换为 root 用户\\\n</pre><div><br/></div><div><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">open<a href=\\\"http://maie.name/tag/erp\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in erp\\\">erp</a> <a href=\\\"http://maie.name/tag/odoo\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in odoo\\\">odoo</a>-v8 for <a href=\\\"http://maie.name/tag/ubuntu\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in ubuntu\\\">ubuntu</a>-14.04 的安装脚本</strong><br/>\\\n由于 Maie 的 Linux 只是渣渣水平，只好下载 Schenkels 制作的 Odoo V8.0 for Ubuntu 14.04 的自动安装脚本。<br/><a href=\\\"https://github.com/aschenkels-ictstudio/openerp-install-scripts/blob/master/odoo-v8/ubuntu-14-04/odoo_install.sh\\\" rel=\\\"nofollow\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\">点击这下载 openerp-install-scripts</a> (by <a href=\\\"http://www.schenkels.nl/2014/07/odoo-v8-install-script-github-ubuntu-14-04-lts/\\\" rel=\\\"nofollow\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\">Schenkels</a>)</div><div><a href=\\\":/8598712aa5b64ee8ad9ce0acf401c5ea\\\"><img src=\\\":/1a381b8853d64163b441a5cebb437fd3\\\" alt=\\\"odoo_install.sh\\\"></a><br/></div><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">下载后，open<a href=\\\"http://maie.name/tag/erp\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in erp\\\">erp</a> 脚本里面有几个地方可以修改：<br/>\\\nOE_VERSION: 设置要安装的 ODOO 版本，比如 8.0 或 master (trunk)<br/>\\\nOE_USER: <a href=\\\"http://maie.name/tag/odoo\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in odoo\\\">odoo</a> 执行用户，默认是 odoo<br/>\\\nOE_HOME: odoo-server 主文件夹，默认是 odoo<br/>\\\nOE_CONFIG: config 配置文件，默认是 odoo-server<br/>\\\nOE_SUPERADMIN：默认的管理员用户密码，首次登录 web 时填写的那个，此脚本中默认是 superadminpassword，可以改成 admin 之类的。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">修改完脚本文件后保存成 odoo_install.sh 文件，用上传到FTP 或其它网站中（当然也可以用其它方式拷入，请大家补充）。到虚拟机中的 tmp 目录中执行：</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nwget http://上传地址/odoo_install.sh\\\n</pre><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\n设置此文件为可执行\\\n</pre><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nchmod +x odoo_install.sh\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">运行</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\n./odoo_install.sh\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">系统就会开始自动安装。<br/>\\\n启动和停止服务的方式：</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\n/etc/init.d/odoo-server start  #启动服务\\\n/etc/init.d/odoo-server stop   #停止服务\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">使用 OpenERP</strong><br/>\\\n安装完成后，在电脑上通过WEB访问 http://虚拟机IP:8069 就可以出来 odoo 初始数据库页面了。值得注意的是，这里的管理员用户密码一定要输入 openerp 安装脚本中 OE_SUPERADMIN 所设置的密码，否则将出现访问存取权限错误。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:600;font-stretch:inherit;line-height:inherit;vertical-align:baseline;\\\">修改 Linux 安装镜像源</strong><br/>\\\n值得注意的是，运行 odoo 自动安装脚本进行安装前最好把 Ubuntu 镜像源换到国内的镜像点，否则安装时 apt 更新慢得像蜗牛一样。</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">首先备份 Ubuntu 14.04 源列表</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nsudo cp /etc/apt/sources.list /etc/apt/sources.list.backup\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">修改更新源</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\nsudo vi /etc/apt/sources.list\\\n</pre><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">打开 Ubuntu 源列表文件，用下面的源替换</p><p style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;margin-bottom:1em;\\\">推荐 <a href=\\\"http://maie.name/tag/ubuntu\\\" rel=\\\"tag\\\" style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;color:rgb(59, 141, 189);text-decoration:none;outline:0px;transition:0.2s ease;-webkit-transition:0.2s ease;\\\" target=\\\"_blank\\\" title=\\\"View all posts in ubuntu\\\">ubuntu</a>.cn99.com 源或 163 源 mirrors.163.com:</p><pre style=\\\"margin:30px 0px;padding:18px 20px;border:1px solid rgb(221, 221, 221);font-family:Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;font-size:11px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:19px;vertical-align:baseline;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;overflow-y:hidden;background:url(http://maie.name/wp-content/themes/hueman/img/pre.png) 50% 0% repeat;\\\">\\\ndeb http://ubuntu.cn99.com/ubuntu/ Trusty main restricted universe multiverse\\\ndeb http://ubuntu.cn99.com/ubuntu/ Trusty-updates main restricted universe multiverse\\\ndeb http://ubuntu.cn99.com/ubuntu/ Trusty-security main restricted universe multiverse\\\ndeb http://ubuntu.cn99.com/ubuntu/ Trusty-backports main restricted universe multiverse\\\ndeb http://ubuntu.cn99.com/ubuntu-cn/ Trusty main restricted universe multiverse \\\n</pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br/><div><table bgcolor=\\\"#D4DDE5\\\" border=\\\"0\\\" width=\\\"100%\\\"><tbody><tr><td><h1>安装wkhtmltopdf - Vic的日志 - 网易博客</h1><b>来源网址：</b> <a href=\\\"http://vivianyw.blog.163.com/blog/static/1345474222014334256367/\\\">http://vivianyw.blog.163.com/blog/static/1345474222014334256367/</a><br/></td></tr></tbody></table></div><div><br/><div style=\\\"font-size: 16px\\\"><div style=\\\"overflow-x:auto;overflow-y:scroll;text-align:center;\\\"><div style=\\\"font-size:12px;font-family:'Hiragino Sans GB W3', 'Hiragino Sans GB', Arial, Helvetica, simsun, u5b8bu4f53;color:rgb(255, 255, 255);zoom:1;background:url(http://b.bst.126.net/newpage/style/nblog/4011/img/sky_01.jpg) 0% 0% repeat-x rgb(255, 255, 255);\\\"><div style=\\\"zoom:1;overflow:hidden;\\\"><div style=\\\"zoom:1;\\\"><div style=\\\"zoom:1;overflow:hidden;background-color:rgb(255, 255, 255);\\\"><div style=\\\"zoom:1;\\\"><div style=\\\"zoom:1;overflow:hidden;\\\"><div style=\\\"zoom:1;overflow:hidden;background-color:rgb(149, 210, 239);\\\"><div style=\\\"zoom:1;overflow:hidden;background-color:rgb(149, 210, 239);\\\"><div style=\\\"zoom:1;\\\"><div style=\\\"overflow:hidden;\\\"><div style=\\\"text-align:left;\\\"><div><h3 style=\\\"overflow:hidden;text-align:left;white-space:normal;word-wrap:break-word;word-break:break-all;font-size:16px;margin:34px 0px 10px;padding:0px;line-height:normal;\\\"><span style=\\\"font-size:26px;font-weight:bold;font-family:'Hiragino Sans GB W3', 'Hiragino Sans GB', 'Microsoft YaHei', 微软雅黑, Arial, Helvetica, simsun, 宋体;line-height:38px;\\\">安装wkhtmltopdf</span>  </h3><p style=\\\"zoom:1;margin:0px;padding:0px;text-align:left;color:rgb(73, 146, 180);margin-bottom:25px;line-height:20px;\\\"><span style=\\\"float:left;\\\"><span style=\\\"margin:0px 2px;\\\">2014-04-03 16:18:09</span><span style=\\\"margin:0px 2px;\\\">|  分类：</span> <a href=\\\"http://vivianyw.blog.163.com/blog/#m=0&amp;t=1&amp;c=fks_084068092087080069085084085095085085085070080081082065086\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(12, 68, 104);\\\" title=\\\"OpenERP笔记\\\">OpenERP笔记</a> <span style=\\\"margin:0px 2px;\\\">|  标签：</span><span style=\\\"color:rgb(12, 68, 104);\\\"><a href=\\\"http://vivianyw.blog.163.com/blog/#m=0&amp;t=3&amp;c=openerp打印\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(12, 68, 104);\\\">openerp打印</a>  <a href=\\\"http://vivianyw.blog.163.com/blog/#m=0&amp;t=3&amp;c=wkhtmltopdf\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(12, 68, 104);\\\">wkhtmltopdf</a>  </span></span> <span style=\\\"float:right;color:rgb(113, 150, 167);\\\"><span style=\\\"margin:0px 2px;\\\">|</span><span style=\\\"cursor:pointer;text-decoration:none;color:rgb(12, 68, 104);\\\">举报</span></span> <span style=\\\"float:right;color:rgb(113, 150, 167);\\\"><span style=\\\"margin:0px 2px;\\\">|</span><span style=\\\"color:rgb(12, 68, 104);position:relative;cursor:default;\\\">字号</span></span><span style=\\\"cursor:pointer;float:right;color:rgb(12, 68, 104);\\\"><span style=\\\"background-position:-360px -380px;display:inline-block;zoom:1;width:20px;height:20px;line-height:20px;background-image:url(http://b2.bst.126.net/newpage/images/icon.png?v=20120531);background-repeat:no-repeat;\\\"> </span><a style=\\\"cursor:pointer;text-decoration:none;color:rgb(12, 68, 104);\\\">订阅</a></span> <span style=\\\"text-align:left;color:rgb(73, 146, 180);clear:both;display:block;visibility:hidden;height:0px;\\\">.</span></p></div><div style=\\\"line-height:175%;font-size:16px;text-align:left;word-wrap:break-word;color:rgb(51, 102, 153);margin:15px 0px;padding:5px 0px;overflow:hidden;padding-left:0px;\\\"><p style=\\\"line-height:175%;margin:0px 0px 10px;padding:0px;\\\">安装OpenERP8.0 之后，使用打印功能，提示没有wkhtmltopdf，只能以html预览。</p><p style=\\\"line-height:175%;margin:0px 0px 10px;padding:0px;\\\">在Ubuntu 12.04 安装wkhtmltopdf</p><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">sudo apt</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 0, 136);\\\">get</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\"> install wkhtmltopdf</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n提示OpenERP需要至少wkhtmltopdf 0.12.0，检查安装的wkhtmltopdf的版本\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wkhtmltopdf </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">V</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n只到 0.8.x，google wkhtmltopdf发现，wkhtmltopdf的主机已经迁移到<a href=\\\"http://wkhtmltopdf.org/downloads.html\\\" rel=\\\"nofollow\\\" style=\\\"line-height:175%;text-decoration:none;color:rgb(12, 68, 104);\\\">http://wkhtmltopdf.org/downloads.html</a>，Ubuntu的源无法更新。wkhtmltopdf有编译好的Linux版本，找到<a href=\\\"http://wkhtmltopdf.org/downloads.html\\\" rel=\\\"nofollow\\\" style=\\\"line-height:175%;text-decoration:none;color:rgb(12, 68, 104);\\\">http://wkhtmltopdf.org/downloads.html</a>中对应的版本，查看打包文件的URL，下载编译好的版本：\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n32位版本：\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wget </span><a href=\\\"http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz\\\" rel=\\\"nofollow\\\" style=\\\"line-height:175%;text-decoration:none;color:rgb(12, 68, 104);\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">http</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">:</span><span style=\\\"line-height:175%;color:rgb(136, 0, 0);\\\">//downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz</span></a></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n解压缩下载到的文件：\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">tar </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">vxf wkhtmltox</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">linux</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">amd64_0</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">.</span><span style=\\\"line-height:175%;color:rgb(0, 102, 102);\\\">12.0</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">-</span><span style=\\\"line-height:175%;color:rgb(0, 102, 102);\\\">03c001d</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">.</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">tar</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">.</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">xz</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n得到一个目录wkhtmltox，把wkhtmltopdf复制到/usr/bin目录，更改所有者，并增加可执行属性\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n测试一下 \\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n&quot;Done&quot;表明顺利完成，当前目录下出现一个baidu.pdf，打开，正是百度首页。\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n至此wkhtmltopdf已顺利安装完成，从OpenERP客户端，测试打印功能。\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\nOK通过！\\\n</pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wkhtmltopdf </span><a href=\\\"http://www.baidu.com/\\\" rel=\\\"nofollow\\\" style=\\\"line-height:175%;text-decoration:none;color:rgb(12, 68, 104);\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">http</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">:</span><span style=\\\"line-height:175%;color:rgb(136, 0, 0);\\\">//www.baidu.com</span></a><span style=\\\"line-height:175%;color:rgb(136, 0, 0);\\\"> baidu.pdf</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">sudo cp wkhtmltox</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">bin</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wkhtmltopdf </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">usr</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">bin</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">sudo chown root</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">:</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">root </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">usr</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">bin</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wkhtmltopdf</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">sudo chmod </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">+</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">x </span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">usr</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">bin</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">/</span><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wkhtmltopdf</span></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;padding:2px;border:1px solid rgb(136, 136, 136);\\\"><br/><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">wget </span><a href=\\\"http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-i386_0.12.0-03c001d.tar.xz\\\" rel=\\\"nofollow\\\" style=\\\"line-height:175%;text-decoration:none;color:rgb(12, 68, 104);\\\"><span style=\\\"line-height:175%;color:rgb(0, 0, 0);\\\">http</span><span style=\\\"line-height:175%;color:rgb(102, 102, 0);\\\">:</span><span style=\\\"line-height:175%;color:rgb(136, 0, 0);\\\">//downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-i386_0.12.0-03c001d.tar.xz</span></a></pre><pre style=\\\"line-height:175%;white-space:pre-wrap;\\\">\\\n64为版本：\\\n</pre></div><div style=\\\"zoom:1;margin:5px 0px;padding:10px 0px;text-align:right;color:rgb(12, 68, 104);line-height:20px;\\\"><div style=\\\"margin-bottom:10px;height:32px;line-height:32px;text-align:left;\\\"><span style=\\\"color:rgb(113, 150, 167);\\\">阅读(<span>1321</span>)</span><span style=\\\"color:rgb(113, 150, 167);margin:0px 5px;\\\">|</span> <span style=\\\"color:rgb(113, 150, 167);\\\">评论(<span>3</span>)</span></div><div style=\\\"height:40px;line-height:40px;\\\"><div style=\\\"float:left;line-height:24px;height:24px;padding:8px 0px;\\\"><div style=\\\"float:left;\\\"><span style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -144px;\\\" title=\\\"分享到LOFTER\\\"> </span> <span style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -192px;\\\" title=\\\"分享到新浪微博\\\"> </span> <span style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -240px;\\\" title=\\\"分享到QQ空间\\\"> </span> <span style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -288px;\\\" title=\\\"分享到腾讯微博\\\"> </span><div style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -336px;position:relative;zoom:1;\\\" title=\\\"分享到微信\\\"><div style=\\\"color:rgb(73, 146, 180);visibility:hidden;position:absolute;left:-22px;bottom:28px;width:242px;height:113px;text-align:left;cursor:default;background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/code2dbg24.png) 0px 0px no-repeat;\\\"><img src=\\\":/9f3dd767b52c4260a9e9b5fa0b210b16\\\" type=\\\"image/jpeg\\\" data-filename=\\\"1345474222014334256367.jpg\\\" height=\\\"84\\\" style=\\\"float:left;width:84px;height:84px;margin:11px -108px 0px 11px;cursor: default;\\\" width=\\\"84\\\"/><div style=\\\"margin:30px 0px 0px 108px;color:rgb(119, 119, 119);font-size:12px;\\\"><p style=\\\"margin:0px;padding:0px;line-height:24px;\\\">用微信  “扫一扫”</p><p style=\\\"margin:0px;padding:0px;line-height:24px;\\\">将文章分享到朋友圈。</p></div><a style=\\\"color:rgb(12, 68, 104);\\\"> </a></div></div><div style=\\\"background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;float:left;width:24px;height:24px;padding:0px 0px 0px 6px;cursor:pointer;background-position:0px -384px;position:relative;zoom:1;\\\" title=\\\"分享到易信\\\"><div style=\\\"color:rgb(73, 146, 180);visibility:hidden;position:absolute;left:-22px;bottom:28px;width:242px;height:113px;text-align:left;cursor:default;background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/code2dbg24.png) 0px 0px no-repeat;\\\"><img src=\\\":/944456d206de4d859f5f2573b7aeb6b0\\\" type=\\\"image/jpeg\\\" data-filename=\\\"1345474222014334256367.jpg\\\" height=\\\"84\\\" style=\\\"float:left;width:84px;height:84px;margin:11px -108px 0px 11px;cursor: default;\\\" width=\\\"84\\\"/><div style=\\\"margin:30px 0px 0px 108px;color:rgb(119, 119, 119);font-size:12px;\\\"><p style=\\\"margin:0px;padding:0px;line-height:24px;\\\">用易信  “扫一扫”</p><p style=\\\"margin:0px;padding:0px;line-height:24px;\\\">将文章分享到朋友圈。</p></div><a style=\\\"color:rgb(12, 68, 104);\\\"> </a></div></div></div></div><div style=\\\"float:right;height:25px;line-height:25px;margin-left:0px;padding-top:6px;\\\"><span style=\\\"cursor:pointer;float:right;background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;width:34px;height:25px;line-height:25px;padding-left:29px;margin:0px 0px 0px 5px;font-size:12px;color:rgb(255, 255, 255);text-align:left;margin-left:6px;background-position:0px -96px;\\\">喜欢</span> <span style=\\\"cursor:pointer;float:right;background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;width:34px;height:25px;line-height:25px;padding-left:29px;margin:0px 0px 0px 5px;font-size:12px;color:rgb(255, 255, 255);text-align:left;margin-left:6px;background-position:0px -48px;\\\">推荐</span> <span style=\\\"cursor:pointer;float:right;background:url(http://vivianyw.blog.163.com/newpage/images/redesign2014/bkicons24.png) -9999px -9999px no-repeat;width:34px;height:25px;line-height:25px;padding-left:29px;margin:0px 0px 0px 5px;font-size:12px;color:rgb(255, 255, 255);text-align:left;margin-left:6px;background-position:0px 0px;\\\">转载</span></div></div><span style=\\\"text-align:right;color:rgb(12, 68, 104);line-height:20px;clear:both;display:block;visibility:hidden;height:0px;\\\">.</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br/></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":40242}]"
metadata_diff: {"new":{"id":"edefb537a998400d88105353ad469c6e","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348825521,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:01.907Z
created_time: 2025-11-28T21:04:01.907Z
type_: 13