上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页
摘要: //猜数字,猜出随机产生的1-100之间随机数 import java.util.Random; import java.util.Scanner; public class RandomTest{ public static void main(String[] args){ Random r = 阅读全文
posted @ 2021-06-17 10:23 walkersss 阅读(620) 评论(0) 推荐(0)
摘要: Rsync+Notify: yum install make gcc gcc-c++ 客户端启动rsync port:873/usr/local/rsync/bin/rsync --daemon --config=/usr/local/rsync/rsync.conf Client:tar xf r 阅读全文
posted @ 2021-06-11 20:04 walkersss 阅读(76) 评论(0) 推荐(0)
摘要: Linux 命令在线手册https://www.linuxcool.com MySQL 四部曲https://www.cnblogs.com/cxuanBlog/p/13173547.html 入门https://www.cnblogs.com/cxuanBlog/p/13352975.html 进 阅读全文
posted @ 2021-06-09 10:09 walkersss 阅读(23) 评论(0) 推荐(0)
摘要: #!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser 阅读全文
posted @ 2021-06-08 19:39 walkersss 阅读(166) 评论(0) 推荐(0)
摘要: VMware vCenter Converter Standalone 6.2.0迁移物理机系统到Esxi下载URLhttps://www.filehorse.com/download-vmware-vcenter-converter/download/ 迁移步骤教程:https://www.cnb 阅读全文
posted @ 2021-05-20 18:10 walkersss 阅读(2723) 评论(0) 推荐(0)
摘要: 程序在开发测试阶段开启日志有利于发现问题,并且解决问题,那么如果部署到生成环境还开起日志记录就会产生大量的垃圾文件占用大量的硬盘空间。所以就需要关闭日志记录功能。 application/config.php 中知道log的配置如下: 'log' => [ // 日志记录方式,内置 file soc 阅读全文
posted @ 2021-05-17 09:48 walkersss 阅读(922) 评论(0) 推荐(0)
摘要: 用nginx屏蔽爬虫的方法 1. 使用"robots.txt"规范 在网站根目录新建空白文件,命名为"robots.txt",将下面内容保存即可。 User-agent: BaiduSpiderDisallow:User-agent: YisouSpiderDisallow:User-agent: 阅读全文
posted @ 2021-05-13 20:41 walkersss 阅读(1689) 评论(0) 推荐(0)
摘要: /** * ThinkPHP 默认的调试模式配置文件 */ defined('THINK_PATH') or exit();// 调试模式下面默认设置 可以在应用配置目录下重新定义 debug.php 覆盖return array( 'LOG_RECORD' => false, // 进行日志记录 阅读全文
posted @ 2021-05-13 18:50 walkersss 阅读(480) 评论(0) 推荐(0)
摘要: Robots协议的写法既然网络爬虫在爬取一个网站之前,要先获取到这个文件,然后解析到其中的规则,那么,Robots就必须要有一套通用的语法规则。 最简单的robots.txt只有两条规则: User-agent:指定对哪些爬虫生效 Disallow:指定要屏蔽的网址 先说User-agent,爬虫抓 阅读全文
posted @ 2021-05-13 18:48 walkersss 阅读(592) 评论(0) 推荐(0)
摘要: URL: https://www.lanzous.com/i77xfna IN: 1.3.6.1.2.1.2.2.1.10 MBrowser-->iso-->org-->dod-->internet-->mgmt-->mib-2-->interfaces-->ifTable-->ifEntry--> 阅读全文
posted @ 2021-04-19 14:52 walkersss 阅读(1309) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页