Leo Zhang
菩提本无树,明镜亦非台!
上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 1) 备份原有镜像源文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2) 下载阿里云镜像源文件 curl -o /etc/yum.repos.d/CentOS-Base.repo http:/ 阅读全文
posted @ 2022-09-07 10:30 LeoZhanggg 阅读(440) 评论(0) 推荐(0)
摘要: 准备工作 从国内镜像下载CentOS-7-x86_64-DVD-1810.iso,约4.27GB。 下载_Universal USB Installer_,用于制作USB安装盘,约1.7MB。打开连接单击如下按键下载。 准备一个至少8GB空间的U盘。建议使用USB3.0接口的U盘,读写速度更快。 G 阅读全文
posted @ 2022-09-07 10:28 LeoZhanggg 阅读(850) 评论(0) 推荐(0)
摘要: 常用操作 (1) 通过timedatectl管理时间 # 查看时间 timedatectl //等同于 timedatectl status # 设置时间 timedatectl set-time "YYYY-MM-DD HH:MM:SS" # 列出时区 timedatectl list-timez 阅读全文
posted @ 2022-09-07 10:19 LeoZhanggg 阅读(464) 评论(0) 推荐(0)
摘要: 打开命令行 切换root用户 下载安装包(rpm) wget 暂时无法在文档外展示此内容 地址可以从浏览器获取 安装软件 yum -y install teamviewer.x86_64.rpm 或者:rpm -ivh teamviewer.x86_64.rpm 或者: yum -y -e 0 lo 阅读全文
posted @ 2022-09-07 10:16 LeoZhanggg 阅读(65) 评论(0) 推荐(0)
摘要: 操作系统:麒麟V10-server 1、下载Docker aarch版本docker下载地址:https://download.docker.com/linux/static/stable/aarch64/, 根据需要下载对应的版本。 2、安装Docker 1.解压安装包 tar -zxvf doc 阅读全文
posted @ 2022-09-06 10:22 LeoZhanggg 阅读(1163) 评论(0) 推荐(1)
摘要: apiVersion: extensions/v1beta1 kind: Ingress metadata: annotations: nginx.ingress.kubernetes.io/server-snippet: | location ~ ^/(admin|internal) { deny 阅读全文
posted @ 2022-09-06 10:13 LeoZhanggg 阅读(1956) 评论(0) 推荐(0)
摘要: 准备环境 启动一个web服务器,提供端口. [wyq@localhost ~]$ python -m SimpleHTTPServer 8080 Serving HTTP on 0.0.0.0 port 8080 ... 用其它web服务器提供端口也一样,由于python比较方便,这里就用它 1、使 阅读全文
posted @ 2022-09-06 10:02 LeoZhanggg 阅读(635) 评论(0) 推荐(0)
摘要: # 创建/删除/修改配置 # 通过文件创建cm资源 kubectl create configmap appservice --from-file=application.properties # 以json形式修改资源 kubectl edit configmaps/appservice -o j 阅读全文
posted @ 2022-09-06 09:58 LeoZhanggg 阅读(101) 评论(0) 推荐(0)
摘要: # 查看容器 # 查看活跃容器 docker ps # 查看所有容器(包括已关闭) docker ps -a # 筛选指定名称和状态的容器 docker ps -q --filter name=.*bingohuang.* --filter status=exited # 设置容器自启动 docke 阅读全文
posted @ 2022-09-06 09:54 LeoZhanggg 阅读(176) 评论(0) 推荐(0)
摘要: # 查看系统版本 uname -a cat /etc/os-release # 查看当前目录文件大小 du --max-depth=1 -h du -sh # 更新时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # 查看端口信息 fuse 阅读全文
posted @ 2022-09-06 09:53 LeoZhanggg 阅读(45) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 14 下一页