摘要:
def gettags="python3 /data/jenkins/tools/get_images.py $service $env".execute()return gettags.text.readLines() 阅读全文
摘要:
问题:在编译nodejs项目的时候,使用npm install命令安装npm依赖包特别容易出现node-sass包安装失败,报npm ERR! Failed at the node-sass@XXX postinstall script类似的错误。 原因:npm 安装 node-sass 依赖时,会 阅读全文
摘要:
docker run -d \ --name autoheal \ --restart=always \ -e AUTOHEAL_CONTAINER_LABEL=all \ -v /var/run/docker.sock:/var/run/docker.sock \ willfarrell/auto 阅读全文
摘要:
1、下载 直接克隆官方镜像制作文件 # git clone https://github.com/apache/rocketmq-docker.git [root@localhost rocketmq-docker-master]# lsCONTRIBUTING.md image-build LIC 阅读全文
摘要:
1.拉取镜像docker pull nacos/nacos-server2.挂载目录 mkdir -p /home/nacos/logs/ #新建logs目录 mkdir -p /home/nacos/init.d/ vim /home/nacos/init.d/custom.properties 阅读全文
摘要:
ESXI 虚拟机在线扩容 虚拟机中刷新scsi ls /sys/class/scsi_disk/ 0:0:0:0 echo 1 >/sys/class/scsi_disk/0\:0\:0\:0/device/rescan 检查磁盘大小以及扩容分区 [root@localhost ~]# df -lh 阅读全文
摘要:
1、查看 虚拟机信息 virsh dominfo centos_test1 2、查看正在运行的虚拟机 virsh list / virsh list --all #所有虚拟机 3、编辑虚拟机配置 virsh edit centos7_template 4、查看虚拟机磁盘信息 qemu-img inf 阅读全文
摘要:
- hosts: "{{ hosts }}" remote_user: root gather_facts: false serial: "100%" tasks: - name: mkdir file dir shell: mkdir -p /data/service/docker-compose 阅读全文
摘要:
```bash // 需要插件 Pipeline Pipeline-Maven Pipeline-Utility-Steps git def createVersion() { // 定义一个版本号作为当次构建的版本,输出结果 20191210175842_69 // return new Date 阅读全文
摘要:
pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /ad 阅读全文