######cut -d 指定分隔符 -f 指定列数 1,2,3 [root@rongbiz002 26]# awk '{print $1}' /www/wwwlogs/c2p.rongbiz.com-access_log|head -n5 |cut -d '.' -f 1,2,3 112.64.5 ...
                            
                            
                                分类:
系统相关   时间:
2021-02-27 13:40:48   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    linux crontab报以下错误解决 [root@china ~]# crontab -l 拒绝权限You (root) are not allowed to access to (crontab) because of pam configuration. 解决: 1.查看定时任务的日志/va ...
                            
                            
                                分类:
数据库   时间:
2021-02-27 13:40:22   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    package com.dai.tree.threadedbinarytree; public class ThreadedBinaryTreeDemo { public static void main(String[] args) { //测试中序线索二叉树功能是否正确 HeroNode roo ...
                            
                            
                                分类:
其他好文   时间:
2021-02-27 13:26:03   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本Centos 6.x使用iptables不一样 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 servic ...
                            
                            
                                分类:
系统相关   时间:
2021-02-27 13:22:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    同一个nginx配置文件,请求不同的域名可以指定对应的目录 nginx配置 cat long.conf server { listen 80; server_name a.com b.com c.com; location / { root /home/long/$host/; index inde ...
                            
                            
                                分类:
其他好文   时间:
2021-02-27 13:10:39   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    环境: 本地虚拟机 最低配置: CPU:2 vCPU 内存:4GiB 硬盘:40G 软件版本: 操作系统:Linux localhost.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_6 ...
                            
                            
                                分类:
其他好文   时间:
2021-02-27 13:08:36   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    计划任务 计划任务主要是做一些周期性的任务,目前主要的用途是定期备份数据 在linux下,有两个命令可以用来做计划任务而执行 at: 一次性定时任务计划执行 crontab: 每天定时计划任务执行 一次性调度执行 at 语法格式 at 示例 Ctrl+d 保存指令 # 查看进行中的任务 atq [r ...
                            
                            
                                分类:
其他好文   时间:
2021-02-27 13:03:57   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    日志进程rsyslog httpd/nginx/mysql: 各类应用程序,可以以自己的方式记录日志 Rsyslog 是处理系统相关日志的进程 处理日志的进程 rsyslog rsyslog可以处理绝大部分日志记录,比如系统操作有关信息,如登录信息,程序的启动关闭信息 [root@CatdeXin- ...
                            
                            
                                分类:
其他好文   时间:
2021-02-27 13:03:19   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    算是第一个独立完成的中等题了。对二叉树进行一次先序遍历即可。 class Solution { public: TreeNode *targetNode; TreeNode *resultNode; TreeNode *getTargetCopy(TreeNode *original, TreeNo ...
                            
                            
                                分类:
其他好文   时间:
2021-02-26 13:09:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    实战案例—使用PXE工具批量部署服务器 【案例分析】 (1)规划节点 IP地址 主机名 节点 备注 192.168.200.10 localhost PXE 版本为centos6 64位 192.168.200.20 controller controller 版本为centos7 64位 (2)在 ...
                            
                            
                                分类:
其他好文   时间:
2021-02-26 13:09:15   
                                阅读次数:
0