<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chengwa9834的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/chengwa9834</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chengwa9834]]></copyright><item><title><![CDATA[一个简单的redis分布式锁]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703692</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703692</guid><author>chengwa9834</author><pubDate>Tue, 10 Apr 2018 16:53:00 +0800</pubDate><description><![CDATA[maven引入：
&lt;dependency&gt;
    &lt;groupId&gt;com.github.jedis-lock&lt;/groupId&gt;
    &lt;artifactId&gt;jedis-lock&lt;/artifactId&gt;
    &lt;ve...]]></description><category></category></item><item><title><![CDATA[nginx配置startssl]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703689</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703689</guid><author>chengwa9834</author><pubDate>Fri, 05 Aug 2016 15:31:00 +0800</pubDate><description><![CDATA[半年前使用过startssl配置nginx ssl ,折腾了不少时间。。今天再次配置以为好顺利，最后还是要花费了几个小时，还是得写个博客记录下，避免以后忘记了怎么弄。
####1. 申请域名
####2. 注册startssl
####3.在startssl 官网为域名申请ssl

start...]]></description><category></category></item><item><title><![CDATA[安装nginx，配置负载均衡和添加状态监测的nginx_upstream_check_module模块]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703686</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703686</guid><author>chengwa9834</author><pubDate>Thu, 04 Aug 2016 21:01:00 +0800</pubDate><description><![CDATA[1.安装所需依赖
yum -y install make zlib zlib-devel gcc-c++ libtool  openssl openssl-devel

###2.安装pcre, nginx_upstream_check_module
PCRE 作用是让 Ngnix 支持 Re...]]></description><category></category></item><item><title><![CDATA[maven 运行tomcat7:run 报异常]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703678</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703678</guid><author>chengwa9834</author><pubDate>Mon, 01 Aug 2016 22:35:00 +0800</pubDate><description><![CDATA[异常信息：  
Nopluginfoundforprefix'tomcat7'inthecurrentprojectandintheplugingroups[org.apache.maven.plugins 
 
解决办法： 
找到maven 的set...]]></description><category></category></item><item><title><![CDATA[gitlab的webhooks  url]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703676</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703676</guid><author>chengwa9834</author><pubDate>Mon, 25 Jul 2016 09:41:00 +0800</pubDate><description><![CDATA[http://192.168.1.130:8050/gitlab/build_now
192.168.1.130:8050为jenkins的IP和端口

                                                    
转载于:https://my.os...]]></description><category></category></item><item><title><![CDATA[apache flume 配置存储在Linux本地服务器]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703673</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703673</guid><author>chengwa9834</author><pubDate>Tue, 07 Jun 2016 17:16:00 +0800</pubDate><description><![CDATA[在Linux上flume的配置：
agent.channels = ch-1
agent.sources = src-1
agent.sinks = sink-1

agent.sources.src-1.interceptors = i1
agent.sources.src-1.interc...]]></description><category></category></item><item><title><![CDATA[Jenkins安装和配置]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703669</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703669</guid><author>chengwa9834</author><pubDate>Wed, 11 May 2016 13:37:00 +0800</pubDate><description><![CDATA[​下载安装

wget http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/redhat-stable/jenkins-1.651.1-1.1.noarch.rpm

rpm -ivh xxx.rpm


修改端口

​```
vi /etc/sy...]]></description><category></category></item><item><title><![CDATA[centos6.x 安装MySQL5.6]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703665</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703665</guid><author>chengwa9834</author><pubDate>Fri, 29 Apr 2016 15:33:00 +0800</pubDate><description><![CDATA[yuminstallwget 
 
 
wgethttp://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-5.6.14-1.el6.x86_64.rpm/from/http://cdn.mysql.com/ 
 
wgethtt...]]></description><category></category></item><item><title><![CDATA[排查挂马使用到的命令]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703662</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703662</guid><author>chengwa9834</author><pubDate>Thu, 07 Apr 2016 22:59:00 +0800</pubDate><description><![CDATA[top 
 
find./-mtime0：返回最近24小时内修改过的文件。 
 
find./-mtime1：返回的是前48~24小时修改过的文件。而不是48小时以内修改过的文件。 
 
ll-t|head-n10：查找最近创建的10个文件 
 
使用命令ls-l...]]></description><category></category></item><item><title><![CDATA[jenkins 的dns 异常导致日志撑爆服务器]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703664</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703664</guid><author>chengwa9834</author><pubDate>Thu, 18 Feb 2016 10:49:00 +0800</pubDate><description><![CDATA[Jenkins 的tomcat 日志基本都是说dns 的问题： 
 question: [DNSQuestion@251754929 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] q...]]></description><category></category></item><item><title><![CDATA[linux 下取进程占用 cpu/内存 最高的前10个进程]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703660</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703660</guid><author>chengwa9834</author><pubDate>Wed, 04 Nov 2015 10:34:00 +0800</pubDate><description><![CDATA[# linux 下 取进程占用 cpu 最高的前10个进程 
psaux|head-1;psaux|grep-vPID|sort-rn-k+3|head 
# linux 下 取进程占用内存(MEM)最高的前10个进程 
psaux|head-1;psaux|grep-...]]></description><category></category></item><item><title><![CDATA[解决linux删除文件后不释放磁盘的问题]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703659</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703659</guid><author>chengwa9834</author><pubDate>Thu, 22 Oct 2015 23:23:00 +0800</pubDate><description><![CDATA[1、用df 检查发现/根目录可用空间为0 
[root@/]#df-h//查看系统的磁盘空间 
2、用du检查发现各目录占用的空间都很少，有约3G的空间莫名其妙地丢了。 
[root@/]#du-s*|sort-nr|head...]]></description><category></category></item><item><title><![CDATA[解决前后端分离的 CORS 跨域资源共享问题]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703655</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703655</guid><author>chengwa9834</author><pubDate>Mon, 19 Oct 2015 11:52:00 +0800</pubDate><description><![CDATA[后端架api服务器，架设的过程中要在服务器端设置开启 CORS 跨域资源共享，否则前后端只能架设在同一个服务器上的同一个端口上，没有办法做到真正的分离。 
这方法是基于tomcat 下后台api的,其他前端解决的办法可自行百度,google 。 
添加java-property-utils-...]]></description><category></category></item><item><title><![CDATA[dubbo服务器配置在阿里云，本地请求异常问题]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703649</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703649</guid><author>chengwa9834</author><pubDate>Fri, 22 May 2015 16:08:00 +0800</pubDate><description><![CDATA[写了个dubbo服务端发布到阿里云服务器上，本地请求的时候报了链接异常，发现dubbo服务的ip为阿里云的内网ip，外网访问不到。 
 
 
 
解决办法：在服务端的 privider.xml的 dubbo:protocol 标签添加 host 属性，值为公网ip。 
&lt;dubbo:pr...]]></description><category></category></item><item><title><![CDATA[移动分区表到其他表空间]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703648</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703648</guid><author>chengwa9834</author><pubDate>Thu, 19 Mar 2015 11:37:00 +0800</pubDate><description><![CDATA[altertable"table_name"movepartition"partition_name"tablespace"tablespace_name" 

                                                    
转载于:ht...]]></description><category></category></item><item><title><![CDATA[Linux unzip不能解压大于2G的文件问题]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703644</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703644</guid><author>chengwa9834</author><pubDate>Wed, 18 Mar 2015 16:03:00 +0800</pubDate><description><![CDATA[Linux unzip的时候发现解压不了一个zip文件，异常信息： 
 
查看资料原来是unzip命令不能解压超过2G的文件 通过查找资料有个7z的程序可以解压超过2G的压缩包。 
安装7z 
#yuminstallp7zip 
 
解压文件 
#7zaesercurityInfo...]]></description><category></category></item><item><title><![CDATA[oracle 11g异常ora-01033:oracle initialization]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703643</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703643</guid><author>chengwa9834</author><pubDate>Wed, 11 Feb 2015 22:43:00 +0800</pubDate><description><![CDATA[昨天把归档日志删掉，今天公司停电后数据库就连接不上了，一直报以下异常，链接问题。 
 
解决途径： 
1. 以DBA用户登录 
sqlplus/nolog
connect/assysdba 
2. 停止数据库 
shutdownnormal 
3. 启动数据库 
startupmo...]]></description><category></category></item><item><title><![CDATA[ORACLE数据库ORA-00257问题解决]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703639</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703639</guid><author>chengwa9834</author><pubDate>Tue, 10 Feb 2015 21:14:00 +0800</pubDate><description><![CDATA[今天早上恢复大量数据的时候，oracle数据报空间不足的问题，ORA-00257，偏偏DBA离职了，只能自己当了回DBA。提示归档错误，通过查找ORACLE错误代码，解释为硬盘空间不足，需要删除归档日志增加空间。 
解决过程如下： 
sqlplus/nolog#进入oracle命令...]]></description><category></category></item><item><title><![CDATA[java反射机制问题field.setAccessible(true)]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703634</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703634</guid><author>chengwa9834</author><pubDate>Tue, 10 Feb 2015 20:32:00 +0800</pubDate><description><![CDATA[异常信息： 
 
在java的反射使用中，常常将一个类的成员变量置为private如果字段是私有的,那么必须要对这个字段设置 
field.setAccessible(true) 
这样才可以正常使用.否则或报错:can not access a member of... 
 
 
 

...]]></description><category></category></item><item><title><![CDATA[java.sql.SQLException: 数据大小超出此类型的最大值，问题解决办法]]></title><link>https://blog.csdn.net/chengwa9834/article/details/100703585</link><guid>https://blog.csdn.net/chengwa9834/article/details/100703585</guid><author>chengwa9834</author><pubDate>Wed, 21 Jan 2015 16:19:00 +0800</pubDate><description><![CDATA[有了一定Java编程经验之后，一般都使用PreparedStatement代替Statement。 但实际开发中对数据库进行操作时，字段遇到大数据并且该字段为非BLOB,CLOB的类型时，若采用PreparedStatement方法setString方法时会如下异常： java....]]></description><category></category></item></channel></rss>