打开ipaddress.com 网站去查询域名,找出服务器的ip地址,并记录。(优化:通过绕过DNS解析,直接在本地绑定host) github的网站 : 比如github.com 1打开ipaddress.com 2在搜索栏中搜索github.com 3记录一下它的ip地址 如 4找到本地的hos ...
分类:
其他好文 时间:
2020-05-28 13:50:26
阅读次数:
150
当然,我们也可以使用 find 命令查找并删除超过 x 天未访问的文件,不过 tmpwatch 可以一步到位,何乐而不为? tmpwatch 默认根据文件或目录的访问时间(access time)来决定删除哪些文件或目录。除此之外,你还可以根据 inode 改变时间(inode change tim ...
分类:
系统相关 时间:
2020-05-28 13:39:33
阅读次数:
76
targetcli交互配置先做个软raid10mdadm-Cv/dev/md0-n4-l10/dev/sd[b-e]#初始化mdadm-D/dev/md0安装targetdyuminstalltargetdtargetcli重启开启启动配置iscsi服务端[root@rhceclientDesktop]#targetcliWarning:Couldnotloadpreferencesfile/ro
分类:
其他好文 时间:
2020-05-28 13:30:36
阅读次数:
73
web driver: (Windows环境下) Firefox(上一目录可以找其他浏览器的driver) : 1)http://npm.taobao.org/mirrors/geckodriver/ 2)https://github.com/mozilla/geckodriver/releases ...
分类:
Web程序 时间:
2020-05-28 13:14:18
阅读次数:
189
1. 统计项目代码行数 find . "(" -name "*.cc" -or -name "*.cpp" -or -name "*.h" ")" -print | xargs wc -l 2. find & copy find <target-dir> -type f -name "<file-p ...
分类:
其他好文 时间:
2020-05-28 01:11:59
阅读次数:
94
主要是对SELECT子查询进行嵌套使用 对于某些问题不容易解决, 可以考虑使用子查询 -- Find products that are more -- expensive than Lettuce (id = 3) USE sql_store; SELECT * FROM products WHE ...
分类:
其他好文 时间:
2020-05-28 01:09:45
阅读次数:
98
Given a perimeter of 60, we can find two right triangles with integral length sides: [(10, 24, 26), (15, 20, 25)]. Complete the following function, wh ...
分类:
其他好文 时间:
2020-05-28 00:59:06
阅读次数:
86
1 #!/usr/bin/env python 2 3 import json 4 import shutil 5 from ansible.module_utils.common.collections import ImmutableDict 6 from ansible.parsing.dat ...
mysql-connector-java.jar升级到8版本以后,驱动和连接地址的书写发生了一些改动,不然项目启动会进行报错 1、驱动类发生改变 由 com.mysql.jdbc.Driver 改为 com.mysql.cj.jdbc.Driver 以前的com.mysql.jdbc.Driver也 ...
分类:
数据库 时间:
2020-05-27 20:54:54
阅读次数:
154
问题描述: 在Grid环境中,如果修改了主机名,启动Grid时会出现如下错误: [grid@sztest ~]$ sqlplus / as sysasm SQL*Plus: Release 12.1.0.2.0 Production on Wed Apr 15 20:42:27 2020 Copyr ...
分类:
数据库 时间:
2020-05-27 20:48:29
阅读次数:
107