git 操作手册
★git命令行客户端安装及设置 # yum install git -y #自带光盘里有 # git --version #查看git软件版本 git version 2.39.1 ★全局设置 设置用户名和邮箱,只用于提交commit时做metadata信息,不用于身份验证 #全局设置信息保存在 # git config --global user.name cof #设置用户名 # git config --global user.email cof@cof-lee.com #设置邮箱 # git config --global h�p.sslVerify false #不验证ssl证书 # git config --global --list #查看全局设置 ★本地设置 针 对 单 一 项 目 的 设 置 , 使 用 --local 参 数 , 本 地 设 置 信 息 保 存 在 项 目 目 录/.git/config文件里 # cd 项目目录 # git init0 码力 | 35 页 | 1.69 MB | 1 年前3python3学习手册
u�-8 -*- # ./test.py #执行脚本 #或者 # python3 test.py ★第1章、PyCharm常用设置 PyCharm官网: h�ps://www.jetbrains.com/pycharm/download/ ★PyCharm快捷键 Alt + Shi� 列选择模式,可同时选择多列 Ctrl + B 跳转到鼠标指定的函数定义处 Shi� + F10 运行程序 Ctrl + R 查找替换 ★设置字体颜色 File → Se�ngs → Editor → Color Scheme → Language Defaults → 选中目 标Scheme ★设置背景颜色 File→Se�ngs→Editor→Color Scheme→Console Colors→Scheme Show whitespaces ★不进行拼写检查 File → Se�ngs → Editor → Inspec�ons → Proofreading → Type 取消勾选 ★设置项目的python解释器 File → Se�ngs → Project: xxx →Python Interpreter → 右 侧 选 择 目 标 python解释器 ★关闭双击shi�全局搜索功能0 码力 | 213 页 | 3.53 MB | 1 年前3k8s操作手册 2.3
pod网络和service网络都要求为16位的地址块,且不能与环境中其他网络地址 段冲突 # hostnamectl set-hostname k8s-master1.cof-lee.com #设置主机名称,所有结 点分别设置 # cat >> /etc/hosts <设置 # cat >> vi /etc/security/limits.conf < 设置时区 # systemctl restart chronyd # chronyc sources -v ⑦设置网络参数 #首先加载模块 # cat > /etc/modules-load.d/br_ne�ilter.conf < 0 码力 | 126 页 | 4.33 MB | 1 年前3postgresql操作手册
sql-13-setup initdb # systemctl enable postgresql-13 # systemctl start postgresql-13 ★第2章、设置数据存储路径 PostgreSQL 初始化数据库之后, 10版本的默认的数据目录是/var/lib/pgsql/ 13版本的默认的数据目录是/var/lib/pgsql/13/ 现在想修改为/data_pg/ Environment=PGDATA=/data_pg/data/ # systemctl daemon-reload # systemctl restart postgresql ★第3章、设置监听ip及端口号 pg默认监听127.0.0.1的ip及5432/tcp端口 ★PG-13版本 # vi /var/lib/pgsql/13/data/postgresql.conf postgres的密码 postgres=# postgres=# create user cof with password 'passwdxxyy2'; #创建一个名为cof的 用户,并设置密码 postgres=# grant all on database db_test to cof; #给cof授权,有操作db_test 库的所有权限 postgres=#0 码力 | 17 页 | 445.84 KB | 1 年前3
共 4 条
- 1