2005wind

导航

2019年6月5日 #

python smtplib server not connect

摘要: 最近发现用smtplib发邮件一直发送不成功,使用debug发现前面都正常,但是DATA发送直接被smtp服务器直接断开。smtp服务器显示body丢失。 后来发现是我加了附件,有指定文件类型: 去掉这个指定编码,正常发送。。。 阅读全文

posted @ 2019-06-05 10:05 2005wind 阅读(690) 评论(0) 推荐(0) 编辑

2018年9月4日 #

非交互式一句话添加root用户

摘要: useradd -p `openssl passwd -1 -salt ‘lsof’ admin123` -u 0 -o -g root -G root -s /bin/bash -d /usr/bin/ admin 删除 修改/etc/passwd上的uid值 然后userdel admin 阅读全文

posted @ 2018-09-04 14:13 2005wind 阅读(260) 评论(0) 推荐(0) 编辑

2017年9月19日 #

jenkins 使用Git 报错:SSL certificate problem: self signed certificate in certificate chain

摘要: 在启动java的脚本上执行 增加参数: -Dorg.jenkinsci.plugins.gitclient.GitClient.untrustedSSL=true 即可!! 阅读全文

posted @ 2017-09-19 10:23 2005wind 阅读(3319) 评论(0) 推荐(0) 编辑

2017年6月16日 #

AIX X11卡顿严重

摘要: 在AIX上安装数据库,使用xshell开启dbca,发现卡顿严重,数据包也时断时续,排除掉网络问题,发现字符集采用的是中文,发现ftp服务业异常,将字符集修改成英语,重启机器,问题解决: 修改如下: smitty System Environments Manage Language Environ 阅读全文

posted @ 2017-06-16 10:45 2005wind 阅读(549) 评论(0) 推荐(0) 编辑

2016年1月22日 #

oracle odbc mysql 字段不全

摘要: 主要是字段集不对,mysql的字符集默认设置为utf8,odbc才是unicode编码连接,无法转发。选择ansi连接方式即可。 阅读全文

posted @ 2016-01-22 18:02 2005wind 阅读(259) 评论(0) 推荐(0) 编辑

2015年12月30日 #

oracle创建与mysql的dblink

摘要: 1.先简单介绍下环境操作系统:windows 2008 R2 (64bits)oracle数据库:10gr2 10.2.0.3.0(32bits)mysql数据库:5.1 (32bits)2.下载mysql的odbc驱动,我用的是mysql-connector-odbc-5.3.4-win32并安装... 阅读全文

posted @ 2015-12-30 11:11 2005wind 阅读(7218) 评论(0) 推荐(1) 编辑

2015年11月12日 #

oracle 索引移动到不同的分区

摘要: 最近系统空间不够,要进行数据库清理,truncate数据之后,发现数据不连续,导致这个表空间占用巨大,想过使用shrink、move。但是shrink得效率比较慢,选择了move。语句大概如此:SELECT 'alter table sdmp.' || C.TABLE_NAME || ' move ... 阅读全文

posted @ 2015-11-12 10:44 2005wind 阅读(308) 评论(0) 推荐(0) 编辑

2015年10月27日 #

Problem creating zip: Execution exce ption (and the archive is probably corrupt but I could not delete it): Java heap space -> [Help 1]

摘要: 今天mvn编译的时候报错:[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-assembly-plugin:2.5.5:single(make-assembly)onprojectcommon-transform:Failedtocre... 阅读全文

posted @ 2015-10-27 17:47 2005wind 阅读(2557) 评论(0) 推荐(0) 编辑

2015年10月22日 #

maven 编码 UTF-8 的不可映射字符

摘要: maven编译时报错,后面发现代码是用GBK编码编写,maven默认是用utf-8来编译。修改pom.xml org.apache.maven.plugins maven-compiler-p... 阅读全文

posted @ 2015-10-22 10:19 2005wind 阅读(13630) 评论(0) 推荐(1) 编辑

maven 不能使用 snapshot 的解决方式

摘要: 最近项目需要用到snapshot的包来进行构建过程,但是怎么都下不了构建的snapshot包。查询了相关资料,发现网上的资料不全,特总结下:我使用的是nexus来作为代理中央库proxy。检查步骤如下:1.检查nexus是否纳入public版本中:2.配置中是否启用snapshots功能。一种是在项... 阅读全文

posted @ 2015-10-22 10:04 2005wind 阅读(16542) 评论(0) 推荐(1) 编辑