python3学习手册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 2.7.5 /usr/bin/python 白 , 同 0 默认 37 47 效果+颜色用;分号隔开 print("\033[4;31m这是带下划线红色的字\033[0m") ★print输出带颜色的字windows 此种方法仅windows命令行下有效 import ctypes STD_INPUT_HANDLE = -10 STD_OUTPUT_HANDLE = -11 STD_ERROR_HANDLE = -12 exe文件名称,若未指定则默认同第1个主程序文 件名(.py后缀改为.exe) -w 指定程序运行时不显示命令行,仅显示图形界面(仅对 Windows有效),同--windowed -c 指定程序运行时显示命令行(仅对Windows有效),同-- console -i 指定exe程序的图标 -p 指定python导入模块的路径,同--path=0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookteam refined it over 2 year period and allowed Facebook to handle 6X production load compared to native PHP. d. ENABLE EVERYONE TO TEACH AND LEARN i. Dedicate organizational time to let teaching and 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 月前3
git 操作手册com/downloads/guis ①git 官网下载: h�ps://git-scm.com/downloads h�ps://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/Git- 2.42.0.2-64-bit.exe ②TortoiseGit 官网: h�ps://tortoisegit.org/ 使用To 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
DevOps MeetupProduct 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 studied. Created a self-improvement0 码力 | 2 页 | 246.04 KB | 5 月前3
Velocity Conference 2015telling you what not to worry about Perf events mixed mode can show stack traces of both Java and native system calls Continuous Delivery in Financial Training by David Genn (IG) @david_genn Separate0 码力 | 4 页 | 176.79 KB | 5 月前3
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 年前3
Redis操作手册/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 年前3
The 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 月前3
postgresql操作手册本文档,则说明接受以上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 年前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
共 10 条
- 1













