博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年1月21日

摘要: 版本信息 os版本:redhat5.7 vsftp版本:2.0.5-21.el5 以下涉及用户均为本地用户 1.关闭selinux vi /etc/selinux/config selinux=disabled 2.关闭防火墙 service iptables stop service ip6tab 阅读全文

posted @ 2022-01-21 11:23 Sxcan 阅读(177) 评论(0) 推荐(0) 编辑

2021年9月3日

摘要: import datetime # 字符串日期+天数 >>> a = datetime.datetime.strptime("2021-08-28", "%Y-%m-%d") + datetime.timedelta(days=4) datetime.datetime(2021, 9, 1, 0, 阅读全文

posted @ 2021-09-03 13:42 Sxcan 阅读(97) 评论(0) 推荐(0) 编辑

2021年8月25日

摘要: 内网环境Vscode配置远程Django远程环境,折腾了好久。。。 本地环境: Window 10 Vscode 1.59.0 远程环境: Python3.6.7 Centos7.6 免密配置 1.生成密匙和公钥 切到C:\Users\Administrator\.ssh目录下,如果是其他用户就将A 阅读全文

posted @ 2021-08-25 17:54 Sxcan 阅读(557) 评论(0) 推荐(0) 编辑

摘要: Postgres容灾库恢复 做vacuum full时因归档产生速度过快,备库应用不及时,导致缺失归档,备库损坏 1.主库做pg_rman全备 #!/bin/bash source ~/.bash_profile ########################################### 阅读全文

posted @ 2021-08-25 15:16 Sxcan 阅读(713) 评论(0) 推荐(0) 编辑

2021年7月30日

摘要: 1、Linux知识库 https://man.linuxde.net/ 2、个人博客 Linux相关 http://linuxperf.com/ Linux&开发 https://wsgzao.github.io/page/2/ 阅读全文

posted @ 2021-07-30 15:50 Sxcan 阅读(47) 评论(0) 推荐(0) 编辑

2021年7月2日

摘要: 2021-05-09 维护重启后通过ILO无法登入系统,显示黑屏,SSH软件无法连接,报警报宕机。 数据库信息 Oracle 11.2.0.4 Linux Red Hat Enterprise Linux Server release 7.6 (Maipo) 解决: 1.查看服务器是否有硬件问题,未 阅读全文

posted @ 2021-07-02 17:00 Sxcan 阅读(2926) 评论(0) 推荐(0) 编辑

2020年12月2日

摘要: 使用前需要确定导入导出的文件路径,oracle通过directory来识别系统上的文件路径。 1.查看有哪些目錄可供使用 SQL> select * from dba_directories; OWNER DIRECTORY_NAME DIRECTORY_PATH SYS XMLDIR /oracl 阅读全文

posted @ 2020-12-02 14:08 Sxcan 阅读(286) 评论(0) 推荐(0) 编辑