<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_41762839的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/weixin_41762839</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; weixin_41762839]]></copyright><item><title><![CDATA[Jenkins构建CI job时报错，完美解决，亲测无坑！]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/118303878</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/118303878</guid><author>weixin_41762839</author><pubDate>Mon, 28 Jun 2021 15:03:08 +0800</pubDate><description><![CDATA[废话不多说，直接上干货!!

记录Jenkins 构建 CI报错解决办法：


报错：
repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter


大概意思是pom.xml中没有distributionManagement标签,或者缺少-DaltDeployementReposi]]></description><category></category></item><item><title><![CDATA[Jenkins构建job报错：Couldn‘t find any revision to build. Verify the repository and branch configuration]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/118028977</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/118028977</guid><author>weixin_41762839</author><pubDate>Fri, 18 Jun 2021 16:34:27 +0800</pubDate><description><![CDATA[记录jenkins的报错：

Couldn't find any revision to build. Verify the repository and branch configuration for this job.
]]></description><category></category></item><item><title><![CDATA[kafka启动报错   Exception in thread “main“ java.lang.UnsupportedClassVersionError: kafka/Kafka]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/108616621</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/108616621</guid><author>weixin_41762839</author><pubDate>Wed, 16 Sep 2020 10:30:56 +0800</pubDate><description><![CDATA[kafka启动报错



Exception in thread "main" java.lang.UnsupportedClassVersionError: kafka/Kafka : Unsupported major.minor version 52.0



原因：



java版本过低 java版本为1.7.x，kafka版本需要1.8.x



解决办法：



升级jdk版本为1.8.x，完美解决


...]]></description><category></category></item><item><title><![CDATA[Centos7.x 部署consul集群]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/107323869</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/107323869</guid><author>weixin_41762839</author><pubDate>Mon, 13 Jul 2020 19:58:18 +0800</pubDate><description><![CDATA[今天给各位小伙伴带来一篇consul的集群搭建的教程，废话不多说，直接上干货!!

Consul 集群环境：


192.168.10.136

192.168.10.128

192.168.10.16


三台执行

#切换到/usr/local/bin


cd /usr/local/bin


#下载consul的zip包并将包的名字改为consul.zip


curl -o consul.zip https://releases.hashicorp.com/consul/1.6.0/consul]]></description><category></category></item><item><title><![CDATA[Centos7.x_Tomcat7版本升级解决漏洞sql注入问题]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106640159</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106640159</guid><author>weixin_41762839</author><pubDate>Tue, 09 Jun 2020 14:14:17 +0800</pubDate><description><![CDATA[今天给各位小伙伴带来一篇tomcat的版本升级的文章，因为前一段tomcat爆出有漏洞，会被sql注入，遭受攻击影响正常使用，所以升级来封堵漏洞，废话不多说，直接上干货!!

Tomcat原版本：7.0.56

Tomcat新版本：7.0.104

原tomcat安装路径:


/opt/tomcat-7.0.56


下载新版apache-tomcat-7.0.104，上传至服务器指定目录/opt/pkg


官方下载地址：https://tomcat.apache.org/download-70.cgi]]></description><category></category></item><item><title><![CDATA[记录又一次挖矿病毒来袭]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106620178</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106620178</guid><author>weixin_41762839</author><pubDate>Mon, 08 Jun 2020 15:33:54 +0800</pubDate><description><![CDATA[各位小伙伴，今天又是一次因为tomat版本过低有漏洞，通过tomcat sql注入的挖矿病毒，这东西烦得很；

一大早刚来同事就跟我说服务器卡的要死，我心一惊，一想没准又是被黑，上去一看，果不其然，又中招了，防不胜防啊！





top看了一下，卧槽，果然又是这个鬼东西！

果断查找进程位置;

ll /proc/19778









根据以往经验，可能不全面，执行以下几步：

1.马上解锁降权

chattr -i /*

chmod 444 ./*

chmod -x ./*

2.改属...]]></description><category></category></item><item><title><![CDATA[源码安装的nginx平滑升级及重新编译添加模块]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106518688</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106518688</guid><author>weixin_41762839</author><pubDate>Wed, 03 Jun 2020 10:25:59 +0800</pubDate><description><![CDATA[今天给小伙伴们分享一个nginx的平滑升级和重新添加模块的文章，废话不多说，直接上干货！！

升级

下载新版本安装包并解压：


tar -xvf nginx-1.8.7.tar.gz -C /root/


进入nginx目录


cd nginx-1.8.7/


查看nginx编译参数


nginx -V


将configure arguments:后的参数复制后放在./configure 后执行重新编译


./configure --xxxxxxxxxxx


编译完成后make


ma.]]></description><category></category></item><item><title><![CDATA[记一次jumpserver登录报错，Server error occur, contact administrator]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106381868</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106381868</guid><author>weixin_41762839</author><pubDate>Wed, 27 May 2020 15:00:58 +0800</pubDate><description><![CDATA[今天给小伙伴们分享一个jumpserver的，废话不多说，直接上干货！！

浏览器输入网址登录jumpserver

登录报错

Server error occur, contact administrator

解决办法：

清理redis

重启redis

重启jms

重新登陆，完美解决！！

使用此方法，亲测无坑！

在此欢迎各位小伙伴提出意见和批评！！大家共勉！

   如果此篇文章对您有一点点帮助，那么此篇文章便有了他的意义！

谢谢！！


...]]></description><category></category></item><item><title><![CDATA[Sqlserver查看数据库及表排序规则]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106381698</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106381698</guid><author>weixin_41762839</author><pubDate>Wed, 27 May 2020 14:54:46 +0800</pubDate><description><![CDATA[sqlserver查看数据库排序规则

select name,collation_name from sys.databases；

sqlserver查看某表排序规则

sp_help 表名；

亲测无坑！！


]]></description><category></category></item><item><title><![CDATA[Git push代码报错failed to push some refs to解决办法]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106235768</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106235768</guid><author>weixin_41762839</author><pubDate>Wed, 20 May 2020 14:49:32 +0800</pubDate><description><![CDATA[在本地上传代码到远程仓库的时候，报错了，报错内容如下：
]]></description><category></category></item><item><title><![CDATA[(亲测无坑)Centos7.x使用kubeadm安装K8s集群1.15.0版本]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/106097746</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/106097746</guid><author>weixin_41762839</author><pubDate>Wed, 13 May 2020 15:57:53 +0800</pubDate><description><![CDATA[今天给给位小伙伴带来的文章是Centos7.x使用kubeadm工具安装K8s集群1.15.0版本，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！

基础环境配置

三台Centos7.x的服务器，主节点 cpu &gt;=2，node节点&gt;=1

注：(上述cpu为最低配置，否则集群安装部署会报错，无法启动，对其他硬件无硬性要求)

以下操作若无特殊说明并指定服务器，默认三台执行一样的操作！！！

配置静态网络后需确认是否可以上网







ping通百度即可

cat..]]></description><category></category></item><item><title><![CDATA[(亲测无坑)Cenos7.x无脑使用docker部署elk]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105966252</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105966252</guid><author>weixin_41762839</author><pubDate>Thu, 07 May 2020 14:34:59 +0800</pubDate><description><![CDATA[今天给给位小伙伴带来的文章是使用docker无脑部署elk，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！


systemctl stop firewalld


#关闭防火墙


systemctl disable firewalld


#禁止开机自启

如果需要开启防火墙，那么开放所需端口




firewall-cmd --zone=public --add-po...]]></description><category></category></item><item><title><![CDATA[使用Dockerfile构建Tomcat(亲测无坑)]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105890015</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105890015</guid><author>weixin_41762839</author><pubDate>Sat, 02 May 2020 14:29:09 +0800</pubDate><description><![CDATA[今天给给位小伙伴带来的文章是使用Dockerfile构建Tomcat，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！

目录及路径在图片中给出：

路径为：/root/app/tomcat

三个文件分别为Dockerfile（注意首字母大写），jdk包和tomcat包；

文件内容下方会有给出：

创建文件夹


mkdir -p /root/app/tomcat

cd...]]></description><category></category></item><item><title><![CDATA[使用Dockerfile构建Nginx(亲测无坑)]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105854983</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105854983</guid><author>weixin_41762839</author><pubDate>Thu, 30 Apr 2020 10:06:10 +0800</pubDate><description><![CDATA[今天给给位小伙伴带来的文章是使用Dockerfile构建Nginx，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！

目录及路径在图片中给出：

路径为：/root/app/nginx

两个文件为Dockerfile（注意首字母大写），run.sh;

脚本及文件内容下问会有给出：



创建文件夹


mkdir -p /root/app/nginx

cd /roo...]]></description><category></category></item><item><title><![CDATA[Dockerfile中各指令含义与使用方法及区别]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105834211</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105834211</guid><author>weixin_41762839</author><pubDate>Wed, 29 Apr 2020 10:41:46 +0800</pubDate><description><![CDATA[今天如约给各位小伙伴带来Dockerfile中各指令含义与使用方法及区别，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！


FROM


指定基础镜像，dockerfile中第一条也必须是第一条命令，同一个Dockerfile中有多个镜像时，可以指定多个FROM


MAINTAINER


此dockerfile的维护者


RUN


两种格式，RUN command或...]]></description><category></category></item><item><title><![CDATA[Docker常用参数补充篇]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105763983</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105763983</guid><author>weixin_41762839</author><pubDate>Sun, 26 Apr 2020 11:11:19 +0800</pubDate><description><![CDATA[上一篇给各位小伙伴分享了一些docker的常用参数，不过不是特别全，今天又整理了一些，在这继续分享给大家，废话不多说，直接上干货！！

每条命令下方的文字为命令的解释注释！！


docker system info


#查看docker系统信息


docker build


#构建docker镜像（使用dockerfile）


docker commit


#从容器创建一个镜像（不适...]]></description><category></category></item><item><title><![CDATA[Docker参数常用方法及解释]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105726820</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105726820</guid><author>weixin_41762839</author><pubDate>Fri, 24 Apr 2020 11:39:33 +0800</pubDate><description><![CDATA[这几天有点忙，没有更新，今天给各位小伙伴带来一片关于docker 一些参数的用法和解释，希望对小伙伴们有所帮助，废话不多说，直接上干货！！

docker create和run的区别：


create


#创建一个容器 但是不启动


run


#创建容器并启动容器


docker cp 容器名字:路径 .


#拷贝docker容器中的目录或文件到宿主机当前路径（注意这个.）

#例：d...]]></description><category></category></item><item><title><![CDATA[Centos7.x下Firewalld的部分使用说明]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105518050</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105518050</guid><author>weixin_41762839</author><pubDate>Tue, 14 Apr 2020 18:35:55 +0800</pubDate><description><![CDATA[Firewalld 使用说明

 打开 firewalld


$ systemctl start firewalld


 端口允许被某固定 IP 访问


$ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="允许访问的IP" port protocol="tcp" port="端口" ...]]></description><category></category></item><item><title><![CDATA[亲测无坑！linux mysql忘记root密码解决办法]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105517960</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105517960</guid><author>weixin_41762839</author><pubDate>Tue, 14 Apr 2020 18:15:16 +0800</pubDate><description><![CDATA[今天突然想起来个事儿，我竟然把我的mysql的root密码给忘了，不过没关系，有办法解决，我的是centos7.6的系统，今天把这个小办法分享给大家：

#yum安装的mysql（mariadb），配置文件默认在/etc下，名字为my.cnf；

#源码安装的话在自己指定的目录下；

#编辑mysql配置文件；


vim /etc/my.cnf


#在[mysqld]下添加一行参数；


s...]]></description><category></category></item><item><title><![CDATA[亲测无坑！Centos7安装nfs远程挂载]]></title><link>https://blog.youkuaiyun.com/weixin_41762839/article/details/105468634</link><guid>https://blog.youkuaiyun.com/weixin_41762839/article/details/105468634</guid><author>weixin_41762839</author><pubDate>Sun, 12 Apr 2020 13:52:15 +0800</pubDate><description><![CDATA[不说没用的开场白！直接干货，上！


yum install nfs-utils rpcbind -y


#客户端、服务端都安装并添加开机启动


mkdir -p /nfs_test


#创建本地存储目录


vim /etc/exports


#默认为空 *为everyone


/nfs_test 10.0.2.15(rw,no_root_squash,no_all_squash,as...]]></description><category></category></item></channel></rss>