<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[IAGod的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/IAGod</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; IAGod]]></copyright><item><title><![CDATA[nginx基础命令]]></title><link>https://blog.csdn.net/IAGod/article/details/108727435</link><guid>https://blog.csdn.net/IAGod/article/details/108727435</guid><author>IAGod</author><pubDate>Tue, 22 Sep 2020 11:24:56 +0800</pubDate><description><![CDATA[安装


yum install nginx

启动


systemctl start nginx

重载配置，使配置生效


nginx -s reload

停止


systemctl stop nginx
pkill -9 nginx


]]></description><category></category></item><item><title><![CDATA[记一次Mongo数据库误操作数据恢复]]></title><link>https://blog.csdn.net/IAGod/article/details/108025395</link><guid>https://blog.csdn.net/IAGod/article/details/108025395</guid><author>IAGod</author><pubDate>Sat, 15 Aug 2020 17:14:15 +0800</pubDate><description><![CDATA[事件描述：本计划通过批量更新语句批量设置某个字段为空，误将整个记录设置为空，原纪录仅保留了ID

解决方式：通过opLog，数据库的操作日志表对数据进行还原


db.getSiblingDB("数据库1").getCollection("表1").find({
    'name': {
        '$exists': false
    }
}).forEach(
    function(item) {
        
        db.getSiblingDB("local").oplo]]></description><category></category></item><item><title><![CDATA[SpringCloud微服务体系软负载实践]]></title><link>https://blog.csdn.net/IAGod/article/details/100031989</link><guid>https://blog.csdn.net/IAGod/article/details/100031989</guid><author>IAGod</author><pubDate>Wed, 04 Sep 2019 21:54:53 +0800</pubDate><description><![CDATA[基础架构图



LVS 实现



LVS的组成

LoadBalancer

负载调度器，由一台或多台DirectorServer（调度器）组成，负责请求的分发，不负责具体业务。监控业务层中服务器状态，及时踢除异常的服务器或将恢复的服务器重新入列。

ServerArray

服务器池，由多台具有相同功能的服务器（RealServer）组成。

SharedStorage

共享存储，为服务...]]></description><category></category></item><item><title><![CDATA[docker-compose入门]]></title><link>https://blog.csdn.net/IAGod/article/details/98997214</link><guid>https://blog.csdn.net/IAGod/article/details/98997214</guid><author>IAGod</author><pubDate>Sat, 10 Aug 2019 12:04:13 +0800</pubDate><description><![CDATA[上云就上阿里云 享数字化转型

安装docker-compose

下载二进制执行文件


sudo curl -L https://github.com/docker/compose/releases/download/1.25.0-rc2/docker-compose-`un...]]></description><category></category></item><item><title><![CDATA[docker配置Redis哨兵Sentinel模式]]></title><link>https://blog.csdn.net/IAGod/article/details/97398616</link><guid>https://blog.csdn.net/IAGod/article/details/97398616</guid><author>IAGod</author><pubDate>Fri, 26 Jul 2019 18:17:15 +0800</pubDate><description><![CDATA[Redis服务配置：


# 使得Redis服务器可以跨网络访问
bind 0.0.0.0
# 设置密码
requirepass "123456"
# 指定主服务器，注意：有关slaveof的配置只是配置从服务器，主服务器不需要配置
slaveof 127.0.0.1 6379
# 主服务器密码，注意：有关slaveof的配置只是配置从服务器，主服务器不需要配置
...]]></description><category></category></item><item><title><![CDATA[用户表设计]]></title><link>https://blog.csdn.net/IAGod/article/details/89644561</link><guid>https://blog.csdn.net/IAGod/article/details/89644561</guid><author>IAGod</author><pubDate>Sun, 28 Apr 2019 19:50:19 +0800</pubDate><description><![CDATA[https://blog.csdn.net/gglinux/article/details/68948901

https://www.cnblogs.com/jiqing9006/p/5937733.html
]]></description><category></category></item><item><title><![CDATA[Docker常见命令]]></title><link>https://blog.csdn.net/IAGod/article/details/88827552</link><guid>https://blog.csdn.net/IAGod/article/details/88827552</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 19:05:51 +0800</pubDate><description><![CDATA[从公网拉取一个镜像


docker pull images_name

查看已有的docker镜像


[root@docker ~]# docker images

查看帮助


docker command --help

查看镜像列表


docker search nginx

启动一个容器


#基于hello-world镜像启动一个容器，如果本地没有镜像会从公网拉取过来，这次做为测试...]]></description><category></category></item><item><title><![CDATA[Docker镜像、容器删除]]></title><link>https://blog.csdn.net/IAGod/article/details/88827496</link><guid>https://blog.csdn.net/IAGod/article/details/88827496</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 19:02:54 +0800</pubDate><description><![CDATA[1.停止所有的container，这样才能够删除其中的images：

docker stop $(docker ps -a -q)

如果想要删除所有container的话再加一个指令：

docker rm $(docker ps -a -q)

2.查看当前有些什么images

docker images

3.删除images，通过image的id来指定删除谁

docker rmi &...]]></description><category></category></item><item><title><![CDATA[Centos7 Docker安装Mysql8.0]]></title><link>https://blog.csdn.net/IAGod/article/details/88827064</link><guid>https://blog.csdn.net/IAGod/article/details/88827064</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 19:00:45 +0800</pubDate><description><![CDATA[1.从仓库拉取最新的mysql镜像

[root@localhost ~]#docker pull mysql

2.创建容器

[root@localhost ~]# docker run -it --rm --name mysql -e MYSQL_ROOT_PASSWORD=123456 -p 3306:3306 -d mysql

3.进入到docker内mysql控制台

[root@...]]></description><category></category></item><item><title><![CDATA[Centos7安装Docker]]></title><link>https://blog.csdn.net/IAGod/article/details/88823605</link><guid>https://blog.csdn.net/IAGod/article/details/88823605</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 16:37:26 +0800</pubDate><description><![CDATA[1.安装必要的系统工具

[root@localhost ~]# sudo yum install -y yum-utils device-mapper-persistent-data lvm2

2.添加软件源信息

[root@localhost ~]# sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker...]]></description><category></category></item><item><title><![CDATA[Centos7 Minimal最小安装后要进行的优化]]></title><link>https://blog.csdn.net/IAGod/article/details/88815209</link><guid>https://blog.csdn.net/IAGod/article/details/88815209</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 12:31:44 +0800</pubDate><description><![CDATA[1.修改网络配置，设置静态IP，方便远程

[root@localhost ~]#vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

ONBOOT="yes"
IPADDR="192.168.1.2"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.1"
DNS1="8.8.8.8"
DNS2="88.88.88....]]></description><category></category></item><item><title><![CDATA[Hyper-v中安装完Centos7修改分辨率]]></title><link>https://blog.csdn.net/IAGod/article/details/88813273</link><guid>https://blog.csdn.net/IAGod/article/details/88813273</guid><author>IAGod</author><pubDate>Tue, 26 Mar 2019 10:10:14 +0800</pubDate><description><![CDATA[Hyper-v是Windows系统自带的虚拟机软件，比VM轻便。

在笔记本上用Hyper-v安装完Centos7虚拟机后，会发现一个问题，显示不全。

解决：需要设置分辨率

[root@localhost ~]# vi /boot/grub2/grub.cfg

找到如下几行，并追加video=hyperv_fb:800x600，注意版本号要与进入系统前所选的版本号一致    lin...]]></description><category></category></item><item><title><![CDATA[Python生成密码字典]]></title><link>https://blog.csdn.net/IAGod/article/details/88423059</link><guid>https://blog.csdn.net/IAGod/article/details/88423059</guid><author>IAGod</author><pubDate>Tue, 12 Mar 2019 16:44:36 +0800</pubDate><description><![CDATA[&amp;gt;&amp;gt;&amp;gt; import itertools as its&amp;gt;&amp;gt;&amp;gt; words=&quot;0123456789abcdefghijklmnopqrstuvwxyz&quot;//如需要，可加入大写字母及其他符号&amp;gt;&amp;gt;&amp;gt; dic=open('dictionary.txt','w')&amp;gt;&amp;gt;&amp;gt; for num in range(8,11)://长度为8~1]]></description><category></category></item><item><title><![CDATA[Centos7-minimal 安装Mysql8.0及密码修改 全过程示例]]></title><link>https://blog.csdn.net/IAGod/article/details/88422603</link><guid>https://blog.csdn.net/IAGod/article/details/88422603</guid><author>IAGod</author><pubDate>Tue, 12 Mar 2019 16:12:25 +0800</pubDate><description><![CDATA[[root@localhost download]# wget http://repo.mysql.com/mysql80-community-release-el7-2.noarch.rpm
--2019-03-12 14:49:38-- http://repo.mysql.com/mysql80-community-release-el7-2.noarch.rpm
正在解析主机 repo.m...]]></description><category></category></item><item><title><![CDATA[git fork后如何同步干支的更新]]></title><link>https://blog.csdn.net/IAGod/article/details/83929448</link><guid>https://blog.csdn.net/IAGod/article/details/83929448</guid><author>IAGod</author><pubDate>Sat, 10 Nov 2018 14:54:54 +0800</pubDate><description><![CDATA[（1）指定一个上游仓库


#upstream为你自己为同步源取的别名，方便自己记住
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git

（2）从上游仓库获取到分支，及相关的提交信息，它们将被保存在本地的 upstream/master 分支


git fetch upstream
...]]></description><category></category></item><item><title><![CDATA[在linux中SpringBoot项目控制台中文输出?问号]]></title><link>https://blog.csdn.net/IAGod/article/details/83380381</link><guid>https://blog.csdn.net/IAGod/article/details/83380381</guid><author>IAGod</author><pubDate>Thu, 25 Oct 2018 15:41:18 +0800</pubDate><description><![CDATA[IDEA设置项目及文件编码



运行及编译设置

1. 运行:     java -Dfile.encoding=utf-8 -jar Test.jar
2. 编译:     javac -encoding utf-8 Test.java


内置tomcat设置

spring.http.encoding.force=true
spring.http.encoding.charset=UTF-...]]></description><category></category></item><item><title><![CDATA[Oracle Database 11g Release 2--------Linux x86-64]]></title><link>https://blog.csdn.net/IAGod/article/details/81944193</link><guid>https://blog.csdn.net/IAGod/article/details/81944193</guid><author>IAGod</author><pubDate>Wed, 22 Aug 2018 14:58:42 +0800</pubDate><description><![CDATA[第一部分：http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.zip?AuthParam=1534919917_c0e64ddf2233ce4f77f62cbf715c04c8

第二部分：http://download.oracle.com/otn/linux/oracle11g/R2/l...]]></description><category></category></item><item><title><![CDATA[IDEA使用Git下载项目时输错账号密码]]></title><link>https://blog.csdn.net/IAGod/article/details/80782305</link><guid>https://blog.csdn.net/IAGod/article/details/80782305</guid><author>IAGod</author><pubDate>Sat, 23 Jun 2018 11:58:25 +0800</pubDate><description><![CDATA[IDEA使用Git下载项目时，如果输错账户或密码，后边的test会一直提示

Authentication failed

如何解决呢？

打开CMD，到git的安装目录，执行 git config --system --unset credential.helper



 

注意：这样执行会删除所有之前记录的账户密码

最简便的解决方式：打开 控制面板---管理 Windows 凭据，选中用...]]></description><category></category></item></channel></rss>