查看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
仅供自己学习 题目: You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the foll ...
分类:
其他好文 时间:
2021-02-04 12:10:58
阅读次数:
0
仅供自己学习 题目: Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \1 3 6 9Output: 4 / \ 7 2 / \ / \9 6 3 1 思路: 这就是直接交换数据就可以了,可以前序遍历,后序遍历,中序遍历的交换 代码: 前序 ...
分类:
其他好文 时间:
2021-02-04 11:44:27
阅读次数:
0
true UTF-8 %d{yyyy-MM-dd HH:mm:ss.SSS} %highlight(%-5level) %magenta([PID:${PID:-}]) %green([%15.15thread]) %cyan(%40.40logger:%-5.5L):%msg%n ${PATH}/ ...
分类:
编程语言 时间:
2021-02-03 11:07:10
阅读次数:
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
[root@Server-qnrsyp system]# wget --no-check-certificate https://dl.grafana.com/oss/release/grafana_7.3.7_amd64.deb --2021-02-02 00:21:25-- https://dl ...
分类:
其他好文 时间:
2021-02-02 11:34:53
阅读次数:
0
主要内容: 软件安装方式 上传与下载工具 常用软件的安装--jdk、tomcat、mysql、redis 项目的部署 Nginx的安装 Nginx的功能 静态网站部署 虚拟主机配置及端口绑定 域名绑定 反向代理与负载均衡 一、Linux软件安装 1、目录结构 ~表示root目录,即/root 软件安 ...
分类:
系统相关 时间:
2021-02-02 11:33:50
阅读次数:
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