一、docker安装 1、通过 uname -r 命令查看当前的内核版本,Docker 要求 CentOS 系统的内核版本高于 3.10 uname -r 2、查看系统是否安装过docker yum list installed | grep docker 3、卸载旧版本(如果安装过旧版本的话) y ...
分类:
其他好文 时间:
2021-04-30 12:07:02
阅读次数:
0
1.基础bash命令 查看历史命令记录 history 查看时间 date 目录进入 cd 路径 查看目录结构 ls ls -a --全部文件 ls -l --详细信息 ls -la --全部文件详细信息 1.1文件目录操作 tree --以树状机构查看目录及文件 白色:普通文件 蓝色:目录 绿色: ...
分类:
系统相关 时间:
2021-04-29 12:01:17
阅读次数:
0
#### jQuery的四种选择器 jQ选择器与css选择器本质上相差不大,但是在使用容易混淆格式或属性 ##### 1.基础选择器 $('#id名') $('.类名') $('.类名1 .类名2') $('标签名.类名') ##### 2.层级选择器 ###### 1.子代:> children ...
分类:
其他好文 时间:
2021-04-29 11:44:29
阅读次数:
0
springboot项目部署在CentOS系统上时,如果遇到停电关机,公司的实施人员就得跑到甲方现场重新启动项目并测试,很是麻烦,这里探讨如何编写shell脚本控制springboot项目开机时自动启动; 不正之处,请不吝赐教! 以eureka的jar包为例子: 上传Jar包 将eureka的jar ...
分类:
编程语言 时间:
2021-04-29 11:42:09
阅读次数:
0
Nginx 处理请求的过程一共划分为 11 个阶段,按照执行顺序依次是 post-read、server-rewrite、find-config、rewrite、post-rewrite、preaccess、access、post-access、try-files、content 以及 log。 1 ...
分类:
其他好文 时间:
2021-04-29 11:38:38
阅读次数:
0
系统版本: [root@localhost modules]# rpm -q centos-release centos-release-7-5.1804.el7.centos.x86_64 一、yum安装PHP 1.检查当前安装的PHP包 yum list installed | grep php ...
分类:
Web程序 时间:
2021-04-28 12:02:43
阅读次数:
0
几个cpu more /proc/cpuinfo |grep "physical id"|uniq|wc -l 每个cpu是几核(假设cpu配置相同) more /proc/cpuinfo |grep "physical id"|grep "0"|wc -l 查看内存 free -g otps 地址 ...
分类:
其他好文 时间:
2021-04-28 11:49:32
阅读次数:
0
selenium八大元素定位方式 driver.find_element_by_id(‘id’)#id定位driver.find_element_by_name(‘name’)#name定位driver.find_element_by_class_name(‘class’)#classname定位 ...
分类:
其他好文 时间:
2021-04-28 11:45:12
阅读次数:
0
You need to activate the Developer Options and USB Debugging for the purpose. Follow the below mention steps and you would be good to go: 1.Slide into ...
分类:
其他好文 时间:
2021-04-28 11:44:14
阅读次数:
0
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:
其他好文 时间:
2021-04-27 15:16:42
阅读次数:
0