# bbotte.github.io **Repository Path**: lixingyu0201/bbotte.github.io ## Basic Information - **Project Name**: bbotte.github.io - **Description**: 此项目为《linux工匠》博客,以及日常运维中所用到的shell,python脚本和服务配置,集群安装文档等,保持更新 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README --- layout: default --- ##### 欢迎访问我的博客:[linux工匠](http://www.bbotte.com/) | 标签 | 文章 | 标签 | 文章 | | --------------------- | :--------------------------------------- | ----------- | ---------------------------------------- | | **kubernetes** | [架构设计理论](https://bbotte.github.io/service_config/kubernetes-design-and-architecture)   [调整pod内核参数](https://bbotte.github.io/service_config/adjust-the-kernel-parameters-of-the-pod-on-kubernetes)   [服务发布](https://bbotte.github.io/service_config/jinja-and-jenkins-as-service-delivery-platforms-for-kubernetes)  [1.13.3安装](https://bbotte.github.io/virtualization/kubernetes_cluster_install_1-13-3)   [调度简介](https://bbotte.github.io/virtualization/introduction-to-kubernetes-scheduling-of-nodename-nodeselector-affinity-anti-affinity-taints-tolerations)   [dashboard ](https://bbotte.github.io/virtualization/kubernetes-dashboard-login-method)   [traefik  ](https://bbotte.github.io/virtualization/traefik-configuration-for-kubernetes) [编译二进制](https://bbotte.github.io/virtualization/compile-kubernetes-binary-files) | **docker** | [了解docker和kubernetes](https://bbotte.github.io/service_config/a-minute-to-learn-about-docker-and-kubernetes)   [docker初学](https://bbotte.github.io/virtualization/flow-me-learning-docker) | | **databases** | [mysql集群mgr](https://bbotte.github.io/service_config/mysql-mgr/mysql_group_rplication_config)   [mongodb](https://bbotte.github.io/databases/mongodb-replication-and-replica-set)  [windows主机的Mysql](https://bbotte.github.io/databases/mysql-batch-operation-and-maintenance-management-on-windows)   [mysql-mmm](https://bbotte.github.io/databases/multi-master-replication-manager-for-mysql) | **ansible** | [redis的sentinel高可用](https://bbotte.github.io/service_config/install-sentinel-redis-high-availability-cluster-with-ansible-playbook) [rabbitmq集群](https://bbotte.github.io/service_config/use-ansible-playbook-to-install-rabbitmq-cluster) | | **logs** | [flume-ng日志收集](https://bbotte.github.io/service_config/the-practical-operation-of-flume-ng-log-collection)   [ELK5](https://bbotte.github.io/others/elasticsearch-logstash-kibana-version5-install-and-configure)   [filebeat ](https://bbotte.github.io/others/use-elk-processing-logs-multiple-log-file-send)  [logstash使用kafka日志收集](https://bbotte.github.io/others/logstash-uses-zookeeper-to-establish-kafka-cluster-for-log-collection) | **monitor** | [kubernetes的监控](https://github.com/bbotte/kube-prometheus/blob/master/manifests/kubernetes_prometheus_monitor.md) [cadvisor+prometheus](https://bbotte.github.io/monitor_safe/docker-monitor-with-cadvisor-and-prometheus) [java](https://bbotte.github.io/monitor_safe/talking-about-zabbixs-java-monitoring) | | **high availability** | [redis-cluster](https://bbotte.github.io/service_config/redis-cluster/redis-cluster)   [Haproxy keepalived](https://bbotte.github.io/service_config/keepalived-and-haproxy-online-high-availability)   [LVS和keepalived](https://bbotte.github.io/service_config/nat-mode-for-lvs-and-keepalived-high-availability)   [MHA](https://bbotte.github.io/databases/mha-mysql-online-configuration-with-official-documents) | **kafka** | [zookeeper和kafka集群](https://bbotte.github.io/virtualization/zookeeper-kafka-cluster-install-on-docker-swarm) [kafka配置](https://bbotte.github.io/virtualization/config_kafka_in_kubernetes) | | **nginx** | [proxy_cache缓存](https://bbotte.github.io/service_config/use-nginx-proxy_cache-modules-for-cache)   [nginx-rewrite](https://bbotte.github.io/service_config/more-example-for-nginx-rewrite) | **etcd** | [etcd安装](https://bbotte.github.io/service_config/etcd-v3.4_install/etcd-install) | | **storage** | [glusterfs](https://bbotte.github.io/service_config/detailed-use-of-glusterfs-in-kubernetes)   [ceph块存储](https://bbotte.github.io/service_config/kubernetes-using-ceph-storage)  [ceph实验](https://bbotte.github.io/service_config/ceph-storage-cluster-experiment) | **trouble** | [glusterfs故障恢复](https://bbotte.github.io/service_config/glusterfs-cluster-failure-recovery)  [etcd集群故障](https://bbotte.github.io/service_config/etcd-cluster-troubleshooting)  [activemq](https://bbotte.github.io/service_config/problems-encountered-in-use-activemq) | | **configure** | [LNMP](https://bbotte.github.io/service_config/install-nginx-mysql-php-on-centos) [mysql中间件proxysql](http://www.bbotte.com/databases/mysql-middleware-proxysql) | **python** | [排序算法](https://bbotte.github.io/python_project/several-simple-sorting-algorithms-in-python) [django入门](https://bbotte.github.io/python_project/tutorial-to-learning-django) | # [**服务配置**](https://bbotte.github.io/service_config/) [redis集群redis-cluster](https://bbotte.github.io/service_config/redis-cluster/redis-cluster) [mysql集群mgr(mysql_group_rplication_config)](https://bbotte.github.io/service_config/mysql-mgr/mysql_group_rplication_config) [mysql中间件proxysql](https://bbotte.github.io/service_config/mysql-mgr/mysql中间件proxysql) [一分钟简单了解docker和kubernetes](https://bbotte.github.io/service_config/a-minute-to-learn-about-docker-and-kubernetes) [kubernetes架构设计理论](https://bbotte.github.io/service_config/kubernetes-design-and-architecture) [helm入门学习及应用文档](https://bbotte.github.io/service_config/helm-entry-learning-and-application-documentation) [glusterfs在kubernetes中的使用详解](https://bbotte.github.io/service_config/detailed-use-of-glusterfs-in-kubernetes) [glusterfs集群故障恢复](https://bbotte.github.io/service_config/glusterfs-cluster-failure-recovery) [kubernetes代理内部服务之websocket服务](https://bbotte.github.io/service_config/proxying-kubernetes-internal-service-websocket-instance) [kubernetes调整pod的内核参数](https://bbotte.github.io/service_config/adjust-the-kernel-parameters-of-the-pod-on-kubernetes) [harbor私有仓库镜像的推拉弹唱](https://bbotte.github.io/service_config/from-harbor-pulling-private-warehouse-image) [etcd安装操作](https://bbotte.github.io/service_config/etcd-v3.4_install/etcd-install) [etcd集群故障处理](https://bbotte.github.io/service_config/etcd-cluster-troubleshooting) [Nexus Repository权限配置管理](https://bbotte.github.io/service_config/sonatype-nexus-repository-permissions-configuration-management) [jinja和jenkins结合做为kubernetes的服务发布平台](https://bbotte.github.io/service_config/jinja-and-jenkins-as-service-delivery-platforms-for-kubernetes) [azure微软云之权限的管理](https://bbotte.github.io/service_config/azure-cloud-permissions-management) [azure微软云之powershell创建主机](http://www.bbotte.com/server-config/azure-cloud-use-powershell-create-hosts) [azure微软云之Azure CLI更新网络安全组](https://bbotte.github.io/service_config/azure-cli-updates-network-security-groups) [linux工匠之kubernetes使用ceph块存储](https://bbotte.github.io/service_config/kubernetes-using-ceph-storage) [linux工匠之ceph存储集群实验](https://bbotte.github.io/service_config/ceph-storage-cluster-experiment) [prometheus对kubernetes集群的监控](https://github.com/bbotte/kube-prometheus/blob/master/manifests/kubernetes_prometheus_monitor.md) [harbor仓库简单配置说明](https://bbotte.github.io/service_config/harbor-registry-simple-configuration-instructions) [consul的ACL规则用法](https://bbotte.github.io/service_config/consul-acl-rule-usage) [mesos marathon consul的集群试验](https://bbotte.github.io/service_config/try-on-mesos-marathon-consul-cluster) [mesos marathon和chronos构建分布式系统](https://bbotte.github.io/service_config/use-mesos-and-marathon-and-chronos-to-construction-distributed-systems) [consul集群的服务注册发现和模板使用](https://bbotte.github.io/service_config/consul-cluster-service-with-registry-and-discovery-and-template-usage) [elasticsearch创建index](https://bbotte.github.io/service_config/elasticsearch-create-index) [nginx的proxy_cache缓存使用](https://bbotte.github.io/service_config/use-nginx-proxy_cache-modules-for-cache) [flume-ng日志收集之实践操作](https://bbotte.github.io/service_config/the-practical-operation-of-flume-ng-log-collection) [flume-ng日志收集之安装配置](https://bbotte.github.io/service_config/install-configuration-log-collection-flume) [Zimbra配置邮件服务全程记录](https://bbotte.github.io/service_config/zimbra-configuration-mail-service-full-record) [web和mysql高可用集群部署文档](https://bbotte.github.io/service_config/web-service-and-mysql-high-availability-cluster-deployment-documents) [用ansible-playbook安装redis的sentinel高可用集群](https://bbotte.github.io/service_config/install-sentinel-redis-high-availability-cluster-with-ansible-playbook) [使用ansible-playbook一键安装rabbitmq集群](https://bbotte.github.io/service_config/use-ansible-playbook-to-install-rabbitmq-cluster) [ansible的入门帮助-命令查找与使用](https://bbotte.github.io/service_config/ansible-entry-help-command-find-and-use) [Haproxy keepalived的线上高可用](https://bbotte.github.io/service_config/keepalived-and-haproxy-online-high-availability) [activemq使用中遇到的问题](https://bbotte.github.io/service_config/problems-encountered-in-use-activemq) [NAT模式的LVS和keepalived高可用](https://bbotte.github.io/service_config/nat-mode-for-lvs-and-keepalived-high-availability) [发布系统之jenkins-maven-svn](https://bbotte.github.io/service_config/use-jenkins-maven-svn-for-publish) [nginx-rewrite重定向跳转实例](https://bbotte.github.io/service_config/more-example-for-nginx-rewrite) [生产环境Centos编译安装Nginx-MySQL-php](https://bbotte.github.io/service_config/install-nginx-mysql-php-on-centos) [nodejs install](https://bbotte.github.io/service_config/nodejs_install) [tengine install](https://bbotte.github.io/service_config/tengine-install) # [**python相关**](https://bbotte.github.io/python_project/) [python几个简单的排序算法](https://bbotte.github.io/python_project/several-simple-sorting-algorithms-in-python) [python写一个简单的留言板](https://bbotte.github.io/python_project/python-write-a-simple-message-board) [linux工匠之django入门学习](https://bbotte.github.io/python_project/tutorial-to-learning-django) [pyenv virtualenv构建独立的python环境](https://bbotte.github.io/python_project/pyenv-and-virtualenv-to-build-an-independent-python-environment) [python统计nginx日志的条数及错误率](https://bbotte.github.io/python_project/python-handler-nginx-logs-number-and-error-rate) [利用python装饰器做类型检查](https://bbotte.github.io/python_project/using-python-decorative-device-to-do-type-inspection) [用python写一个复杂密码生成器](https://bbotte.github.io/python_project/write-a-password-generator-with-python) [小议python数据结构的栈及应用](https://bbotte.github.io/python_project/the-stack-and-application-of-python-data-structure) [小议python的迭代iterative和递归recursive](https://bbotte.github.io/python_project/python-iterative-and-recursive) [python插入排序算法](https://bbotte.github.io/python_project/python-insertion-sort) # [**数据库**](https://bbotte.github.io/databases/) [mysql组复制mgr(mysql group replication)配置](https://bbotte.github.io/databases/mysql-group-replication-config) [mysql中间件proxysql](http://www.bbotte.com/databases/mysql-middleware-proxysql) [windows主机对Mysql批量运维管理](https://bbotte.github.io/databases/mysql-batch-operation-and-maintenance-management-on-windows) [centos系统pyodbc+MS_ODBC连接azure的SQL Server](https://bbotte.github.io/databases/pyodbc-and-ms_odbc-connects-azure-to-sql-server-on-centos) [mongodb的单机主从和复制集](https://bbotte.github.io/databases/mongodb-replication-and-replica-set) [mysql的不常用命令](https://bbotte.github.io/databases/mysql-not-commonly-used-commands) [Mysql数据库引擎innodb转换为TokuDB](https://bbotte.github.io/databases/mysql-database-engine-innodb-is-converted-to-tokudb) [MHA-MySQL线上配置附官方文档](https://bbotte.github.io/databases/mha-mysql-online-configuration-with-official-documents) [Multi-Master Replication Manager for MySQL(mysql-mmm)](https://bbotte.github.io/databases/multi-master-replication-manager-for-mysql) [Mysql不同步主库删除的数据](https://bbotte.github.io/databases/mysql-asynchronous-master-database-deleted-data) # [**监控和安全**](https://bbotte.github.io/monitor_safe) [docker和kubernetes的监控(cadvisor+prometheus)](https://bbotte.github.io/monitor_safe/docker-monitor-with-cadvisor-and-prometheus) [阿里云和微软云openV_PN配置](https://bbotte.github.io/monitor_safe/aliyun-and-azure-openv_pn-config) [zabbix整合–获取一段时间内的监控值](https://bbotte.github.io/monitor_safe/zabbix-aggregate-get-the-monitoring-value-for-a-period-of-time) [linux工匠之java的zabbix监控](https://bbotte.github.io/monitor_safe/talking-about-zabbixs-java-monitoring) [小议java监控Java VisualVM](https://bbotte.github.io/monitor_safe/the-java-monitoring-tool-visualvm) [通过zabbix监控nginx和php状态](https://bbotte.github.io/monitor_safe/performance-monitoring-of-nginx-and-php-via-zabbix) [ossec线上安全监控的高级配置](https://bbotte.github.io/monitor_safe/advanced-configuration-of-ossec-on-line-security-monitoring) [ossec线上安全监控的配置详细文档](https://bbotte.github.io/monitor_safe/ossec-online-security-monitoring-configuration-detailed-documentation) # [**虚拟化**](https://bbotte.github.io/virtualization) [swarm中的zookeeper和kafka集群配置](https://bbotte.github.io/virtualization/zookeeper-kafka-cluster-install-on-docker-swarm) [kubernetes集群中的kafka服务配置](https://bbotte.github.io/virtualization/config_kafka_in_kubernetes) [kubernetes 1.13.3集群安装步骤文档](https://bbotte.github.io/virtualization/kubernetes_cluster_install_1-13-3) [kubernetes 1.9.4集群安装文档向导](https://bbotte.github.io/virtualization/kubernetes_cluster_install_1-9-4) [kubernetes内存监控面板数值的意义](https://bbotte.github.io/virtualization/the-meaning-of-the-kubernetes-memory-monitoring-panel-value) [kubeadm安装1.13.3版本kubernetes文档](https://bbotte.github.io/virtualization/kubernetes-version-1-13-3-installation-steps-by-kubeadm) [kubeadm创建的kubernetes集群证书到期后续期](https://bbotte.github.io/virtualization/kubernetes-cluster-certificate-created-by-kubeadm-expires-renewal) [kubernetes dashboard面板只读用户创建](https://bbotte.github.io/virtualization/for-kubernetes-dashboard-create-readonly-user-access) [windows主机中docker服务的运行](https://bbotte.github.io/virtualization/operation-of-the-docker-service-in-the-windows-host) [kubernetes的调度简介nodeName nodeSelector Affinity Anti-affinity Taints Tolerations](https://bbotte.github.io/virtualization/introduction-to-kubernetes-scheduling-of-nodename-nodeselector-affinity-anti-affinity-taints-tolerations) [kubernetes服务的版本回退](https://bbotte.github.io/virtualization/roll-back-for-kubernetes-deploy) [kubernetes的dashboard登录方式](https://bbotte.github.io/virtualization/kubernetes-dashboard-login-method) [kubernetes1.9版本集群配置文档](https://bbotte.github.io/virtualization/kubernetes-1-9-version-cluster-configuration-wizard) [linux工匠之kubernetes的traefik配置介绍](https://bbotte.github.io/virtualization/traefik-configuration-for-kubernetes) [inux工匠之kubernetes的ingress-nginx配置介绍](https://bbotte.github.io/virtualization/ingress-nginx-configuration-for-kubernetes) [CICD之logstash服务的Dockerfile使用Gitlab Runner打docker包](https://bbotte.github.io/virtualization/dockerfile-for-logstash-service-to-the-gitlab-runner-configuration) [linux工匠之heapster监控kubernetes](https://bbotte.github.io/virtualization/heapster-monitor-kubernetes) [编译kubernetes二进制文件](https://bbotte.github.io/virtualization/compile-kubernetes-binary-files) [kubeadm部署kubernetes 1.8离线安装绝对成功版](https://bbotte.github.io/virtualization/kubeadm-deployment-kubernetes-1-8-version-of-the-cluster-offline-installation-absolutely-successful) [MAC系统Docker镜像构建和私有仓库](https://bbotte.github.io/virtualization/docker-images-build-and-private-registry) [docker服务在kubernetes(k8s)中跑起来](https://bbotte.github.io/virtualization/let-docker-run-in-kubernetes-k8s) [vagrant虚拟机运行](https://bbotte.github.io/virtualization/let-vagrant-run) [kvm和Xen主机在线增加磁盘空间](https://bbotte.github.io/virtualization/kvm-and-xen-host-online-increase-disk-space) [kvm和Xen主机在线调整cpu核心数和内存大小](https://bbotte.github.io/virtualization/kvm-and-xen-online-to-adjust-the-number-of-cpu-core-and-memory-size) [虚拟化之Xen配置应用](https://bbotte.github.io/virtualization/virtualization-of-xen-project-configuration-applications) [虚拟化之KVM配置应用](https://bbotte.github.io/virtualization/virtualization-of-kvm-configuration-applications) [docker初学跟我来](https://bbotte.github.io/virtualization/flow-me-learning-docker) # [**其他**](https://bbotte.github.io/others) [ELK5完整部署](https://bbotte.github.io/others/elasticsearch-logstash-kibana-version5-install-and-configure) [elasticsearch5安装和配置](https://bbotte.github.io/others/elasticsearch-5-install-and-config) [elasticsearch的template和mapping](https://bbotte.github.io/others/elasticsearch-template-and-mapping) [logstash使用zookeeper建立kafka集群对日志收集](https://bbotte.github.io/others/logstash-uses-zookeeper-to-establish-kafka-cluster-for-log-collection) [ELK日志服务使用-filebeat多文件发送](https://bbotte.github.io/others/use-elk-processing-logs-multiple-log-file-send) [ELK日志服务使用-shipper-to-indexer](https://bbotte.github.io/others/use-elk-processing-logs-logstsh-shipper-to-indexer) [ELK日志服务使用-rsyslog传输日志](https://bbotte.github.io/others/use-elk-processing-logs-use-rsyslog-transmission-logs) [ELK日志服务使用-服务配置](https://bbotte.github.io/others/use-elk-processing-logs-configure-logstash-elasticsearch-kibana) [ELK日志服务使用-基本安装](https://bbotte.github.io/others/use-elk-processing-logs-basic-installation-and-config) [squid+stunnel+ldap距离网络更近一步](https://bbotte.github.io/others/squid-stunnel-ldap-config) [SQL Server Changed language setting to us_english](https://bbotte.github.io/others/sql-server-changed-language-setting-to-us_english) [运维过程中遇到的一些问题](https://bbotte.github.io/others/operation-and-maintenance-process-encountered-some-problems) [vim编辑器对python的扩展](https://bbotte.github.io/others/vim-editor-for-python-extensions) [升级glibc解决GLIBC_2.14 not found](https://bbotte.github.io/others/upgrade-glibc-version-to-solve-glibc_2-14-not-found) [linux系统限制进程的cpu使用率](https://bbotte.github.io/others/linux-system-limits-process-cpu-usage) [优秀文章链接](https://bbotte.github.io/others/excellent-article-links-continuous-updates) [关于此linux工匠网站](https://bbotte.github.io/others/about-me) # 独立项目 ``` jenkins_publish 一个项目多个环境的jenkins多线程构建 RedisSearchKey 模糊搜索redis 16个数据库中key Message_Board 简单的留言板 docker-compose-publish docker-compose项目的自动更新发布脚本 magedu_logscan 搜索日志 mysite 学习Django的mysite ``` # 集群配置 ``` kubernetes_cluster_install_1.9.4.md kubernetes 1.9.4集群安装文档 kubernetes_cluster_install_1.13.3.md kubernetes 1.13.3集群安装文档 mysql-mgr mysql集群 mgr redis-cluster redis cluster集群 etcd-v3.4_install etcd集群 kafka-cluster kafka集群 ``` 此项目为博客中用到脚本或项目,也有工作中使用的脚本,比如: ``` 文件夹 备注 2015year 2015年以前的文档 Commonly-Dockerfile 常用服务的Dockerfile docker-compose-publish docker-compose发布脚本 harbor-py 有关harbor仓库的python脚本 kubeadm_binary kubeadm 10年过期时间的二进制文件 python_project python相关 service_config 服务配置 shell shell脚本 virtualization 虚拟化,k8s、docker databases 数据库 monitor_safe 监控和安全 others 转载和其他 shell脚本 backup_nginx_conf.sh 备份nginx配置文件 change_passwd.sh 更改系统初始化密码和主机名 check_logs_error.sh 查看一定时间段内日志错误信息 delete_docker_images.sh 除了最新的docker镜像、使用中的docker镜像,其他都删除 delete_file_by_time.sh 按时间删除文件 echo_java_port.sh 查看主机上java服务端口号 hosts_binding.sh 绑定hosts脚本 java-publish-Windows.sh java服务发布脚本--Windows环境 java-publish.sh java服务发布脚本 mysql_status.sh 查看mysql状态 php-publish.sh php发布脚本 python脚本 DeleteElasticsearchIndices.py 删除es数据库数据 nginx_log_error_rate_statistics.py nginx日志错误率 ``` 本项目属于博客,欢迎Star及issues [关于我](http://www.bbotte.com/others/about-me)