python3学习手册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 \ this func�onality. #或者手动下载软件包并解压到以下路径: /usr/lib/python2.7/site-packages ★自制pip源服务 在装有pip命令的服务器上执行以下命令,安装pip2pi # pip3 install pip2pi #安装pip2pi,此工具用于创建pipy源的索 引 #然后将要用到的python模块包放到某目录下,如 h�p://10.99.1.248:7788/simple/ --trusted-host 10.99.1.248 #上图可见成功了 ★python创建虚拟环境 有时在同一台服务器上安装多个python包,可能会产生依赖冲突问 题,可以通过创建虚拟环境来解决,python虚拟环境的原理是创建一 个目录,在此目录下创建一个python软件链接,并激活一个shell环境 变量,让0 码力 | 213 页 | 3.53 MB | 1 年前3
k8s操作手册 2.3图表,海图 ①k8s对系统要求 linux内核在3.10及以上,服务器规格2核cpu,2G内存及以上,可以装在虚拟机 里,也可以装在实体机上 ②规划主机名及ip k8s的服务器使用固定ip地址,配置主机名,要求能解析相应的主机名(master 结点)到对应的ip地址,可以使用内网集群的dns服务器或写入/etc/hosts文件 里。如: 主机名 ip地址 k8s-master1 accept' # firewall-cmd --run�me-to-permanent # firewall-cmd --list-all ★如果有硬件交换机做ACL或基于云的安全组做访问控制,则可关闭服务器上的 防火墙软件 ⑨加载ipvs模块 # cat > /etc/modules-load.d/k8s-ipvs.conf <服务器上,再docker load导入;或者使 用内部registry仓库(内部registry镜像仓库里要有以上7个镜像) ★直接使用命令行方式初始化集群 (以下是非HA模式的master初始 0 码力 | 126 页 | 4.33 MB | 1 年前3
git 操作手册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 start chronyd # vi /etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources 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文件及公钥0 码力 | 35 页 | 1.69 MB | 1 年前3
Redis操作手册★命令行客户端 在redis服务端安装目录下有redis-cli命令行工具 安装目录下# redis-cli -h 10.99.1.51 -p 6379 -a Centos123 #-h指定服务器地 址, # -p指定端口,-a指定密码 10.99.1.51:6379> config get dbfilename 1) "dbfilename" 2) "dump.rdb" 10.99.1.51:6379> ight/ 下 载 链 接 : h�ps://download.redisinsight.redis.com/latest/RedisInsight-v2-win- installer.exe 连接时不用写username,只写密码0 码力 | 5 页 | 80.37 KB | 1 年前3
postgresql操作手册'*' port = 5432 # vi /var/lib/pgsql/13/data/pg_hba.conf #pg-13版本,添加以下一行表示允 许所有客户端ip远程连接 #若修改了存储路径,则在新的路径下/data_pg/data/pg_hba.conf host all all 0.0.0.0/0 password '*' port = 5432 # vi /var/lib/pgsql/data/pg_hba.conf #pg-10版本,添加以下一行表示允许 所有客户端ip远程连接 #若修改了存储路径,则在新的路径下/data_pg/data/pg_hba.conf host all all 0.0.0.0/0 password #提示符=>前的postgres表示当前数据库名 # psql -h x.x.x.x -p 5432 -U cof -d db_test #使用cof用户登录pg,连接 db_test这个库 db_test=> #提示符 => 表示普通账号,=#表示管理员账号 db_test=>0 码力 | 17 页 | 445.84 KB | 1 年前3
Predictably Irrationaldirection our life takes; but alas, this perception has more to do with our desires – with how we want to view ourselves – than with reality. “A second main lesson lesson is that althrough irrationality is perspective as we do.” o “Ownership is not limited to material things. It can also apply to points of view. Once we take ownership of an idea-whether its about politics or sports-what do we do? We love it0 码力 | 3 页 | 234.46 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilitydisconcerting connotations of the term – the Enterprise Architecture. The asset view of IT will substitute for the outdated project view in my vision for what IT leadership must become. Uncertainty and Risk:0 码力 | 4 页 | 379.23 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilityand then, the economics of IT delivery often favored buying a product off the shelf. But when we view IT capabilities as being in a continuous state of transformation, when we see them as tightly integrated senior leadership team includes someone called the CFO, who helps lead the company from the point of view of someone who is an expert in finance; the CMO is someone who contributes expertise in marketing0 码力 | 7 页 | 387.48 KB | 5 月前3
Open Discussion on Project Planningassumes that these will change over time. Even so, the program must maintain a big picture, long-term view and focus on the next six-month release. DO epics and user stories to concisely define the desired0 码力 | 2 页 | 49.30 KB | 5 月前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2Traditional governance approach: Hunter and Westerman’s book Real Business of IT shares the traditional view of governance. The basics of the [governance] process involve project sponsors (1) developing a0 码力 | 7 页 | 387.61 KB | 5 月前3
共 10 条
- 1













