<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ZHYF的杂记</title>
    <link>https://v2.jf360.tech/</link>
    <description>Recent content on ZHYF的杂记</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sat, 04 Jul 2020 00:32:00 +0800</lastBuildDate>
    
	<atom:link href="https://v2.jf360.tech/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>CentOS 更新/打补丁</title>
      <link>https://v2.jf360.tech/post/centos-update/</link>
      <pubDate>Sat, 04 Jul 2020 00:32:00 +0800</pubDate>
      
      <guid>https://v2.jf360.tech/post/centos-update/</guid>
      <description>升级所有包同时也升级软件和系统内核  yum -y update
 只升级所有包，不升级软件和系统内核  yum -y upgrade
 检测可更新软件包  yum check-update
 更新指定包  yum update package_name
 安全更新  yum update --security
官方文档：https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-yum</description>
    </item>
    
    <item>
      <title>PostgreSql数据库的备份与还原</title>
      <link>https://v2.jf360.tech/post/postgresql-backup/</link>
      <pubDate>Thu, 25 Jun 2020 16:50:44 +0800</pubDate>
      
      <guid>https://v2.jf360.tech/post/postgresql-backup/</guid>
      <description>PostgreSql用pg_dump命令进行备份  pg_dump -h 127.0.0.1 -p 5432 -U username -c -C -f filename.sql database
 PostgreSql用psql命令还原数据库  psql -h 127.0.0.1 -p 5432 -U username -f filename.sql</description>
    </item>
    
    <item>
      <title>Odoo在PyCharm中无法调试的问题</title>
      <link>https://v2.jf360.tech/post/odoo-pycharm-debug/</link>
      <pubDate>Thu, 25 Jun 2020 16:23:44 +0800</pubDate>
      
      <guid>https://v2.jf360.tech/post/odoo-pycharm-debug/</guid>
      <description>打开odoo\tools\translate.py文件，找到函数resetlocale()，大约在1152行（v13）中添加一行代码：
ln = ln[0:ln.index(&#39;.&#39;)]
如下：
try: return locale.setlocale(locale.LC_ALL, ln) 改为：
try: ln = ln[0:ln.index(&amp;#39;.&amp;#39;)] # 添加此行 return locale.setlocale(locale.LC_ALL, ln) 此问题貌似不会出现在英文windows中，所以Odoo官方一直没注意到这个问题；此解决办法对Odoo 12同样有效。</description>
    </item>
    
    <item>
      <title>Nginx日常操作</title>
      <link>https://v2.jf360.tech/post/nginx/</link>
      <pubDate>Wed, 24 Jun 2020 09:23:44 +0800</pubDate>
      
      <guid>https://v2.jf360.tech/post/nginx/</guid>
      <description>检查Nginx服务是否启动 ps -ef|grep nginx
启动Nginx nginx
或
nginx -c /etc/nginx/nginx.conf
或
service nginx start
检查配置文件 nginx -t -c /etc/nginx/nginx.conf
重启 nginx -s reload
关闭 nginx -s stop
或
service nginx stop
或
从容停止kill -QUIT 主进程号
或
强制停止pkill -9 nginx</description>
    </item>
    
    <item>
      <title>About</title>
      <link>https://v2.jf360.tech/about/</link>
      <pubDate>Wed, 24 Jun 2020 08:00:48 +0800</pubDate>
      
      <guid>https://v2.jf360.tech/about/</guid>
      <description>关于本站 本站主要用于收集本人日常工作中用到的资料。</description>
    </item>
    
  </channel>
</rss>