<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_14945327的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_14945327</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_14945327]]></copyright><item><title><![CDATA[git log统计用户提交代码的行数]]></title><link>https://blog.csdn.net/qq_14945327/article/details/120777549</link><guid>https://blog.csdn.net/qq_14945327/article/details/120777549</guid><author>qq_14945327</author><pubDate>Fri, 15 Oct 2021 09:56:09 +0800</pubDate><description><![CDATA[一、首先你必须具有Linux服务器登录的权限，

（1）22端口，登录用户具有root级别的权限

（2）每次执行命令前，必须cd到git的仓库地址目录下，否则命令报错，无返回结果

二、执行命令

1、根据用户名时间段统计（其中，--author对应的是仓库中现存在的git账户）


git log --author="username" --since=2018-01-01 --until=2019-12-31 --pretty=tformat: --numstat | awk '{ add += $1]]></description><category></category></item><item><title><![CDATA[Linux下安装zookeeper--单点]]></title><link>https://blog.csdn.net/qq_14945327/article/details/120416566</link><guid>https://blog.csdn.net/qq_14945327/article/details/120416566</guid><author>qq_14945327</author><pubDate>Wed, 22 Sep 2021 16:07:50 +0800</pubDate><description><![CDATA[一、环境准备

CentOS 7 + JDK8+apache-zookeeper-3.5.8-bin.tar.gz，其中操作系统为SUSELinux也适用

二、安装步骤

（1）安装到/usr/local/myZooKeeper目录下（目录可自选自建）

# cd /usr/local/myZooKeeper

# tar -zxvf apache-zookeeper-3.5.8-bin.tar.gz

（2）zoo_sample.cfg这个文件复制为zoo.cfg (必须是这个文件名)

# cd /u]]></description><category></category></item><item><title><![CDATA[Gitlab使用API访问项目统计信息]]></title><link>https://blog.csdn.net/qq_14945327/article/details/120408399</link><guid>https://blog.csdn.net/qq_14945327/article/details/120408399</guid><author>qq_14945327</author><pubDate>Wed, 22 Sep 2021 08:49:00 +0800</pubDate><description><![CDATA[通用概念
Gitlab是一个web服务器，既然是服务器则具有服务器的相关通用性能。外部应用访问服务器资源，通用具有两种方法：

应用程序链接gitlab服务器采用Linux命令，以Java为例，Java中的runtime运行时，封装git命令，一般是嵌入Linux脚本命令，本文不涉及。
	应用程序与gitlab服务器进行接口调用，以Java为例，Java中进行API调用，通过HTTP client或Restful风格进行接口调用，返回的数据均是JSON格式。
	接口样例
	
	访问接口的方法具有两个方式：
]]></description><category></category></item><item><title><![CDATA[Nginx配置完毕后不准发请求头header的解决办法]]></title><link>https://blog.csdn.net/qq_14945327/article/details/109551770</link><guid>https://blog.csdn.net/qq_14945327/article/details/109551770</guid><author>qq_14945327</author><pubDate>Sat, 07 Nov 2020 20:27:28 +0800</pubDate><description><![CDATA[目前项目架构是vue+springboot前后端分离的，前端部署在nginx上，后端启动接口服务，并用nginx进行反向代理
部署完毕后，后端就是怎么收取不到shiro的header中的token，并且我们的token定义为AUTH_TOKEN，查看了后端日志+nginx就是怎么也收不到
nginx配置里只有转发设置原始ip和host的
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    prox]]></description><category></category></item><item><title><![CDATA[Linux离线安装MySQL(SUSE适用)]]></title><link>https://blog.csdn.net/qq_14945327/article/details/109401531</link><guid>https://blog.csdn.net/qq_14945327/article/details/109401531</guid><author>qq_14945327</author><pubDate>Sat, 31 Oct 2020 13:45:29 +0800</pubDate><description><![CDATA[环境准备：CentOS 7（64位）+ MySQL 5.7.21（Linux Generic版本）
MySQL 5.7永远的神~~
一、介质下载
1、下载 MySQL for Linux Generic（Linux通用版本）的二进制版本安装包mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz
2、下载地址： https://downloads.mysql.com/archives/community/ ，选Compressed TAR Archive

二、解压并创建用户与]]></description><category></category></item><item><title><![CDATA[Linux（SUSE+CentOS）下配置Redis主从复制（读写分离）]]></title><link>https://blog.csdn.net/qq_14945327/article/details/109343563</link><guid>https://blog.csdn.net/qq_14945327/article/details/109343563</guid><author>qq_14945327</author><pubDate>Wed, 28 Oct 2020 21:08:40 +0800</pubDate><description><![CDATA[一、redis的安装请看本人博客
https://blog.csdn.net/qq_14945327/article/details/109320260
二、主从复制
1、架构图
主从复制的好处：（1）避免redis单点故障（2）构建读写分离架构，满足读多写少的应用场景

2、启动配置
创建6379、6380、6381目录，master：6379，slave：6380、6381
3、修改从服务器redis的redis.conf的配置（属性均存在，找到修改）
（1）#bind 127.0.0.1（注释掉）
（]]></description><category></category></item><item><title><![CDATA[CentOS 7 下安装Redis-5.0.9]]></title><link>https://blog.csdn.net/qq_14945327/article/details/109320260</link><guid>https://blog.csdn.net/qq_14945327/article/details/109320260</guid><author>qq_14945327</author><pubDate>Tue, 27 Oct 2020 21:06:11 +0800</pubDate><description><![CDATA[一、环境准备
虚拟机为CentOS 7，Redis版本为5.0.9 ，yum源为阿里镜像源
二、安装步骤
1、Linux环境下安装Redis需要服务器具有C语言的编译环境
yum -y install gcc

 yum -y install gcc-c++

2、完成gcc与gcc-c++的安装后，在/usr/local目录下创建redis目录（可以根据个人喜好进行创建）
cd /usr/local

mkdir redis

3、上传redis安装包并解压到刚刚新建的redis目录下，并解压
tar -]]></description><category></category></item><item><title><![CDATA[CentOS 7 操作火墙]]></title><link>https://blog.csdn.net/qq_14945327/article/details/108912973</link><guid>https://blog.csdn.net/qq_14945327/article/details/108912973</guid><author>qq_14945327</author><pubDate>Sat, 03 Oct 2020 20:15:05 +0800</pubDate><description><![CDATA[CentOS 7 操作火墙
（1）查看已开启端口
 firewall-cmd --list-ports

（2）查看防火墙状态
firewall-cmd --state

（3）开启防火墙
systemctl start firewalld.service

（4）重启防火墙服务
systemctl restart firewalld.service

（5）关闭防火墙服务
systemctl stop firewalld.service

（6）开启指定端口
firewall-cmd --zone=pub]]></description><category></category></item><item><title><![CDATA[Docker安装redis挂载外部目录，并设置开机自动启动]]></title><link>https://blog.csdn.net/qq_14945327/article/details/108561174</link><guid>https://blog.csdn.net/qq_14945327/article/details/108561174</guid><author>qq_14945327</author><pubDate>Sun, 13 Sep 2020 13:35:28 +0800</pubDate><description><![CDATA[docker安装redis挂载文件与镜像开机自启动]]></description><category></category></item><item><title><![CDATA[worker_processes属性配置nginx.conf]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107730563</link><guid>https://blog.csdn.net/qq_14945327/article/details/107730563</guid><author>qq_14945327</author><pubDate>Sat, 01 Aug 2020 14:46:14 +0800</pubDate><description><![CDATA[worker_processes属性配置nginx.conf]]></description><category></category></item><item><title><![CDATA[Nignx.conf配置文件的修改使用gzip属性]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107642362</link><guid>https://blog.csdn.net/qq_14945327/article/details/107642362</guid><author>qq_14945327</author><pubDate>Tue, 28 Jul 2020 18:28:27 +0800</pubDate><description><![CDATA[Nignx.conf配置文件的修改使用gzip属性]]></description><category></category></item><item><title><![CDATA[JWT的工具类Java代码（任务流）]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107592254</link><guid>https://blog.csdn.net/qq_14945327/article/details/107592254</guid><author>qq_14945327</author><pubDate>Sun, 26 Jul 2020 13:01:59 +0800</pubDate><description><![CDATA[JWT的工具类Java代码（任务流）]]></description><category></category></item><item><title><![CDATA[MySQL脚本存在错误，后续脚本执行与不执行命令]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107393642</link><guid>https://blog.csdn.net/qq_14945327/article/details/107393642</guid><author>qq_14945327</author><pubDate>Thu, 16 Jul 2020 21:05:50 +0800</pubDate><description><![CDATA[MySQL脚本存在错误，执行与不执行的操作]]></description><category></category></item><item><title><![CDATA[Java中少用select count(*)，换个方式就会发现天差地别的变化]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107304680</link><guid>https://blog.csdn.net/qq_14945327/article/details/107304680</guid><author>qq_14945327</author><pubDate>Sun, 12 Jul 2020 20:38:52 +0800</pubDate><description><![CDATA[Java中少用select count(*)，换个方式就会发现天差地别的变化]]></description><category></category></item><item><title><![CDATA[JAVA代码Redis常用的Util与template留着备用]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107289237</link><guid>https://blog.csdn.net/qq_14945327/article/details/107289237</guid><author>qq_14945327</author><pubDate>Sat, 11 Jul 2020 19:03:23 +0800</pubDate><description><![CDATA[JAVA代码Redis常用的Util与template留着备用]]></description><category></category></item><item><title><![CDATA[MYSQL慢查询日志总结]]></title><link>https://blog.csdn.net/qq_14945327/article/details/107029669</link><guid>https://blog.csdn.net/qq_14945327/article/details/107029669</guid><author>qq_14945327</author><pubDate>Mon, 29 Jun 2020 22:28:26 +0800</pubDate><description><![CDATA[MYSQL慢查询日志总结]]></description><category></category></item><item><title><![CDATA[机器学习经典GA算法运用Java代码实现]]></title><link>https://blog.csdn.net/qq_14945327/article/details/106947502</link><guid>https://blog.csdn.net/qq_14945327/article/details/106947502</guid><author>qq_14945327</author><pubDate>Wed, 24 Jun 2020 17:14:59 +0800</pubDate><description><![CDATA[机器学习经典GA算法运用Java代码实现]]></description><category></category></item><item><title><![CDATA[MySQL远程连接与用户授权SQL语句]]></title><link>https://blog.csdn.net/qq_14945327/article/details/106939851</link><guid>https://blog.csdn.net/qq_14945327/article/details/106939851</guid><author>qq_14945327</author><pubDate>Wed, 24 Jun 2020 11:17:39 +0800</pubDate><description><![CDATA[MySQL远程连接与用户授权SQL语句]]></description><category></category></item><item><title><![CDATA[个人总结的RDMA网络原理]]></title><link>https://blog.csdn.net/qq_14945327/article/details/106939355</link><guid>https://blog.csdn.net/qq_14945327/article/details/106939355</guid><author>qq_14945327</author><pubDate>Wed, 24 Jun 2020 10:58:57 +0800</pubDate><description><![CDATA[个人总结的RDMA网络原理]]></description><category></category></item><item><title><![CDATA[MySQL对已存在的数据表增加分区]]></title><link>https://blog.csdn.net/qq_14945327/article/details/106882941</link><guid>https://blog.csdn.net/qq_14945327/article/details/106882941</guid><author>qq_14945327</author><pubDate>Sun, 21 Jun 2020 11:11:02 +0800</pubDate><description><![CDATA[MySQL对已存在的数据表增加分区]]></description><category></category></item></channel></rss>