k8s操作手册 2.3
#取消所有swap挂载 ⑥NTP服务需要开启,使用集群内的ntp server,确保集群时间的一致性 # yum install chrony -y # systemctl enable chronyd # systemctl start chronyd # cat > /etc/chrony.conf <server 10.99.1.1 iburst prefer dri�file kubeadm init --kubernetes- version=v1.19.4 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster kubeadm init --kubernetes- version=v1.28.2 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster 0 码力 | 126 页 | 4.33 MB | 1 年前3Redis操作手册
/usr/local/bin/redis-server /root/redis-6.2.13/redis.conf #启动服务(后台运 行) ★做成系统服务 # ps -ef | grep redis root 14989 1 0 13:46 ? 00:00:00 redis-server 0.0.0.0:6379 # kill -9 /etc/systemd/system/redis.service <server A�er=network.target [Service] Type=forking ExecStart=/usr/local/bin/redis-server /root/redis-6.2.13/redis.conf PrivateTmp=true [Install] requirepass 1) "requirepass" 2) "Centos123" 10.99.1.51:6379> info # Server redis_version:6.2.13 ...... executable:/usr/local/bin/redis-server config_file:/root/redis-6.2.13/redis.conf ...... 10.99.1.51:6379> 0 码力 | 5 页 | 80.37 KB | 1 年前3python3学习手册
/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/ 16:33:27 Django version 5.0.1, using se�ngs 'testapp.se�ngs' Star�ng development server at h�p://127.0.0.1:8000/ Quit the server with CTRL-BREAK. 以 上 命 令 启 动 一 个 web 服 务 器 , 监 听 8000 端 口 , 浏 览 器 访 问 h�p://127 "__main__": main() 本机为 8 核 CPU I/0密集型任务,多线程耗时 0.07439279556274414 ★第17章、网络通信 ★Tcp ★Tcp-server import socket host = "0.0.0.0" port = 1234 sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)0 码力 | 213 页 | 3.53 MB | 1 年前3The Phoenix Project
” “I have to manually type in hundreds of server names in one of the text boxes. Most of the time, there’s not enough room in the field! A hundred server names are supposed to fit in a sixty-four-character0 码力 | 3 页 | 154.45 KB | 5 月前3postgresql操作手册
本文档,则说明接受以上2个条 款。 作者:李茂福 更新日期:2023-12-27 ★第1章、安装postgresql # yum install postgresql-server -y # EL8安装光盘AppSteam里自带有10.x 版本的软件包 # postgresql-setup --initdb --unit postgresql er-$basearch enabled=1 gpgcheck=0 # yum module disable postgresql -qy # yum install postgresql13-server -y # /usr/pgsql-13/bin/postgresql-13-setup initdb # systemctl enable postgresql-13 # systemctl start0 码力 | 17 页 | 445.84 KB | 1 年前3DevOps Meetup
technology under the sun Solaris, Windows, Linux Apache, IIS, TCServer, etc. Oracle, DB2, SQL Server How we got better We read and we studied. Created a self-improvement project 2 week iterations0 码力 | 2 页 | 246.04 KB | 5 月前3The DevOps Handbook
infrastructure, etc. 2. Security group changes 3. Changes to configurations 4. XSS, SQLi attempts 5. Server errorsii. Consider blocking and storing source of events when attacks are detected to facilitate0 码力 | 9 页 | 25.13 KB | 5 月前3The DevOps Handbook
ability 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 月前3git 操作手册
install chrony -y # systemctl enable chronyd # systemctl start chronyd # vi /etc/chrony.conf server 10.99.1.1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai0 码力 | 35 页 | 1.69 MB | 1 年前3
共 9 条
- 1