摘要: mkdir -p /workspace/donau chown root:root /workspace/donau chmod 755 /workspace/donau -R mkdir -p /workspace/license chown ccs_master:ccs_master /work 阅读全文
posted @ 2023-06-28 20:02 vmsysjack 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Open vSwitch 是什么? 来源于:https://zhuanlan.zhihu.com/p/336487371 Open vSwitch(以下简称OVS)是一个用C语言开发的多层虚拟交换机,使用Apcahe 2开源许可证,现如今基本上已经成为了开源SDN(软件定义网络)基础设施层的事实标准 阅读全文
posted @ 2022-05-21 22:48 vmsysjack 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1. #!/usr/bin/expect告诉操作系统脚本里的代码使用那一个 shell 来执行。这里的 expect 其实和 Linux 下的 bash、windows 下的 cmd 是一类东西。注意:这一行需要在脚本的第一行,从而告知操作系统采用 expect 作为 shell 执行脚本。注意:当 阅读全文
posted @ 2021-07-18 17:27 vmsysjack 阅读(329) 评论(0) 推荐(0) 编辑
摘要: ######################################################## 缓存下载离线软件包 apt download -d apache ls /var/cache/archives/ apt remove --purge linux-tools-4.15. 阅读全文
posted @ 2023-09-16 14:16 vmsysjack 阅读(61) 评论(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 阅读(10) 评论(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 阅读(35) 评论(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 阅读(231) 评论(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 阅读(11) 评论(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:29 vmsysjack 阅读(21) 评论(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 阅读(39) 评论(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 阅读(4) 评论(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 阅读(6) 评论(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:29 vmsysjack 阅读(99) 评论(0) 推荐(0) 编辑