python3学习手册
此文档,无需任何附加条件 若您 阅读/链接/打印/转载/引用/分发/再创作 本文档,则说明接受以 上2个条款。 作者:李茂福 2022-03-26 ~ 2024-03-08 ★第0章、linux执行python脚本的方式 python安装路径: 操 作 系 统 python 版本 安装路径 windows 2.7 C:\Python27 windows 3.10 C:\Users\ org/downloads/source/ 或 者 直 接 wget h�ps://www.python.org/�p/python/3.10.3/Python- 3.10.3.tgz 下载目标版本源码包,并上传到目标linux服务器上 安装依赖: # yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel ['', #程序当前路径 '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload'0 码力 | 213 页 | 3.53 MB | 1 年前3k8s操作手册 2.3
集装箱 kubernetes 舵手,领航员 helm 舵轮,驾驶盘 chart 图表,海图 ①k8s对系统要求 linux内核在3.10及以上,服务器规格2核cpu,2G内存及以上,可以装在虚拟机 里,也可以装在实体机上 ②规划主机名及ip k8s的服务器使用固定ip地址,配置主机名,要求能解析相应的主机名(master /etc/yum.repos.d/ # wget h�ps://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo #aliyun的源 或者: h�ps://download.docker.com/linux/centos/docker-ce.repo #官方的 源 然后在/etc/yum.repos $basearch baseurl=h�ps://mirrors.aliyun.com/docker-ce/linux/centos/7/$basearch/stable enabled=1 gpgcheck=1 gpgkey=h�ps://mirrors.aliyun.com/docker-ce/linux/centos/gpg # yum install containerd.io -y #0 码力 | 126 页 | 4.33 MB | 1 年前3postgresql操作手册
postgresql # systemctl start postgresql 如果想安装其他版本,可到官网查询安装方法 h�ps://www.postgresql.org/download/linux/redhat/ 本文档选择PG-13版本作为讲解,使用el8系列的系统,x86_64平台 # yum install -y h�ps://download.postgresql.org/p to cof; #给cof授权,有操作db_test 库的所有权限 postgres=# postgres=# revoke all on database db_test from cof; #撤销用户权限 postgres=# drop user xxx; #删除用户 postgres=# postgres=# #提示符#前的postgres表示当前数据库名 postgres=# select datname from pg_database; #列出所有数据库(标准的sql 语句) datname ----------- postgres template1 template0 db_test0 码力 | 17 页 | 445.84 KB | 1 年前3git 操作手册
gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16.5.0 ★首先gitlab服务器要安装ntp时间服务 # yum install chrony -y # systemctl enable chronyd update) branch 'main' set up to track 'rmtRepo/main'. ★添加用户的ssh密钥 由用户登录gitlab界面,自行添加ssh key 首先在linux服务器上生成用户的ssh密钥对文件 # ssh-keygen -t rsa -b 2048 -C "cof@cof-lee.com" -P "" -f cof-sshkey #直接生成key文件及公钥 首先配置允许向本地网络(私有网段地址)发送webhook通知,如果不配置则 会报错: 管理员用户登录,点击设置: 勾选“Allow requests to the local network from webhooks and integra�ons” 点击“保存” 然后普通用户就可在自己的项目里配置“WebHook”功能了 Se�ngs→Webhooks→Add new webhook0 码力 | 35 页 | 1.69 MB | 1 年前3Velocity Conference 2015
Tools by Brendan Gregg (Netflix) @brendangregg http://www.slideshare.net/brendangregg/velocity-2015-linux-perf-tools Value of mentoring (vs self-teaching through search) is mentor telling you what not Continuous Delivery in Financial Training by David Genn (IG) @david_genn Separate deployment from release Automate everything Trust your tests Conversations are way better than project proposals Lightbody (New Relic) Monitoring evolved from servers and networks to applications to what users do with applications Reflections on mountain moving, from the first year of USDS Mikey Dickerson (Federal0 码力 | 4 页 | 176.79 KB | 5 月前3DevOps Meetup
Infrastructure Ops Product Ops Product Management Every technology under the sun Solaris, Windows, Linux Apache, IIS, TCServer, etc. Oracle, DB2, SQL Server How we got better We read and we Overall Quality improvements, “it” goes in better, and with less issues. Maintenance window changed from once a week to everyday Expanded Sphere of Influence Machine Imaging DEG and 3rd Party Application0 码力 | 2 页 | 246.04 KB | 5 月前3The DevOps Handbook
Allspaw ii. Blameless Post-Mortem – Actions: 1. Construct a timeline and gather details of the failure from multiple perspectives2. Empower all engineers to improve safety by allowing them to give detailed judgment of those decisions lies in hindsight 5. Propose countermeasures to prevent a similar accident from happening in the future and ensure these countermeasures are recorded with ta target date and an meeting, widely publish the minutes, artifacts, and results; share and encourage others to learn from what happened ii. Share results outside of organization – even back to customers e. DECREASE INCIDENT0 码力 | 9 页 | 25.13 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
competing projects. But in a world where IT is integral to strategy, it makes more sense to begin from strategic objectives and produce investment themes that accomplish those objectives. When combined by adopting an intelligent attitude toward risk. Risk is the chance of a negative impact resulting from uncertainty. We can reduce risk—often at a cost —but there is generally no way to eliminate it. uncertainties dwarf the certainties, and that the uncertainties are not small potential deviations from the initial plan—they are the very substance of the project. The Agile way to deal with uncertainty0 码力 | 7 页 | 387.48 KB | 5 月前3The DevOps Handbook
hide from its visitors (customers, stakeholders)2. The team has nothing to hide from itself: it acknowledges and confronts problems g. FIND AND FILL ANY TELEMETRY GAPS i. Expand metrics from business DETECT POTENTIAL PROBLEMS i. Easy to filter to identify when a metric is significantly different from its norm. ii. Minimizing false positive is critical to prevent alert fatigue iii. Statistical measures as well as confirmation 3. For each metric, configure alerts when metric deviates significantly from mean 4. Repeat for weaker signals c. PROBLEMS THAT ARISE WHEN OUR TELEMETRY DATA HAS NON-GAUSSIAN0 码力 | 8 页 | 24.02 KB | 5 月前3The DevOps Handbook
starved, waiting for work to clear the bottleneck. 3. In typical DevOps transformations, as we progress from deployment lead times measured in months or quarters to lead times measured in minutes, the constraint ELIMINATE HARDSHIPS AND WASTE IN THE VALUE STREAM 1. In the book Implementing Lean Software Development: From Concept to Cash, Mary and Tom Poppendieck describe waste and hardship in the software development can be bypassed without affecting the result. The following categories of waste and hardship come from Implementing Lean Software Development unless otherwise noted: a. Partially done work: b. Extra0 码力 | 8 页 | 22.57 KB | 5 月前3
共 20 条
- 1
- 2