09 2023 档案

摘要:######################################################## 缓存下载离线软件包 apt download -d apache ls /var/cache/archives/ apt remove --purge linux-tools-4.15. 阅读全文
posted @ 2023-09-16 14:16 vmsysjack 阅读(108) 评论(0) 推荐(0) 编辑
摘要:cat>/root/non.txt<<EOF n p 3 Z w q EOF fdisk /dev/vda </root/non.txt partprobe /dev/vda pvcreate /dev/vda3 vgextend centos /dev/vda3 lvextend /dev/map 阅读全文
posted @ 2023-09-11 16:24 vmsysjack 阅读(13) 评论(0) 推荐(0) 编辑
摘要:#关闭安装驱动和固件 sed -i.bak 's/.*driver.yml/#&/g' /root/ascend-deployer-5.0.RC3.B009/ascend_deployer/playbooks/check.yaml sed -i.bak 's/.*npu/#&/g' /root/as 阅读全文
posted @ 2023-09-08 09:38 vmsysjack 阅读(47) 评论(0) 推荐(0) 编辑
摘要:docker tag ascendhub.huawei.com/public-ascendhub/ascend-pytorch:23.0.RC2-centos7 torch:b030 docker save torch:b030 > test.tar ctr -n=k8s.io images imp 阅读全文
posted @ 2023-09-06 11:28 vmsysjack 阅读(350) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash # # system init config # # enable root login sed -i.bak '31 a\PermitRootLogin yes' /etc/ssh/sshd_config /etc/init.d/ssh restart # enable o 阅读全文
posted @ 2023-09-05 12:02 vmsysjack 阅读(13) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash # # system init config # # enable root login sed -i.bak '31 a\PermitRootLogin yes' /etc/ssh/sshd_config /etc/init.d/ssh restart # enable o 阅读全文
posted @ 2023-09-04 18:28 vmsysjack 阅读(26) 评论(0) 推荐(0) 编辑
摘要:cat>/etc/yum.repos.d/CentOS-Base.repo<<EOF # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update stat 阅读全文
posted @ 2023-09-04 14:06 vmsysjack 阅读(47) 评论(0) 推荐(0) 编辑