安装maven必须要有java环境,如果没有安装java环境,请按照博文安装java环境! 一、安装 官网:http://maven.apache.org/download.cgi $ wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/ma ...
分类:
其他好文 时间:
2021-02-08 12:26:55
阅读次数:
0
官方参考文档 https://docs.docker.com/engine/install/centos/ 1、安装 [root@localhost opt]# yum install -y yum-utils device-mapper-persistent-data lvm2[root@loca ...
分类:
其他好文 时间:
2021-02-08 12:24:35
阅读次数:
0
默认centos, unbtan都已经安装了python3版本,可以通过 whereis python来检查已经安装的版本。 root@hecs-x-medium-2-linux-20200619090653:/usr/bin# whereis pythonpython: /usr/bin/pyth ...
分类:
编程语言 时间:
2021-02-08 12:04:26
阅读次数:
0
#零 修订记录 | 序号 | 修订内容 |修订时间 | | | | | | 1 | 新增 |2021/2/6| #一 摘要 前文linux 基于三台物理机安装ceph nautilus 介绍了 ceph 在centos 7.6 上的安装。 ceph nautilus 横向扩容 介绍了ceph 横向扩 ...
分类:
其他好文 时间:
2021-02-08 11:45:21
阅读次数:
0
使用场景 导入数据时,不符合校验规则的数据给予错误提示并导出给用户看 解决方案 导入时将不符合校验规则的数据,加上errorMsg放到reqVO中,校验完成后,将reqVOS转成JSON,放到redis中,key是用户id,expired根据业务设置,导出时去redis中取数据转成List,再转成e ...
分类:
编程语言 时间:
2021-02-05 10:50:31
阅读次数:
0
查看CentOS-Base.repo部分内容,文件路径 /etc/yum.repos.d/CentOS-Base.repo [base] baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ mirrorlist=http ...
分类:
其他好文 时间:
2021-02-05 10:29:54
阅读次数:
0
将可执行的开机启动脚本加入到/etc/init.d/目录下,并利用chkconfig配置开机自启动,重启生效 1)、切换到/etc/init.d/ [root@www ~]# cd /etc/init.d/ 2)、编辑开机启动服务脚本 nano xxxx.sh #!/bin/sh#配置Tomcat开 ...
分类:
其他好文 时间:
2021-02-04 12:23:33
阅读次数:
0
集群划分 192.168.8.121 Rancher-Server、K8S(etcd、control)、Harbor、NFS-Server 192.168.8.122 Rancher-Agent、K8S(worker) 192.168.8.123 Rancher-Agent、K8S(worker) ...
分类:
Web程序 时间:
2021-02-03 11:04:33
阅读次数:
0
环境说明 系统:Centos7 版本:CentOS-7-x86_64-Minimal-1908 ISO下载链接:http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso Centos7源中包含以下版 ...
分类:
其他好文 时间:
2021-02-03 11:00:30
阅读次数:
0
1.查看当前系统版本 cat /etc/redhat-release 2.查看端口使用 netstat -lnpt 3.检查端口被哪个进程占用 netstat -lnpt|grep 22 4.查看进程信息 ps 1091 5.终止进程 kill -9 1091 ...
分类:
系统相关 时间:
2021-02-02 11:04:47
阅读次数:
0