1.安装wget yum install -y wget 2.完事前都做备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 3.下载阿里云镜像文件 wget -O /etc/yum.repo ...
分类:
其他好文 时间:
2020-07-06 16:17:29
阅读次数:
228
本次操作在Ubuntu18系统下操作,如在Centos系统下安装,命令可能会有区别,但是原理相同 前置条件:已经安装好docker,配置好yum源并且运行。 1.获取Mysql镜像并启动: root@test:/etc/apt# docker pull mysql:5.7 ## -d,--detac ...
分类:
其他好文 时间:
2020-07-06 15:55:24
阅读次数:
68
springboot应用docker部署调用phantomjs出现permission denied修复方法 ...
分类:
编程语言 时间:
2020-07-06 15:47:31
阅读次数:
69
CentOS 查询系统配置 # 查看 CPU grep "model name" /proc/cpuinfo | cut -f2 -d: # 查看内存 grep MemTotal /proc/meminfo | cut -f2 -d: 查询系统内核 uname -a 系统升级 使用 yum-cron ...
分类:
其他好文 时间:
2020-07-06 11:09:33
阅读次数:
90
今天记录一下Harbor的简单部署,因为刚开始接触docker,有很多都不了解,只是照本宣科,请大家多多指教 我的环境是Vmware虚拟机,centos 7.6的操作系统 安装docker环境 因centos自带yum源没有docker,所以增加一个docker的yum源 yum-config-ma... ...
分类:
其他好文 时间:
2020-07-06 10:59:59
阅读次数:
97
centos6中防火墙是iptables,centos7中防火墙是firewalld 在centos7中用service iptables status查看防火墙状态会报错 Redirecting to /bin/systemctl status iptables.service Unit ipta ...
分类:
其他好文 时间:
2020-07-06 10:48:36
阅读次数:
94
3、卸载低版本git# yum remove git14、依赖库安装# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel# yum install gcc perl-ExtUtils-MakeMaker ...
分类:
其他好文 时间:
2020-07-06 01:29:17
阅读次数:
111
本文主要介绍服务器端环境配置,开发环境是window的话可以参考 https://www.cnblogs.com/nickchou/p/10765743.html 方式一、用yum安装 【不推荐】 1、用yum指令安装缺点是:不是最新版 yum install golang 方式二、使用二进制文件安 ...
分类:
其他好文 时间:
2020-07-06 00:51:01
阅读次数:
237
配置node_exporter 下载解压 root@VM-0-3-ubuntu:~$ wget -c https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-am ...
分类:
其他好文 时间:
2020-07-05 23:23:43
阅读次数:
125
yum是一个基于rpm的前端软件包管理器,相较于rpm而言yum不需要关注包的依赖关系,使用更加简单 apt-get也是一个前端软件包管理器,yum和apt-get分别属于不同linux版本的管理器,yum属于centos版本 使用:yum [options] [command] [package] ...
分类:
其他好文 时间:
2020-07-05 21:16:07
阅读次数:
148