09 2023 档案
摘要:######################################################## 缓存下载离线软件包 apt download -d apache ls /var/cache/archives/ apt remove --purge linux-tools-4.15.
阅读全文
摘要: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
阅读全文
摘要:#关闭安装驱动和固件 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
阅读全文
摘要: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
阅读全文
摘要:#!/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
阅读全文
摘要:#!/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
阅读全文
摘要: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
阅读全文