sudo apt-get remove docker docker-engine docker.io sudo apt-get update sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent softw ...
分类:
系统相关 时间:
2020-05-28 23:17:59
阅读次数:
85
一. Homebrew 简介 Homebrew是什么? Homebrew是macOS或Linux缺失的软件包的管理器. 如何安装Homebrew? 命令行里运行以下命令即可. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent ...
分类:
其他好文 时间:
2020-05-28 21:58:16
阅读次数:
98
注意:curl命令中的 “-u geostack-dib:123@Abc.com” 参数为registry账号密码,请自行修改或删除 1、修改/etc/docker/registry/config.yml配置文件并重启registry storage: delete: enabled: true 2 ...
分类:
其他好文 时间:
2020-05-28 13:32:05
阅读次数:
112
标题说的很清楚了,就是要使用public中的图片 那么为什么要把图片放到public中呢,其实官网上面也说了,要么是需要动态引入非常多的图片,特别是小图标,如果放在assert中的话,会被webpack处理,很可能被打成base64混合到app.js里面 这样就导致这个js文件比较大, 因为动态引入 ...
分类:
其他好文 时间:
2020-05-28 00:55:05
阅读次数:
453
排版比较丑,但按照此步骤执行一定会搭建成功。 一、环境描述及准备 1.下载Elasticsearch包 curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.0-linux-x86_64.t ...
分类:
其他好文 时间:
2020-05-27 12:02:56
阅读次数:
76
1)先安装wget 执行命令 yum install -y wget[root@localhost ~]# yum install -y wget 2) 查询国内镜像源 打开阿里镜像http://mirrors.aliyun.com/点击帮助: 3)下载CentOS 7的repo文件wget -O ...
分类:
其他好文 时间:
2020-05-26 18:30:56
阅读次数:
506
查看私有仓库镜像的版本列表 格式: curl -XGET http://仓库地址/v2/镜像名称/tags/list # curl -XGET http://docker.vonedao.com/v2/vonedao-cs/vonedao-tenant-message-biz/tags/list { ...
分类:
其他好文 时间:
2020-05-26 12:13:40
阅读次数:
153
#!/bin/bash current=`date "+%Y%m%d%H%M%S"` source 引入配置文件/config1.sh key=`echo -n $current$hash_key|md5sum|cut -d" " -f1` status="`ps -ef |grep "curl 配 ...
分类:
系统相关 时间:
2020-05-26 12:06:29
阅读次数:
91
方便线上k8s部署pod的时候自动从apollo获取最新的配置架构图流程图部署数据库1.1四台mysql部署mkdir-p/data/apollo/mysql-apollo-prd/data/apollo/mysql-apollo-test/data/apollo/mysql-apollo-dev/data/apollo/mysql-apollo-portal//nfs服务端创建文件夹kubect
分类:
其他好文 时间:
2020-05-26 10:41:01
阅读次数:
64
下载文件: $ch = curl_init($musicPathUrl); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_BINAR ...
分类:
其他好文 时间:
2020-05-25 12:47:26
阅读次数:
61