deban12初始化问题、用法 debian和ubuntu本身的vi编辑器是不支持用退格键删除和用上下左右键的所以要 1234567vi /etc/vim/vimrc.tiny把 set compatible修改改为:set nocompatible加入一句:set backspace=2 还有debian和ubuntu用不了ll命令直接分别到普通用户的家目录和root用户的家目录 有个隐藏文件.bashrc在他们的家目录下,r 2025-11-06
docker 下载及配置镜像加速器 docker下载安装卸载旧版本 12345678yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ 2025-11-06
Markdown的基本语法 清风Markdown是一种纯文本格式的标记语言。通过简单的标记语法,它可以使普通文本内容具有一定的格式。(文章内容引用网络) 优点: 1、因为是纯文本,所以只要支持Markdown的地方都能获得一样的编辑效果,可以让作者摆脱排版的困扰,专心写作。 2、操作简单。比如:WYSIWYG编辑时标记个标题,先选中内容,再点击导航栏的标题按钮,选择几级标题。要三个步骤。而Markdown只需要在标题内容前 2025-11-06
常用脚本 IP质量检测1bash <(curl -Ls IP.Check.Place) 融合怪1curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh 线路测试1curl https://raw.githubuserc 2025-11-06
Redis 部署单机-主从-哨兵模式 Redis 1、安装单机版redis 官网下载redis 1https://redis.io/ 点击download,往下拉,找到以下内容 1234List of all releases and hash digestsYou can find a listing of all previous Redis releases on the releases page. SHA-256 dige 2025-11-06
redis-cluster 集群部署 redis-cluster集群 准备环境 准备3台机器,关闭防火墙和selinux 12345678910111213# 注:规划架构两种方案,一种是单机多实例,这里我们采用多机器部署:三台机器,每台机器上面两个redis实例,一个master一个slave,第一列做主库,第二列做备库#记得选出控制节点[root@localhost ~]# vim /etc/hostsredis-cluster1 2025-11-06
gitee 仓库创建及上传文件 首先由个gitee的账号git 全局设置 12git config --global user.name"名字"git config --global user.email "邮箱" 创建git仓库 12345678mkdir qingfengcd qingfenggit inittouch README.mdgit add README.mdgit co 2025-11-06
zabbix-proxy配置及邮件配置 一、下载配置server,agent端下载zabbix-server,server客户端1234567891011121314151617# 备注:zabbix源不能和epel源同时存在,要给epel源注释了# 更新下载zabbix源[root@zabbix-server ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/z 2025-11-06
ELK+kafka+filebeat 集群部署 版本说明123456Elasticsearch: 7.13.2 #wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.13.2-linux-x86_64.tar.gzLogstash: 7.13.2 #wget https://artifacts.elastic.co/downloads/logstas 2025-11-06
ansible 配置jspgou商城上线(mariadb版) 准备实验环境,准备两台电脑10.31.162.24—-10.31.162.25此实验配置的是—-mariadb 关闭防火墙,关闭setenforce 0 hosts解析123[root@ansible-server ~]# vim /etc/hosts10.31.162.24 ansible-server10.31.162.25 ansible-web 更改主机名1234510.31 2025-11-06