摘要: Let me check: The above shows the default encoding of python is utf8. Then the error is no more. 阅读全文
posted @ 2016-03-21 12:12 老醋蛰头 阅读(677) 评论(0) 推荐(0)
摘要: Wkhtmltopdf 失败 (错误代码: -6). 消息: The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not su 阅读全文
posted @ 2016-03-09 12:50 老醋蛰头 阅读(16385) 评论(0) 推荐(0)
摘要: deb是Debian linux的安装格式,跟redhat的rpm非常相似,最基本的安装命令是: dpkg -i file.deb dpkg是Debian Package的简写,是为Debian专门开发的管理系统套件,方便软件的安装,更新和移除。所有源自Debian的Linux发行版都使用dpkg, 阅读全文
posted @ 2016-03-09 10:48 老醋蛰头 阅读(627) 评论(0) 推荐(0)
摘要: 解决Odoo出现的问题:Unable to find Wkhtmltopdf on this system. The report will be shown in html. 下载wkhtmltopdf文件,我下载的是64位版本,根据你的系统来选择是32位还是64位。 suod wget http 阅读全文
posted @ 2016-03-09 10:20 老醋蛰头 阅读(515) 评论(0) 推荐(0)
摘要: Debian下如何查看版本信息, 包括位数、版本信息以及CPU内核信息、CPU具体型号等等,整个CPU信息一目了然。 1、odoo@debian64:~$ uname -a(Debian查看版本当前操作系统内核信息) Linux debian64 3.16.0-4-amd64 #1 SMP Debi 阅读全文
posted @ 2016-03-09 08:34 老醋蛰头 阅读(42369) 评论(1) 推荐(1)
摘要: 解决方案: 执行如下指令进入PostgreSQL控制台: sudo -u postgres psql postgres 然后在PostgreSQL控制下按顺序执行如下指令: update pg_database set datallowconn = TRUE where datname = 'tem 阅读全文
posted @ 2016-03-04 08:36 老醋蛰头 阅读(676) 评论(0) 推荐(0)
摘要: 环境描述: A客户机,安装有putty软件使用SSH方式登录B主机中的虚拟机中的linux;A机的网络地址:192.168.1.2 B主机为Windows7平台,B主机的网络地址为:192.168.1.186,使用Vmware虚拟了一台linux系统的主机C 虚拟机C的网络地址为192.168.21 阅读全文
posted @ 2016-03-03 15:05 老醋蛰头 阅读(2814) 评论(0) 推荐(0)
摘要: 解决方案: apt-get install node-less 阅读全文
posted @ 2016-03-03 13:11 老醋蛰头 阅读(378) 评论(0) 推荐(0)
摘要: Debian8.3.0下安装Odoo8.0的方法 假设你已经安装好了Debian 系统,使用root帐号执行如下命令 # apt-get update && apt-get upgrade # Install system updates # apt-get install sudo # Make 阅读全文
posted @ 2016-03-01 11:25 老醋蛰头 阅读(585) 评论(0) 推荐(0)
摘要: tee命令可以做到这一点: 例:ls -al /home | tee log 就可以把命令输出的内容显示在屏幕上的同时也输出至文件log。 阅读全文
posted @ 2016-03-01 08:24 老醋蛰头 阅读(4308) 评论(0) 推荐(0)