上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: ######################################################## 缓存下载离线软件包 apt download -d apache ls /var/cache/archives/ apt remove --purge linux-tools-4.15. 阅读全文
posted @ 2023-09-16 14:16 vmsysjack 阅读(179) 评论(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 阅读(23) 评论(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 阅读(77) 评论(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 阅读(567) 评论(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 阅读(92) 评论(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 阅读(71) 评论(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 阅读(88) 评论(0) 推荐(0)
摘要: ubuntu安装NFS # config NFS Server apt install -y nfs-common apt install -y nfs-kernel-server apt install -y rpcbind cat>/etc/exports<<EOF /data *(rw,no_ 阅读全文
posted @ 2023-08-31 20:21 vmsysjack 阅读(8) 评论(0) 推荐(0)
摘要: #!/bin/bash # # system init config # cat>/root/iplist.csv<<EOF 2102312PRH10L1000305,enp133s0,168.31.0.14/24,10,bond4,enp131s0,enp132s0,802.3ad,168.17. 阅读全文
posted @ 2023-08-31 19:43 vmsysjack 阅读(19) 评论(0) 推荐(0)
摘要: # 单网卡配置IP地址 network: version: 2 renderer: networkd ethernets: enp131s0: addresses: [ 168.17.0.5/24 ] gateway4: 168.17.0.1 nameservers: addresses: - "1 阅读全文
posted @ 2023-08-31 14:28 vmsysjack 阅读(312) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 20 下一页
点击右上角即可分享
微信分享提示