git 操作手册★git命令操作 Git是一个开源的分布式版本控制系统,可以高效地处理从很小到非常大的项目 版本管理。 ★git命令行客户端安装及设置 # yum install git -y #自带光盘里有 # git --version #查看git软件版本 git version 2.39.1 #查看git操作记录 # git reset HEAD^ #恢复到上次提交的版本(回退一次) # git reset HEAD^^ #恢复到上上次提交的版本(回退2次) # git diff #查看未暂存的修改,在工作目录增删改文件后,未add的 # # git branch -m main #将当前分支更名为main ★tag操作 tag是git版本库的一个标记命令,指向了某个commit的指针,tag命令主要用于 发布版本管理,当一个版本发布时,打上tag标签。 有了分支(branch)为什么还要引入tag这个概念呢? 因为tag是相对于同一个分支而言的,同一分支不停地开发,有新增的文件,也0 码力 | 35 页 | 1.69 MB | 1 年前3
k8s操作手册 2.30/16" accept' # firewall-cmd --run�me-to-permanent # firewall-cmd --list-all ★如果有硬件交换机做ACL或基于云的安全组做访问控制,则可关闭服务器上的 防火墙软件 ⑨加载ipvs模块 # cat > /etc/modules-load.d/k8s-ipvs.conf <版本<=1.23 k8s在1.23及之前版本默认是调用docker作为底层的容器运行时,从1.24版本开 始移除了dockerShim组件,不再支持docker,从而默认使用containerd作为底层 的容器运行时。 k8s 1.23及之前版本: kubelet→dockerShim→dockerd→containerd→runC 24及之后版本: kubelet→cri-containerd→containerd→runC 后来cri-containerd重构进containerd中(CRI Plugin),合为一个containerd进程 默认调用的cri-socket: unix:///var/run/containerd/containerd.sock 本小节讲解k8s v1.23及之前版本的安装;首先按照第0章的步骤完成准备工作。 0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册Python是一种解释型、面向对象、动态数据类型、可交互的语言 python2.0于2000-10-16发布,于2020年1月1日停止更新2.x版本, Python-2.7成为最后一个py 2.x版本 python3.0于2008-12-03发布 python各版本发布时间: 2.0.1 2001-06-22 3.7.0 2018-06-27 2.7.0 2010-07-03 3.8.0 2019-10-14 上2个条款。 作者:李茂福 2022-03-26 ~ 2024-03-08 ★第0章、linux执行python脚本的方式 python安装路径: 操 作 系 统 python 版本 安装路径 windows 2.7 C:\Python27 windows 3.10 C:\Users\ 用 户 名 \AppData\Local\Programs\Python\Python310 Centos7默认自带python2.7.5版本,无pip 先 去 官 网 下 载 python3 的 源 码 包 : h�ps://www.python.org/downloads/source/ 或 者 直 接 wget h�ps://www.python.org/�p/python/3.10.3/Python- 3.10.3.tgz 下载目标版本源码包,并上传到目标linux服务器上0 码力 | 213 页 | 3.53 MB | 1 年前3
postgresql操作手册# EL8安装光盘AppSteam里自带有10.x 版本的软件包 # postgresql-setup --initdb --unit postgresql # systemctl enable postgresql # systemctl start postgresql 如果想安装其他版本,可到官网查询安装方法 h�ps://www.postgresql.o org/download/linux/redhat/ 本文档选择PG-13版本作为讲解,使用el8系列的系统,x86_64平台 # yum install -y h�ps://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat- repo-latest.noarch.rpm #或者直接创建repo文件,内容如下 postgresql-13 ★第2章、设置数据存储路径 PostgreSQL 初始化数据库之后, 10版本的默认的数据目录是/var/lib/pgsql/ 13版本的默认的数据目录是/var/lib/pgsql/13/ 现在想修改为/data_pg/ 目录 ★PG-13版本 # systemctl stop postgresql-13 #先停止服务0 码力 | 17 页 | 445.84 KB | 1 年前3
Redis操作手册需任何附加条件 若您 阅读/链接/打印/转载/引用/分发/再创作 本文档,则说明接受以上2个条 款。 作者:李茂福 更新日期:2023-12-21 ★安装redis 到官网查看版本: h�ps://redis.io/download/ 源码下载地址: h�ps://download.redis.io/releases/redis-6.2.13.tar.gz h�ps://github0 码力 | 5 页 | 80.37 KB | 1 年前3
The DevOps Handbookthroughout the organization 2. Ch. 19 – Enable and Inject Learning into Daily Work a. Complex systems are impossible to predict for all outcomes i. Dr. Steven Spear - resilient organizations are “skilled the tools that we gave them.” 2. Accidents are due to the inevitable design problems in complex systems that we build; they are system problems – not individual problems iii. Effective practices 1. Business Review): organizations are typically structured as:1. Standardized Model – where routine and systems govern everything; including strict compliance with budget and schedule 2. Experimental Model –0 码力 | 9 页 | 25.13 KB | 5 月前3
The DevOps HandbookWay: The Principles of Feedback 27 i. KEEP PUSHING QUALITY CLOSER TO THE SOURCE 1. In complex systems, adding more inspection steps and approval processes actually increases the likelihood of future organization c. Most admired DevOps organizations and successful 2015 IPO. b. CONSIDER BOTH SYSTEMS OF RECORD AND SYSTEMS OF ENGAGEMENT i. Gartner Bi-modal IT 1. Type 1 – System of Record – “Doing it right” production environment and ensuring service levels are met v. Infosec – team responsible for securing systems and data vi. Release Managers – the people responsible for coordinating the production deployment0 码力 | 8 页 | 22.57 KB | 5 月前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2exactly what IT leaders must avoid; continuously transforming and modernizing the company’s IT systems makes Fowler’s strangler pattern into an IT strategy rather than just a coding tactic. If you missed planning, and cost reduction. It documented as-is and to-be architectures, demonstrated alignment of systems with business needs, and did the “rigorous” up-front analysis and centralized planning that could Changed in a way that now favors “building” over “buying.” There are now ways of custom-developing systems that preserve many of the advantages of buying off the shelf. The risk of developing a system0 码力 | 7 页 | 387.61 KB | 5 月前3
The DevOps HandbookAdrian Cockcraft – “Monitoring is so important that our monitoring systems need to be more available and scalable than the systems being monitored.” c. CREATE APPLICATION LOGGING TELEMETRY THAT HELPS Blue- Green, Canary release patterns b. DEV SHARES PAGER ROTATION DUTIES WITH OPS i. Complex systems will inevitably have unexpected problems ii. Prevent upstream work from locally optimizing at the that enable change implementers to fully own the quality of their change ii. Create ever-safer systems of work iii. John Allspaw – A newly hired junior engineer asked permission to deploy a small HTML0 码力 | 8 页 | 24.02 KB | 5 月前3
Open Discussion on Project Planningleaders must encourage systems engineers to engage developers, testers, users, and other stakeholders in their disciplined engineering processes. (No ivory towers) While Agile systems engineering involves collaboration and strengthen teaming arrangements. Ensure that once a clear architecture is in place, systems engineers continue to refine it as they learn more from the development sprints and releases. Cost0 码力 | 2 页 | 49.30 KB | 5 月前3
共 13 条
- 1
- 2













