<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Centos on TinyChen's Blog</title><link>https://tinychen.com/tags/centos/</link><description>Recent content in Centos on TinyChen's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 01 Feb 2023 15:00:00 +0800</lastBuildDate><atom:link href="https://tinychen.com/tags/centos/index.xml" rel="self" type="application/rss+xml"/><item><title>k8s系列15-calico有损迁移至cilium</title><link>https://tinychen.com/20230201-k8s-15-migrate-cni-from-calico-to-cilium/</link><pubDate>Wed, 01 Feb 2023 15:00:00 +0800</pubDate><guid>https://tinychen.com/20230201-k8s-15-migrate-cni-from-calico-to-cilium/</guid><description>&lt;p&gt;本文主要介绍如何在calico集群彻底删除calico并重新安装配置cilium组件作为集群的cni。&lt;/p&gt;
&lt;p&gt;为什么标题写着有损迁移呢，因为在迁移过程中集群的网络会中断，所有的pod都不能正常工作。关于无损的迁移方案，此前在jet stack上面看到过有位大神发了一篇&lt;a href="https://www.jetstack.io/blog/cni-migration/"&gt;文章&lt;/a&gt;，有兴趣的可以看看。其实测试环境的话无所谓有损无损，但是生产环境不建议这么操作，实际上估计也不会有这么操作的吧。&lt;/p&gt;
&lt;p&gt;关于本次使用的calico集群的部署过程可以参考之前的文章&lt;a href="https://tinychen.com/20230109-k8s-13-deploy-ha-k8s-with-calico-bgp/"&gt;k8s系列13-calico部署BGP模式的高可用k8s集群&lt;/a&gt;。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列14-calico开启eBPF</title><link>https://tinychen.com/20230117-k8s-14-calico-enable-ebpf/</link><pubDate>Tue, 17 Jan 2023 15:00:00 +0800</pubDate><guid>https://tinychen.com/20230117-k8s-14-calico-enable-ebpf/</guid><description>&lt;p&gt;本文主要介绍如何在calico集群上开启eBPF加速网络数据转发，同时会对eBPF及其在calico中的一些优势特点进行介绍。&lt;/p&gt;
&lt;p&gt;关于本次使用的calico集群的部署过程可以参考之前的文章&lt;a href="https://tinychen.com/20230109-k8s-13-deploy-ha-k8s-with-calico-bgp/"&gt;k8s系列13-calico部署BGP模式的高可用k8s集群&lt;/a&gt;。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列13-calico部署BGP模式的高可用k8s集群</title><link>https://tinychen.com/20230109-k8s-13-deploy-ha-k8s-with-calico-bgp/</link><pubDate>Mon, 09 Jan 2023 23:00:00 +0800</pubDate><guid>https://tinychen.com/20230109-k8s-13-deploy-ha-k8s-with-calico-bgp/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;containerd&lt;/code&gt;和&lt;code&gt;v3.24.5&lt;/code&gt;版本的calico组件部署&lt;code&gt;v1.26.0&lt;/code&gt;版本的堆叠ETCD高可用k8s原生集群，在&lt;code&gt;LoadBalancer&lt;/code&gt;上选择了&lt;code&gt;PureLB&lt;/code&gt;和&lt;code&gt;calico&lt;/code&gt;结合&lt;code&gt;bird&lt;/code&gt;实现&lt;strong&gt;BGP路由可达&lt;/strong&gt;的K8S集群部署。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列12-kubeadm升级k8s集群</title><link>https://tinychen.com/20221224-k8s-12-kubeadm-upgrade-cluster/</link><pubDate>Sat, 24 Dec 2022 18:00:00 +0800</pubDate><guid>https://tinychen.com/20221224-k8s-12-kubeadm-upgrade-cluster/</guid><description>&lt;p&gt;本文主要介绍如何使用&lt;code&gt;kubeadm&lt;/code&gt;对K8S集群进行升级。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列11-cilium部署KubeProxyReplacement模式</title><link>https://tinychen.com/20221222-k8s-11-kubernetes-without-kubeproxy/</link><pubDate>Thu, 22 Dec 2022 16:00:00 +0800</pubDate><guid>https://tinychen.com/20221222-k8s-11-kubernetes-without-kubeproxy/</guid><description>&lt;p&gt;本文主要介绍在使用了Cilium的K8S集群中如何开启&lt;code&gt;KubeProxyReplacement&lt;/code&gt;功能来替代K8S集群原生的&lt;code&gt;kube-proxy&lt;/code&gt;组件，同时还会介绍Cilium的几个特色功能如Maglev一致性哈希、DSR模式、Socket旁路和XDP加速等。&lt;/p&gt;
&lt;p&gt;关于本文实操使用的K8S集群的部署过程可以参考上一篇文章&lt;a href="https://tinychen.com/20221209-k8s-10-deploy-ha-k8s-with-cilium-bgp/"&gt;k8s系列10-使用kube-router和cilium部署BGP模式的k8s集群&lt;/a&gt;。此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列10-使用kube-router和cilium部署BGP模式的k8s集群</title><link>https://tinychen.com/20221209-k8s-10-deploy-ha-k8s-with-cilium-bgp/</link><pubDate>Fri, 09 Dec 2022 23:00:00 +0800</pubDate><guid>https://tinychen.com/20221209-k8s-10-deploy-ha-k8s-with-cilium-bgp/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;containerd&lt;/code&gt;和&lt;code&gt;stable&lt;/code&gt;版本（&lt;code&gt;1.12.4&lt;/code&gt;）的&lt;code&gt;cilium&lt;/code&gt;组件部署&lt;code&gt;v1.25.4&lt;/code&gt;版本的堆叠ETCD高可用k8s原生集群，在&lt;code&gt;LoadBalancer&lt;/code&gt;上选择了&lt;code&gt;PureLB&lt;/code&gt;和&lt;code&gt;kube-router&lt;/code&gt;结合&lt;code&gt;cilium&lt;/code&gt;实现&lt;strong&gt;BGP路由可达&lt;/strong&gt;的K8S集群部署。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列05-使用containerd和cilium部署kubeproxy-free的k8s集群</title><link>https://tinychen.com/20220512-k8s-05-deploy-k8s-without-kubeproxy/</link><pubDate>Thu, 12 May 2022 15:00:00 +0800</pubDate><guid>https://tinychen.com/20220512-k8s-05-deploy-k8s-without-kubeproxy/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;containerd&lt;/code&gt;和&lt;code&gt;stable&lt;/code&gt;版本（&lt;code&gt;1.11.4&lt;/code&gt;）的&lt;code&gt;cilium&lt;/code&gt;组件部署&lt;code&gt;v1.24.0&lt;/code&gt;版本的k8s原生集群，由于集群主要用于自己平时学习和测试使用，加上资源有限，暂不涉及高可用部署。&lt;/p&gt;
&lt;p&gt;此外，由于&lt;code&gt;cilium&lt;/code&gt;已经实现了对&lt;code&gt;kube-proxy&lt;/code&gt;的一整套替代方案，这里部署k8s集群的时候会使用cilium的&lt;code&gt;kubeproxy-free&lt;/code&gt;方案。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列04-kubeadm部署cilium网络的k8s集群</title><link>https://tinychen.com/20220510-k8s-04-deploy-k8s-with-cilium/</link><pubDate>Tue, 10 May 2022 13:00:00 +0800</pubDate><guid>https://tinychen.com/20220510-k8s-04-deploy-k8s-with-cilium/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;docker&lt;/code&gt;和&lt;code&gt;cilium&lt;/code&gt;组件部署&lt;code&gt;v1.23.6&lt;/code&gt;版本的k8s原生集群，由于集群主要用于自己平时学习和测试使用，加上资源有限，暂不涉及高可用部署。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列03-kubeadm部署calico网络的k8s集群</title><link>https://tinychen.com/20220508-k8s-03-deploy-k8s-with-calico/</link><pubDate>Sun, 08 May 2022 13:00:00 +0800</pubDate><guid>https://tinychen.com/20220508-k8s-03-deploy-k8s-with-calico/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;docker&lt;/code&gt;和&lt;code&gt;calico&lt;/code&gt;组件部署&lt;code&gt;v1.23.6&lt;/code&gt;版本的k8s原生集群，由于集群主要用于自己平时学习和测试使用，加上资源有限，暂不涉及高可用部署。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>k8s系列02-kubeadm部署flannel网络的k8s集群</title><link>https://tinychen.com/20220507-k8s-02-deploy-k8s-with-flannel/</link><pubDate>Sat, 07 May 2022 13:00:00 +0800</pubDate><guid>https://tinychen.com/20220507-k8s-02-deploy-k8s-with-flannel/</guid><description>&lt;p&gt;本文主要在centos7系统上基于&lt;code&gt;docker&lt;/code&gt;和&lt;code&gt;flannel&lt;/code&gt;组件部署&lt;code&gt;v1.23.6&lt;/code&gt;版本的k8s原生集群，由于集群主要用于自己平时学习和测试使用，加上资源有限，暂不涉及高可用部署。&lt;/p&gt;
&lt;p&gt;此前写的一些关于k8s基础知识和集群搭建的一些&lt;a href="https://tinychen.com/tags/k8s/"&gt;方案&lt;/a&gt;，有需要的同学可以看一下。&lt;/p&gt;</description></item><item><title>RockyLinux简单安装上手体验</title><link>https://tinychen.com/20210705-rockylinux-quick-start-experience/</link><pubDate>Mon, 05 Jul 2021 15:00:00 +0800</pubDate><guid>https://tinychen.com/20210705-rockylinux-quick-start-experience/</guid><description>&lt;p&gt;Rocky Linux — A community-driven effort to bring you enterprise-grade, production-ready Linux.&lt;/p&gt;</description></item><item><title>nginx篇08-添加客户端证书认证</title><link>https://tinychen.com/20210304-nginx-08-ssl-client-certificate/</link><pubDate>Thu, 04 Mar 2021 15:00:00 +0800</pubDate><guid>https://tinychen.com/20210304-nginx-08-ssl-client-certificate/</guid><description>&lt;p&gt;本文主要介绍如何使用给nginx服务添加客户端证书认证从而实现双向加密。&lt;/p&gt;
&lt;p&gt;对于一般的https网站来说，实际上https所使用的证书是属于单向验证，即客户端单向验证服务器的安全性，而服务器端是没有对客户端的身份进行验证的。关于https的原理，可以查看这篇文章：&lt;a href="https://tinychen.com/20200602-encryption-intro/"&gt;《SSL/TLS、对称加密和非对称加密和TLSv1.3》&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;如果自己部署了一些安全性较高的网站不希望被其他人随意访问，就可以尝试部署https的双向认证，对客户端也添加证书认证。本文将会使用openssl自签证书来完成最简单的一个https双向认证。&lt;/p&gt;</description></item><item><title>Prometheus系列01-单机版二进制部署</title><link>https://tinychen.com/20210105-prometheus-01-binary-install/</link><pubDate>Tue, 05 Jan 2021 11:00:00 +0800</pubDate><guid>https://tinychen.com/20210105-prometheus-01-binary-install/</guid><description>&lt;p&gt;作为 CNCF 中最成功的开源项目之一，&lt;code&gt;Prometheus&lt;/code&gt; 已经成为了云原生监控的代名词，被广泛应用在 &lt;code&gt;Kubernetes&lt;/code&gt;和&lt;code&gt;OpenShift&lt;/code&gt; 等项目中，同时有很多第三方解决方案也会集成 &lt;code&gt;Prometheus&lt;/code&gt;。随着 &lt;code&gt;Kubernetes&lt;/code&gt; 在容器调度和管理上确定领头羊的地位，&lt;code&gt;Prometheus&lt;/code&gt; 也成为&lt;code&gt;Kubernetes&lt;/code&gt;容器监控的标配。&lt;/p&gt;
&lt;p&gt;考虑到k8s系统的复杂性和上手难度较高，本文将从最简单最基础的部分开始循序渐进，主要介绍如何在CentOS8系统上直接使用二进制文件和&lt;code&gt;systemd&lt;/code&gt;进行&lt;code&gt;Prometheus server&lt;/code&gt;的单机版本部署，本文只涉及到最基础的&lt;code&gt;Prometheus server&lt;/code&gt;、&lt;code&gt;node_exporter&lt;/code&gt;和&lt;code&gt;Grafana&lt;/code&gt;三个模块，暂未涉及&lt;code&gt;Pushgateway&lt;/code&gt;和&lt;code&gt;Alertmanager&lt;/code&gt;两个模块。&lt;/p&gt;
&lt;p&gt;一般来说，&lt;code&gt;Prometheus server&lt;/code&gt;是用于作为服务端来存储各类&lt;code&gt;exporter&lt;/code&gt;在被监控节点上面采集的数据，而&lt;code&gt;Grafana&lt;/code&gt;则负责将&lt;code&gt;Prometheus server&lt;/code&gt;上的数据可视化，因此&lt;code&gt;Prometheus server&lt;/code&gt;和&lt;code&gt;Grafana&lt;/code&gt;不一定要部署在同一台机器上面，只需要部署两者的机器能够互相通信即可，同理，各类&lt;code&gt;exporter&lt;/code&gt;应该部署在需要被监控的节点机器上。这里由于机器数量有限且只作为测试，会将三者都部署在同一台机器上。&lt;/p&gt;</description></item><item><title>给ssh服务添加fail2ban安全认证</title><link>https://tinychen.com/20201222-centos8-install-fail2ban/</link><pubDate>Tue, 22 Dec 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201222-centos8-install-fail2ban/</guid><description>&lt;p&gt;本文主要讲解在&lt;code&gt;centos8&lt;/code&gt;系统中安装&lt;code&gt;fail2ban&lt;/code&gt;服务来提供ssh服务的安全性。&lt;/p&gt;
&lt;p&gt;本文&lt;a href="https://www.xmodulo.com/how-to-protect-ssh-server-from-brute-force-attacks-using-fail2ban.html"&gt;参考链接&lt;/a&gt;。&lt;/p&gt;</description></item><item><title>给ssh服务添加谷歌双重认证</title><link>https://tinychen.com/20201203-ssh-add-google-authenticator/</link><pubDate>Thu, 03 Dec 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201203-ssh-add-google-authenticator/</guid><description>&lt;p&gt;本文主要讲解在centos7系统中添加谷歌验证器来开启ssh的双重认证从而提高ssh服务在使用密码登录的时候的安全性。&lt;/p&gt;</description></item><item><title>对KVM虚拟机添加ttyS0实现console操作</title><link>https://tinychen.com/20201129-add-kvm-console-ttys0/</link><pubDate>Sun, 29 Nov 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201129-add-kvm-console-ttys0/</guid><description>&lt;p&gt;本文主要介绍如何给KVM虚拟机添加ttyS0终端实现宿主机的console操作。&lt;/p&gt;</description></item><item><title>给cp和mv命令添加进度条</title><link>https://tinychen.com/20201128-add-progess-bar-in-cp-mv/</link><pubDate>Sat, 28 Nov 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201128-add-progess-bar-in-cp-mv/</guid><description>&lt;p&gt;本文主要介绍如何使用github上的开源项目&lt;a href="https://github.com/jarun/advcpmv"&gt;advcpmv&lt;/a&gt;来实现Linux中的&lt;strong&gt;cp&lt;/strong&gt;和&lt;strong&gt;mv&lt;/strong&gt;命令的进度条。&lt;/p&gt;</description></item><item><title>centos8使用grubby修改内核启动参数</title><link>https://tinychen.com/20201118-centos8-use-grubby-modify-kernel/</link><pubDate>Wed, 18 Nov 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201118-centos8-use-grubby-modify-kernel/</guid><description>&lt;p&gt;grubby是一个用于更新和显示有关各种体系结构特定的引导程序的配置文件信息的命令行工具。 它主要设计用于安装新内核并需要查找有关当前引导环境的信息的脚本，同时也可以对启动内核的各项信息参数进行修改。&lt;/p&gt;
&lt;p&gt;本文主要介绍如何在centos8中使用grubby工具来对系统的内核启动参数和启动顺序进行调整。&lt;/p&gt;</description></item><item><title>linux中设置ssh登录时显示的banner</title><link>https://tinychen.com/20201116-linux-modify-ssh-login-banner/</link><pubDate>Mon, 16 Nov 2020 11:00:00 +0800</pubDate><guid>https://tinychen.com/20201116-linux-modify-ssh-login-banner/</guid><description>&lt;p&gt;本文主要介绍在linux系统下对ssh的配置文件进行修改从而自定义ssh登录显示的banner横幅提示语。&lt;/p&gt;</description></item><item><title>centos7/8修改网卡名称并持久化配置</title><link>https://tinychen.com/20201024-centos8-modify-eth-name/</link><pubDate>Sun, 25 Oct 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20201024-centos8-modify-eth-name/</guid><description>&lt;p&gt;本文主要介绍将centos7/8中引入的新网卡命名方式修改为传统的ethx命名并将命名和mac地址进行持久化绑定的方法&lt;/p&gt;</description></item><item><title>ssh常用配置</title><link>https://tinychen.com/20200912-ssh-config-introduction/</link><pubDate>Sat, 12 Sep 2020 10:00:00 +0800</pubDate><guid>https://tinychen.com/20200912-ssh-config-introduction/</guid><description>&lt;p&gt;本文主要记录了一些Linux系统下使用ssh指令的技巧和ssh的config文件简化ssh操作的过程。&lt;/p&gt;</description></item><item><title>xrags命令的常见用法</title><link>https://tinychen.com/20200903-linux-xargs-command-introduction/</link><pubDate>Thu, 03 Sep 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20200903-linux-xargs-command-introduction/</guid><description>&lt;p&gt;本文主要介绍在xrags命令的一些参数和常见的使用方法。&lt;/p&gt;</description></item><item><title>在bash中开启显示完整路径</title><link>https://tinychen.com/20200701-bash-show-pwd/</link><pubDate>Wed, 01 Jul 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20200701-bash-show-pwd/</guid><description>&lt;p&gt;本文主要介绍在bash中开启显示完整路径。&lt;/p&gt;</description></item><item><title>RHEL/CentOS修改hostname</title><link>https://tinychen.com/20200616-centos-modify-hostname/</link><pubDate>Tue, 16 Jun 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20200616-centos-modify-hostname/</guid><description>&lt;p&gt;本文主要介绍在RHEL/CentOS/6/7/8中如何修改主机的hostname。&lt;/p&gt;</description></item><item><title>Windows Terminal + WSL2 + CENTOS 配置Windows命令终端</title><link>https://tinychen.com/20200512-windows-terminal-wsl2-centos-installation/</link><pubDate>Tue, 12 May 2020 10:00:00 +0800</pubDate><guid>https://tinychen.com/20200512-windows-terminal-wsl2-centos-installation/</guid><description>&lt;p&gt;本文主要用于记录在Windows上使用WSL2和centos系统打造一个免费高效的shell终端的配置过程以及界面优化过程。&lt;/p&gt;</description></item><item><title>CentOS创建KVM虚拟机</title><link>https://tinychen.com/20200405-centos-create-kvm-vm/</link><pubDate>Sun, 05 Apr 2020 10:00:00 +0800</pubDate><guid>https://tinychen.com/20200405-centos-create-kvm-vm/</guid><description>&lt;p&gt;使用qemu-kvm在CentOS8上通过GUI创建虚拟机。&lt;/p&gt;</description></item><item><title>Linux上启用kvm嵌套虚拟化功能</title><link>https://tinychen.com/20200213-kvm-nested/</link><pubDate>Thu, 13 Feb 2020 10:00:00 +0800</pubDate><guid>https://tinychen.com/20200213-kvm-nested/</guid><description>&lt;p&gt;kvm支持嵌套虚拟化，即可以在虚拟机中创建虚拟机。本文主要介绍如何在使用Intel处理器的CentOS7中开启KVM的嵌套虚拟化功能。&lt;/p&gt;</description></item><item><title>使用ntfsfix解决Linux下无法挂载NTFS硬盘的问题</title><link>https://tinychen.com/20200120-linux-ntfsfix-ntfs/</link><pubDate>Mon, 20 Jan 2020 17:00:00 +0800</pubDate><guid>https://tinychen.com/20200120-linux-ntfsfix-ntfs/</guid><description>&lt;p&gt;使用&lt;code&gt;ntfsfix&lt;/code&gt;解决Linux下无法挂载NTFS硬盘的问题，主要是由硬盘分区的&lt;code&gt;$MFT&lt;/code&gt;文件出现了问题，可以在windows下使用&lt;code&gt;chkdsk&lt;/code&gt;命令或者在Linux下使用&lt;code&gt;ntfsfix&lt;/code&gt;来进行修复。&lt;/p&gt;</description></item><item><title>常用的高效gnome插件以及主题的下载地址</title><link>https://tinychen.com/20200110-gnome-extension-recommand/</link><pubDate>Fri, 10 Jan 2020 10:00:00 +0800</pubDate><guid>https://tinychen.com/20200110-gnome-extension-recommand/</guid><description>&lt;p&gt;在CentOS7上使用Gnome3.26版本进行安装测试，大多数的插件都可以正常运行，主题的工作情况良好，下面的推荐插件全部同时启用会发生冲突，实际需要启用那些插件大家可以根据自己的实际需求进行选择。&lt;/p&gt;
&lt;p&gt;注：grub界面的引导美化在CentOS7上面暂未成功。&lt;/p&gt;</description></item><item><title>在CentOS中使用yum安装chrome浏览器</title><link>https://tinychen.com/20200105-centos-install-chrome/</link><pubDate>Sun, 05 Jan 2020 08:00:00 +0800</pubDate><guid>https://tinychen.com/20200105-centos-install-chrome/</guid><description>&lt;p&gt;在CentOS上使用yum安装chrome浏览器，实测在CentOS7和CentOS8中都可以正常操作，需要保证能够直接访问谷歌。&lt;/p&gt;</description></item><item><title>在CentOS中使用nux源安装shutter</title><link>https://tinychen.com/20200103-centos7-nux-install-shutter/</link><pubDate>Fri, 03 Jan 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20200103-centos7-nux-install-shutter/</guid><description>&lt;p&gt;shutter和flameshot都是Linux下很强大的截图软件，之前在Ubuntu上面一直使用flameshot感觉不错，现在换到了CentOS7，改用NUX_Desktop源来安装shutter。&lt;/p&gt;</description></item><item><title>在CentOS7中使用RDO安装OpenStack-Stein-AIO</title><link>https://tinychen.com/20200102-centos7-rdo-install-openstack/</link><pubDate>Thu, 02 Jan 2020 15:00:00 +0800</pubDate><guid>https://tinychen.com/20200102-centos7-rdo-install-openstack/</guid><description>&lt;p&gt;本文主要记录了在CentOS7.7系统（物理机）下使用红帽官方的RDO工具进行OpenStack的all-in-one模式部署。关于宿主机的，在之前的文章中已经做过了详细的介绍和测试，这里不再赘述，有兴趣的同学可以&lt;a href="https://tinychen.com/191212-my-hedt-intro/"&gt;点击这里&lt;/a&gt;查看。&lt;/p&gt;</description></item><item><title>在CentOS7中使用elrepo源安装Nvidia显卡驱动</title><link>https://tinychen.com/20200102-centos7-elrepo-install-nvidia-driver/</link><pubDate>Thu, 02 Jan 2020 09:00:00 +0800</pubDate><guid>https://tinychen.com/20200102-centos7-elrepo-install-nvidia-driver/</guid><description>&lt;p&gt;在CentOS7中使用elrepo源来进行英伟达显卡驱动的安装。&lt;/p&gt;</description></item><item><title>Linux中升级pip和更换pip镜像源</title><link>https://tinychen.com/20191227-pip-source-upgrade/</link><pubDate>Fri, 27 Dec 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191227-pip-source-upgrade/</guid><description>&lt;p&gt;在Linux中对Python的pip进行更新和镜像源替换为国内的镜像源。理论上操作对于Linux系统均适用，Python2和Python3也同样适用，不过Python2将在2020年1月1日停止支持，这里需要提醒一下大家记得尽快升级迁移自己项目和系统中使用的Python版本。&lt;/p&gt;
&lt;p&gt;本文的操作会使用CentOS7+Python2和Ubuntu18.04.3+Python3来进行演示。&lt;/p&gt;</description></item><item><title>搭建LNMP环境并配置wordpress网站</title><link>https://tinychen.com/20191123-lnmp-install-wordpress/</link><pubDate>Sat, 23 Nov 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191123-lnmp-install-wordpress/</guid><description>&lt;p&gt;CentOS7中搭建nginx+MySQL8+PHP7的LNMP环境，并且安装wordpress来作为网站服务器。&lt;/p&gt;</description></item><item><title>MySQL8重置root密码</title><link>https://tinychen.com/20191122-mysql8-reset-passwd/</link><pubDate>Fri, 22 Nov 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191122-mysql8-reset-passwd/</guid><description>&lt;p&gt;CentOS7中MySQL8.0初始root密码的设置和忘记root密码的重置方法。&lt;/p&gt;</description></item><item><title>在Linux中使用xrandr调整分辨率</title><link>https://tinychen.com/20191105-linux-use-xrandr/</link><pubDate>Tue, 05 Nov 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191105-linux-use-xrandr/</guid><description>&lt;p&gt;在CentOS8和Ubuntu18上使用&lt;code&gt;xrandr&lt;/code&gt;调整显示器分辨率并设置重启后不失效。&lt;/p&gt;</description></item><item><title>在CentOS8中安装xrdp远程桌面</title><link>https://tinychen.com/20191029-centos8-install-xrdp/</link><pubDate>Tue, 29 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191029-centos8-install-xrdp/</guid><description>&lt;p&gt;在CentOS8上安装&lt;code&gt;xrdp&lt;/code&gt;和&lt;code&gt;vnc&lt;/code&gt;并在windows中使用&lt;code&gt;mstsc&lt;/code&gt;进行远程控制。&lt;/p&gt;</description></item><item><title>在CentOS8中安装VLC播放器</title><link>https://tinychen.com/20191028-centos8-install-vlc/</link><pubDate>Mon, 28 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191028-centos8-install-vlc/</guid><description>&lt;p&gt;在CentOS8上使用&lt;code&gt;epel&lt;/code&gt;源和&lt;code&gt;rpmfusion&lt;/code&gt;源安装VLC播放器。&lt;/p&gt;</description></item><item><title>NTP和Chrony以及常用NTP时间同步服务器</title><link>https://tinychen.com/20191026-ntp-servers/</link><pubDate>Sat, 26 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191026-ntp-servers/</guid><description>&lt;p&gt;国内常用的NTP时间服务器，可以用于Linux中的NTP时间同步或者是chrony时间同步。&lt;/p&gt;</description></item><item><title>CentOS8上启动系统web管理工具cockpit</title><link>https://tinychen.com/20191025-centos8-use-cockpit/</link><pubDate>Fri, 25 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191025-centos8-use-cockpit/</guid><description>&lt;p&gt;CentOS8和RHEL8中新加入了一项功能&lt;code&gt;cockpit&lt;/code&gt;，可以使用web浏览器来管理系统的一些常用状态，比如用户管理、软件更新、SELinux以及ssh等操作。&lt;/p&gt;</description></item><item><title>CentOS8yum源替换为国内镜像源</title><link>https://tinychen.com/20191024-centos8-replace-yum-source/</link><pubDate>Thu, 24 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191024-centos8-replace-yum-source/</guid><description>&lt;p&gt;CentOS8中主要的内置yum源、elrepo源、epel源和rpmfusion源的国内镜像版本，直接复制替换即可使用。&lt;/p&gt;</description></item><item><title>配置bash补全忽略大小写</title><link>https://tinychen.com/20191023-bash-completion-ignore-case/</link><pubDate>Wed, 23 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191023-bash-completion-ignore-case/</guid><description>&lt;p&gt;在Linux上使用bash补全的时候忽略大小写。&lt;/p&gt;</description></item><item><title>在CentOS中安装VisualStudioCode</title><link>https://tinychen.com/20191022-centos-install-vsc/</link><pubDate>Tue, 22 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191022-centos-install-vsc/</guid><description>&lt;p&gt;在CentOS上使用yum repo安装VSC，实测CentOS7和CentOS8均可正常安装。&lt;/p&gt;</description></item><item><title>在CentOS中安装wps</title><link>https://tinychen.com/20191020-centos-install-wps/</link><pubDate>Sun, 20 Oct 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20191020-centos-install-wps/</guid><description>&lt;p&gt;在CentOS上使用rpm安装wps并导入相关的缺失字体,实测CentOS7和8均可正常安装。&lt;/p&gt;</description></item><item><title>在CentOS中安装特定版本的docker</title><link>https://tinychen.com/20190912-centos-install-docker/</link><pubDate>Thu, 12 Sep 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190912-centos-install-docker/</guid><description>&lt;p&gt;在CentOS7和CentOS8上卸载已安装的docker并安装特定版本的docker。&lt;/p&gt;</description></item><item><title>个人博客web服务器换用nginx</title><link>https://tinychen.com/20190829-http-to-nginx/</link><pubDate>Thu, 29 Aug 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190829-http-to-nginx/</guid><description>&lt;p&gt;记录一下个人博客的web服务器从apache换成nginx的过程。&lt;/p&gt;</description></item><item><title>Ansible入门初试</title><link>https://tinychen.com/20190823-ansible-intro/</link><pubDate>Fri, 23 Aug 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190823-ansible-intro/</guid><description>&lt;p&gt;Ansible的基本概念和入门安装配置。&lt;/p&gt;</description></item><item><title>在k8s中删除和添加节点的方法</title><link>https://tinychen.com/20190801-k8s-del-n-add-node/</link><pubDate>Thu, 01 Aug 2019 10:00:00 +0800</pubDate><guid>https://tinychen.com/20190801-k8s-del-n-add-node/</guid><description>&lt;p&gt;简单介绍一下在k8s集群中删除节点和添加节点的方法。&lt;/p&gt;</description></item><item><title>在k8s中的Service简介</title><link>https://tinychen.com/20190723-k8s-service/</link><pubDate>Tue, 23 Jul 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190723-k8s-service/</guid><description>&lt;p&gt;简单介绍一下k8s中的Service组件。&lt;/p&gt;</description></item><item><title>在k8s中的controller简介</title><link>https://tinychen.com/20190722-k8s-controller/</link><pubDate>Mon, 22 Jul 2019 17:00:00 +0800</pubDate><guid>https://tinychen.com/20190722-k8s-controller/</guid><description>&lt;p&gt;运行容器化应用是Kubernetes最重要的核心功能。为满足不同的业务需要，Kubernetes提供了多种Controller，主要包括&lt;code&gt;Deployment&lt;/code&gt;、&lt;code&gt;DaemonSet&lt;/code&gt;、&lt;code&gt;Job&lt;/code&gt;、&lt;code&gt;CronJob&lt;/code&gt;等。&lt;/p&gt;</description></item><item><title>在CentOS7上部署高可用的k8s集群(v1.15)</title><link>https://tinychen.com/20190718-centos7-install-k8s-ha/</link><pubDate>Thu, 18 Jul 2019 11:00:00 +0800</pubDate><guid>https://tinychen.com/20190718-centos7-install-k8s-ha/</guid><description>&lt;p&gt;在VMware虚拟机中的CentOS7集群部署高可用的k8s集群环境(v1.15)。&lt;/p&gt;
&lt;p&gt;这里有两篇基础知识的补充和单master节点集群的搭建过程，有需要的同学可以看一下。&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tinychen.com/20190715-k8s-concepts-intro/"&gt;k8s重要概念及各组件简介&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tinychen.com/20190716-centos7-install-k8s/"&gt;在CentOS7上部署k8s集群(v1.15)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>在CentOS7上部署单Master节点k8s集群(v1.15)</title><link>https://tinychen.com/20190716-centos7-install-k8s/</link><pubDate>Tue, 16 Jul 2019 17:00:00 +0800</pubDate><guid>https://tinychen.com/20190716-centos7-install-k8s/</guid><description>&lt;p&gt;在虚拟机中的CentOS7集群中部署单master节点的k8s环境(v1.15)。&lt;/p&gt;</description></item><item><title>在CentOS7上安装Zabbix4.2监控系统</title><link>https://tinychen.com/20190712-centos7-install-zabbix42/</link><pubDate>Fri, 12 Jul 2019 10:00:00 +0800</pubDate><guid>https://tinychen.com/20190712-centos7-install-zabbix42/</guid><description>&lt;p&gt;在五台CentOS7的虚拟机上尝试安装Zabbix4.2用来监控各个主机的运行状况。&lt;/p&gt;</description></item><item><title>RHEL7的ACL简介</title><link>https://tinychen.com/20190711-rhel7-acl/</link><pubDate>Thu, 11 Jul 2019 11:00:00 +0800</pubDate><guid>https://tinychen.com/20190711-rhel7-acl/</guid><description>&lt;p&gt;RHEL7中的ACL的简单介绍。&lt;/p&gt;
&lt;h2 id="acl简介"&gt;ACL简介&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;ACL&lt;/code&gt;是&lt;code&gt;Access Control List&lt;/code&gt;的缩写，主要的目的是在提供传统的&lt;code&gt;owner&lt;/code&gt;，&lt;code&gt;group&lt;/code&gt;，&lt;code&gt;others&lt;/code&gt;的&lt;code&gt;read(r)&lt;/code&gt;，&lt;code&gt;write(w)&lt;/code&gt;，&lt;code&gt;execute(x)&lt;/code&gt; 权限之外的细部权限设定。&lt;/p&gt;
&lt;p&gt;ACL可以针对单一使用者，单一文件或目录来进行r，w，x的权限规范，对于需要特殊权限的使用状况非常有帮助。
ACL主要可以针对以下三者：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;使用者（user）：可以针对使用者来设定权限&lt;/li&gt;
&lt;li&gt;群组（group）：针对群组为对象来设定其权限&lt;/li&gt;
&lt;li&gt;默认属性（mask）：还可以针对在该目录下在建立新文件/目录时，规范新数据的默认权限&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>RHEL7中的CRON简介</title><link>https://tinychen.com/20190710-rhel7-cron/</link><pubDate>Wed, 10 Jul 2019 10:50:00 +0800</pubDate><guid>https://tinychen.com/20190710-rhel7-cron/</guid><description>&lt;p&gt;RHEL7中的CRON功能以及使用方式简介。&lt;/p&gt;
&lt;h2 id="cron简介"&gt;cron简介&lt;/h2&gt;
&lt;p&gt;crond 是linux下用来周期性的执行某种任务或等待处理某些事件的一个守护进程，与windows下的计划任务类似，当安装完成操作系统后，默认会安装此服务 工具，并且会自动启动crond进程，crond进程&lt;strong&gt;每分钟&lt;/strong&gt;会定期检查是否有要执行的任务，如果有要执行的任务，则自动执行该任务。&lt;/p&gt;</description></item><item><title>多主机间实现SSH免密登录</title><link>https://tinychen.com/20190709-multi-ssh/</link><pubDate>Tue, 09 Jul 2019 15:30:00 +0800</pubDate><guid>https://tinychen.com/20190709-multi-ssh/</guid><description>&lt;p&gt;K8S部署的前期准备工作，多台CentOS主机之间使用SSH免密登录。&lt;/p&gt;</description></item><item><title>CentOS7修改默认启动级别</title><link>https://tinychen.com/20190708-rhel7-change-init-level/</link><pubDate>Mon, 08 Jul 2019 19:00:00 +0800</pubDate><guid>https://tinychen.com/20190708-rhel7-change-init-level/</guid><description>&lt;p&gt;Linux中的七种启动级别介绍及CentOS7修改默认启动级别的方法。&lt;/p&gt;</description></item><item><title>RHEL7的yum简介</title><link>https://tinychen.com/20190708-rhel7-yum-repo/</link><pubDate>Mon, 08 Jul 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190708-rhel7-yum-repo/</guid><description>&lt;p&gt;RHEL7中的rpm和yum的简单介绍。&lt;/p&gt;</description></item><item><title>RHEL7的SELinux简介</title><link>https://tinychen.com/20190707-rhel7-selinux/</link><pubDate>Sun, 07 Jul 2019 12:00:00 +0800</pubDate><guid>https://tinychen.com/20190707-rhel7-selinux/</guid><description>&lt;p&gt;RHEL7中的SELinux简单介绍。&lt;/p&gt;</description></item><item><title>RHEL7破解ROOT密码</title><link>https://tinychen.com/20190707-rhel7-break-passwd/</link><pubDate>Sun, 07 Jul 2019 01:00:00 +0800</pubDate><guid>https://tinychen.com/20190707-rhel7-break-passwd/</guid><description>&lt;p&gt;RHEL系列Linux破解ROOT密码的操作。&lt;/p&gt;</description></item><item><title>Frp内网穿透实现MS远程桌面和SSH</title><link>https://tinychen.com/20190706-frp/</link><pubDate>Sat, 06 Jul 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190706-frp/</guid><description>&lt;p&gt;使用github上面的开源项目Frp和一台有公网IP的主机来实现反向代理（内网穿透），从而达到使用微软自带的远程桌面mstsc来远程没有公网IP的windows电脑和使用ssh远程Linux系统（Centos和Ubuntu）的效果。&lt;/p&gt;
&lt;p&gt;本文不涉及反向代理的具体理论知识，使用的公网IP主机为阿里云主机（十块钱一个月的学生版），由于使用的阿里云主机带宽有限，因此使用远程桌面的效果可能比较一般，但是对于SSH远程来说肯定是足够了的。&lt;/p&gt;
&lt;p&gt;需要注意的是，如果你的电脑本身所处的网络是有动态公网IP的，建议直接在路由器中设置DDNS，效果要比这个好很多，这个仅适用于那些没有公网IP的电脑。&lt;/p&gt;</description></item><item><title>CentOS升级Linux内核</title><link>https://tinychen.com/20190612-centos-update-kernel/</link><pubDate>Wed, 12 Jun 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190612-centos-update-kernel/</guid><description>&lt;p&gt;CentOS7.6升级5.1.9的Linux内核，如果提示权限不足记得切换root用户。&lt;/p&gt;
&lt;p&gt;Ubunut18.04版本请移步&lt;a href="https://tinychen.com/20190614-ubuntu-update-kernel/"&gt;这里&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Ubuntu18.04和CentOS7更换阿里源</title><link>https://tinychen.com/20190605-linux-use-ali-source/</link><pubDate>Wed, 05 Jun 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190605-linux-use-ali-source/</guid><description>&lt;p&gt;在CentOS7.6和Ubuntu18.04上面更换软件源为阿里源。&lt;/p&gt;</description></item><item><title>Linux安装MPI</title><link>https://tinychen.com/20190604-linux-install-mpi/</link><pubDate>Tue, 04 Jun 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190604-linux-install-mpi/</guid><description>&lt;p&gt;在CentOS7.6和Ubuntu19.04上面安装MPI开发环境。&lt;/p&gt;
&lt;p&gt;需要注意的是除非使用root账号，不然需要加上&lt;code&gt;sudo&lt;/code&gt;保证有足够的权限执行安装操作。&lt;/p&gt;</description></item><item><title>CentOS7安装MariaDB</title><link>https://tinychen.com/20190521-centos-install-mariadb/</link><pubDate>Tue, 21 May 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190521-centos-install-mariadb/</guid><description>&lt;p&gt;主要是在CentOS7上安装MariaDB服务。&lt;/p&gt;</description></item><item><title>CentOS配置Python3开发环境</title><link>https://tinychen.com/20190413-centos-install-python/</link><pubDate>Sat, 13 Apr 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190413-centos-install-python/</guid><description>&lt;p&gt;CentOS7配置Python3.7开发环境&lt;/p&gt;</description></item><item><title>阿里云轻量级应用服务器CentOS系统Apache配置Https</title><link>https://tinychen.com/20190407-aliyun-centos-apache-https/</link><pubDate>Sun, 07 Apr 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190407-aliyun-centos-apache-https/</guid><description>&lt;p&gt;记录一下给Hexo博客配置https域名过程中踩的各种坑。&lt;/p&gt;</description></item><item><title>CentOS配置JDK环境</title><link>https://tinychen.com/20190317-centos-install-jdk/</link><pubDate>Sun, 17 Mar 2019 15:00:00 +0800</pubDate><guid>https://tinychen.com/20190317-centos-install-jdk/</guid><description>&lt;p&gt;在CentOS7上面实现JDK的环境配置。&lt;/p&gt;</description></item><item><title>CentOS7安装MySQL</title><link>https://tinychen.com/20190310-centos-install-mysql/</link><pubDate>Sun, 10 Mar 2019 10:00:00 +0800</pubDate><guid>https://tinychen.com/20190310-centos-install-mysql/</guid><description>&lt;p&gt;主要是在CentOS7上安装MySQL服务。&lt;/p&gt;</description></item></channel></rss>