 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 < 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
 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模块包放到某目录下,如 -S /pypi命令即可 #最后创建一个web server(如nginx)监听7788端口,根目录为python 模块包所在目录 server { listen 7788; loca�on / { root /pypi; } } #测试,在浏览器打开以下地址(10.99.1.248为web server的ip) h�p://10.99.1.248:7788/simple/0 码力 | 213 页 | 3.53 MB | 1 年前3 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模块包放到某目录下,如 -S /pypi命令即可 #最后创建一个web server(如nginx)监听7788端口,根目录为python 模块包所在目录 server { listen 7788; loca�on / { root /pypi; } } #测试,在浏览器打开以下地址(10.99.1.248为web server的ip) h�p://10.99.1.248:7788/simple/0 码力 | 213 页 | 3.53 MB | 1 年前3
 git 操作手册★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16.5.0 ★首先gitlab服务器要安装ntp时间服务 # yum install chrony -y start chronyd # vi /etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitlab/ini�al_root_password文件里的密码0 码力 | 35 页 | 1.69 MB | 1 年前3 git 操作手册★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16.5.0 ★首先gitlab服务器要安装ntp时间服务 # yum install chrony -y start chronyd # vi /etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitlab/ini�al_root_password文件里的密码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>0 码力 | 5 页 | 80.37 KB | 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>0 码力 | 5 页 | 80.37 KB | 1 年前3
 Velocity Conference 2015ormance-best-practices-together-for-a-spa  "We have created the web in our own image, and it is obese"  Modern web hourglass, web tier is now thin, smarts moved to browser Metrics, metrics everywhere than any other metric  Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf.com/devops-web-performance-2015/pub0 码力 | 4 页 | 176.79 KB | 5 月前3 Velocity Conference 2015ormance-best-practices-together-for-a-spa  "We have created the web in our own image, and it is obese"  Modern web hourglass, web tier is now thin, smarts moved to browser Metrics, metrics everywhere than any other metric  Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf.com/devops-web-performance-2015/pub0 码力 | 4 页 | 176.79 KB | 5 月前3
 A Seat at the Table - IT Leadership in the Age of Agilitybook is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 4 页 | 379.23 KB | 5 月前3 A Seat at the Table - IT Leadership in the Age of Agilitybook is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 4 页 | 379.23 KB | 5 月前3
 The DevOps Handbookability to learn from mistakes and diminish integrating that learning into future work d. Google Web Server (GWS) team was struggling with changes – Hard line: no changes would be accepted into GWS without0 码力 | 8 页 | 23.08 KB | 5 月前3 The DevOps Handbookability to learn from mistakes and diminish integrating that learning into future work d. Google Web Server (GWS) team was struggling with changes – Hard line: no changes would be accepted into GWS without0 码力 | 8 页 | 23.08 KB | 5 月前3
 A Seat at the Table: IT Leadership in the Age of Agility - Part 2book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.61 KB | 5 月前3 A Seat at the Table: IT Leadership in the Age of Agility - Part 2book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.61 KB | 5 月前3
 A Seat at the Table - IT Leadership in the Age of Agilityrequires some sort of management.About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.48 KB | 5 月前3 A Seat at the Table - IT Leadership in the Age of Agilityrequires some sort of management.About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.48 KB | 5 月前3
共 9 条
- 1














