<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chenchen的博客]]></title><description><![CDATA[k8s、docker、nginx、tomcat等知识点积累]]></description><link>https://blog.youkuaiyun.com/weixin_49228721</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; weixin_49228721]]></copyright><item><title><![CDATA[初步认识kubernetes及其组件详细介绍]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/112852884</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/112852884</guid><author>weixin_49228721</author><pubDate>Tue, 19 Jan 2021 22:13:05 +0800</pubDate><description><![CDATA[目录kubernetes概述弹性伸缩服务发现与调度服务自愈自动部署和回滚机密和配置管理存储编排批量处理Kubernetes 特点kubernetes应用场景架构及组件Master节点的组件组件介绍：API ServerETCDcontroller-managerNode节点组件kubeletcontainer runtimekube-proxy
kubernetes概述
Kubernetes是Google在2014年开源的一个容器集群管理系统，Kubernetes简称K8S。
K8S用于容器化应用程序的部署]]></description><category></category></item><item><title><![CDATA[ansible之Playbook常用详解--极其详细]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/112566886</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/112566886</guid><author>weixin_49228721</author><pubDate>Sun, 17 Jan 2021 21:59:01 +0800</pubDate><description><![CDATA[YAML标记语言
YAML是一种表达资料序列的格式，由于参考了其他多种语言，所以具有很高的可读性。其特性如下：

具有很好的可读性，易于实现
表达能力强，扩展性好
和脚本语言的交互性好
有一个一致的信息模型
可以基于流来处理

基本语法规则

1.大小写敏感
2.使用缩进表示层级关系
3.缩进时不允许使用Tab键，只允许使用空格。
4.缩进的空格数目不重要，只要相同层级的元素左侧对齐即可

1.YAML中两种常用的数据类型，分别是list和directory
list
-teacher
-student

]]></description><category></category></item><item><title><![CDATA[ansible自动化运维 管理安装部署以及常用命令---极其详细]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/112470623</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/112470623</guid><author>weixin_49228721</author><pubDate>Tue, 12 Jan 2021 15:29:37 +0800</pubDate><description><![CDATA[管理端： 192.168.100.21
被管理端：192.168.100.22
被管理端：192.168.100.23

管理端操作
安装epel源
[root@master ~]# yum -y install epel-release

[root@master ~]# yum -y install ansible			##安装ansible


查看ansible版本
[root@master ~]# ansible --version  查看版本

[root@master ~]# yum -y .]]></description><category></category></item><item><title><![CDATA[启动redis，建集群错[ERR] Sorry, can‘t connect to node ***]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/112157583</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/112157583</guid><author>weixin_49228721</author><pubDate>Sun, 03 Jan 2021 21:48:41 +0800</pubDate><description><![CDATA[创建报错如下：

[root@bd26 src]# ./redis-trib.rb create replicas 1172.31.132 .26 :7000 172.31.132.26 :7001 172.31.132.26 :7002 172.31.132.26 :7003 172.31.132 .26 :7004 172.31.132 .26:7005 
&gt;&gt;&gt; Creating cluster
[ERR] Sorry, can't connect to node 172.31. 1]]></description><category></category></item><item><title><![CDATA[PXE安装centos7系统后yum安装报错--ks_ mirror/centos7 .4-x8664/ repodata/ repomd.xmt: [Errno 12] Timeout on htt]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111997626</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111997626</guid><author>weixin_49228721</author><pubDate>Wed, 30 Dec 2020 21:46:08 +0800</pubDate><description><![CDATA[报错如下：
[ root@localhost ~]# yum install -y tomcat
L oaded plugins: fastestmirror
base
3.6 kB
00: 00:00
http:// 192.168.1.191/cobbler/ks_ mirror/centos7 .4-x8664/ repodata/ repomd.xmt: [Errno 12] Timeout on htt
p:// 192.168.1.191/cobbler/ks_ mirror/centos7 .]]></description><category></category></item><item><title><![CDATA[redis主从服务器一直也连接不上(error) MISCONF Redis is configured to save RDB snapshots, but it is currently no]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111996718</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111996718</guid><author>weixin_49228721</author><pubDate>Wed, 30 Dec 2020 19:33:23 +0800</pubDate><description><![CDATA[报错内容如下：
(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting f]]></description><category></category></item><item><title><![CDATA[Docker中安装Mysql报错--[Warning] TIMES TAMP with implicit DEFAULT value is deprecated. Please use - - exp]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111826691</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111826691</guid><author>weixin_49228721</author><pubDate>Sun, 27 Dec 2020 21:33:02 +0800</pubDate><description><![CDATA[安装一个带有mysql的docker镜像
docker run --name mysql -v mysql-data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=wordpress mysql:5.7

报错如下：

已经建过这个volume了，所以新建一个数据库再指向这里会报错，解决方法就是删掉他
docker volume rm mysql-data

再次运行


...]]></description><category></category></item><item><title><![CDATA[openstack组件之nova详细概要介绍及部署]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111712657</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111712657</guid><author>weixin_49228721</author><pubDate>Fri, 25 Dec 2020 23:01:37 +0800</pubDate><description><![CDATA[目录简介用途与功能 :Nova组件中各个子服务1、Nova API ：2、Nova Cell ：3、Nova Cert ：4、Nova Compute ：5、Nova Conductor ：6、Nova Scheduler ：6、1过滤器（filter）Nova过滤器类型说明7、Nova Console、Nova Consoleauth、Nova VNCProxy ：8、DB:
简介
Nova 是 OpenStack 最核心的服务，负责维护和管理云环境的计算资源。OpenStack 作为 IaaS 的云操作]]></description><category></category></item><item><title><![CDATA[MySQL安装最后启动报错--Job for mysqld.service failed because the control process exited with error code. See]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111642377</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111642377</guid><author>weixin_49228721</author><pubDate>Thu, 24 Dec 2020 17:25:02 +0800</pubDate><description><![CDATA[MySQL安装最后启动报错：

[root@localhost mysql]# systemctl start mysqld
Warning: mysqld.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for mysqld.service failed because the control process exited with error code. See "systemctl status m]]></description><category></category></item><item><title><![CDATA[elasticsearch启动报错：org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException:]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111568940</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111568940</guid><author>weixin_49228721</author><pubDate>Tue, 22 Dec 2020 22:48:34 +0800</pubDate><description><![CDATA[报错如下：
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: 
failed to obtain node locks, tried [[/home/elasticsearch-6.3.0/data/elasticsearch]] with 
lock id [0]; maybe these locations are not writable or multiple nodes were start]]></description><category></category></item><item><title><![CDATA[openstack glance服务异常--ERROR: [Errno 13] Permission denied: ‘/var/log/glance/api.log’]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111464549</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111464549</guid><author>weixin_49228721</author><pubDate>Sun, 20 Dec 2020 22:53:53 +0800</pubDate><description><![CDATA[在查看glance进程的pid时候，发现进程的pid一直在变化。glance日志无报错。
重启glance服务，在查看systemctl status的时候有报错：
Mar 28 17:26:44 controller systemd[1]: start request repeated too quickly for openstack-glance-api.service
Mar 28 17:26:44 controller systemd[1]: Failed to start OpenStack I]]></description><category></category></item><item><title><![CDATA[OpenStack-Glance组件简介及部署----简单明了]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111365760</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111365760</guid><author>weixin_49228721</author><pubDate>Sun, 20 Dec 2020 22:48:01 +0800</pubDate><description><![CDATA[目录一、glance简介实验环境部署二、创建数据库实例和数据库用户三、创建用户、修改配置文件1.创建OpenStack的Glance用户2.将glance用户添加到service项目中，并且针对这个项目拥有admin权限3.创建service服务4.创建镜像服务 API 端点5.安装 openstack-glance 软件包6.修改glance-api.conf配置文件7.初始化glance数据库，生成相关表结构8.开启glance服务9.赋予openstack-glance-api.service服务对存]]></description><category></category></item><item><title><![CDATA[redis哨兵配置启动异常及解决方法--FATAL CONFIG FILE ERROR]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111463580</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111463580</guid><author>weixin_49228721</author><pubDate>Sun, 20 Dec 2020 21:57:21 +0800</pubDate><description><![CDATA[报如下的错误：

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 85
&gt;&gt;&gt; 'sentinel monitor mymaster 192.168.197.132 6379 2'
sentinel directive while not in sentinel mode



去redis的配置文件中把最后几行注释了就可以了
# Generated by CONFIG REWRITE
# re]]></description><category></category></item><item><title><![CDATA[Docker基础命令错误集]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/110150140</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/110150140</guid><author>weixin_49228721</author><pubDate>Wed, 16 Dec 2020 09:18:42 +0800</pubDate><description><![CDATA[Docker删除镜像
多重标签，删除id会报错如下
[root@bogon docker]# docker rmi bc9a0695f571 
Error response from daemon: conflict: unable to delete bc9a0695f571 (must be forced) - image is referenced in multiple repositories



解决方式：
多重标签删除名字

删除容器

解决方法：
必须先停掉
安装dockers-ce 报错]]></description><category></category></item><item><title><![CDATA[OpenStack环境部署详解篇]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111183066</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111183066</guid><author>weixin_49228721</author><pubDate>Tue, 15 Dec 2020 20:02:30 +0800</pubDate><description><![CDATA[1、控制节点ct
CPU：双核双线程-CPU虚拟化开启
内存：8G	硬盘：300G+300G（CEPH块存储）
双网卡：VM1-（局域网）192.168.10.33  NAT-192.168.100.33
一、【基础环境配置】
【部署思路】
1、配置操作系统+OpenStack运行环境
2、配置OpenStack平台基础服务（rabbitmq、mariadb、memcache、Apache)
3、配置OpenStack keystone组件
4、配置OpenStack Glance组件
5、配置placem]]></description><category></category></item><item><title><![CDATA[搭建Samba服务器及遇到问题解决方法--Failed to add entry for user]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111238924</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111238924</guid><author>weixin_49228721</author><pubDate>Tue, 15 Dec 2020 19:56:26 +0800</pubDate><description><![CDATA[增加samba用户提示Failed to add entry for user
[root@ubuntu ~]# smbpasswd -a test

New SMB password:

Retype new SMB password:

Failed to add entry for user test.

解决方式：
这是因为没有加相应的系统账号，所以会提示Failed to add entry for user的错误，只需增加相应的系统账号test就可以了:
[root@ubuntu ~]# gro]]></description><category></category></item><item><title><![CDATA[MySQL服务出现无法找到PID文件错误处理方法]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/111149619</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/111149619</guid><author>weixin_49228721</author><pubDate>Mon, 14 Dec 2020 09:11:49 +0800</pubDate><description><![CDATA[错误详情：
mysql服务正在运行，但是找不到PID文件，如图所示

解决方法：
1.首先通过rpm -qa | grep MySQL命令查看MySQL两个安装包是否已经安装上去，如果缺少其中一个或者代码打错没有安装上去，也有可能报找不到PID文件的错误
如图：

2.如果确认MySQL已经全部安装，还是报找不到PID文件的错误，则输入ps -ef | grep mysql (注意这里mysql要全部小写)命令查看MySQL进程信息，找到文件路径中包含mysql的所有进程的第一列进程号(最后一行是搜索内容无]]></description><category></category></item><item><title><![CDATA[OpenStack理论知识详细解析]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/110923863</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/110923863</guid><author>weixin_49228721</author><pubDate>Thu, 10 Dec 2020 17:24:16 +0800</pubDate><description><![CDATA[前言
OpenStack是一个由NASA(美国国家航空航天局)和Rackspace合作研发并发起的，以Apache许可证授权的自由软件和开放源代码项目。
OpenStack支持几乎所有类型的云环境，项目目标是提供实施简单、可大规模扩展、丰富、标准统一的云计算管理平台。OpenStack通过各种互补的服务提供了基础设施即服务(IaaS)的解决方案，每个服务提供API以进行集成。
OpenStack云计算平台，帮助服务商和企业内部实现类似于 Amazon EC2 和 S3 的云基础架构服务(Infrastruc]]></description><category></category></item><item><title><![CDATA[MHA构建中的报错集合配解决方案]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/110879425</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/110879425</guid><author>weixin_49228721</author><pubDate>Tue, 08 Dec 2020 18:55:00 +0800</pubDate><description><![CDATA[1：报错： [error][/usr/local/share/perl5/MHA/MasterMonitor.pm, ln364] None of slaves can be master. Check failover configuration file or log-bin settings in my.cnf
报错描述
[root@mha_manager ~]# masterha_check_repl -conf=/etc/masterha/app1.cnf
...省略内容
Fri Jan 10 0]]></description><category></category></item><item><title><![CDATA[KVM安装centos7虚拟机无法使用键盘解决方式]]></title><link>https://blog.youkuaiyun.com/weixin_49228721/article/details/110879303</link><guid>https://blog.youkuaiyun.com/weixin_49228721/article/details/110879303</guid><author>weixin_49228721</author><pubDate>Tue, 08 Dec 2020 18:37:34 +0800</pubDate><description><![CDATA[今天远程用VNC登录服务器安装虚拟机，结果使用virt-manager安装虚拟机后在初始阶段无法使用键盘，后来来回试，找到了原因。
在新建导向的时候最后一步之前，选择查看细节那里，在desplay的地方选择VNC server ，再在keyboard地方选择us-en，这下进入安装界面就可以了。


...]]></description><category></category></item></channel></rss>