centos8 过滤 syslog信息
服务器(centos8)在用户登录的时候会出现一些登录日志。 - 通过下面命令生成rsyslog的过滤规则; 根据实际情况, 新增相关过滤规则即可 > - 2\. 重启 rsyslog 服务 图片 :台灣野鳥攝影 Photo-eye 鳥訊\-李國榮
服务器(centos8)在用户登录的时候会出现一些登录日志。 - 通过下面命令生成rsyslog的过滤规则; 根据实际情况, 新增相关过滤规则即可 > - 2\. 重启 rsyslog 服务 图片 :台灣野鳥攝影 Photo-eye 鳥訊\-李國榮
Pointer 和 references - reference:总代表一个对象, 没有null reference;pointer则没有限制,可以为null - poiner可以被重新赋值; reference不可以被重新赋值。 如果在不同时间指向不同对象则使用pointer, 如果一旦代表该对象就不能改变选择…
这篇文章 What every programmer should know about memory, Part 是出自lwn.net 作者 Ulrich Drepper 常见的商用计算机结构: - 北桥南桥结构: CPU通过FSB连接到北桥, 北桥包含内存控制器,通过不同内存控制器链接不同的RAM,如DRAM…
在搭建blog使用https服务,需要申请配置一个域名证书,使用了Let’s Encrypt申请了免费的https证书。
今天登录到博客提示需要升级php,更新了下镜像顺便把之前搭建的步骤整理了一下。
Given an integer array nums sorted in non-decreasing order, return _an array of the squares of each number sorted in non-decreasing
Given two strings s and t, check if s is a subsequence of t. A subsequence of a string is a new string that is formed from the original string by deleting some…
DeFi:Decentralized finance 是一种基于block-chain的金融形式。他不依赖于券商,银行,交易所等中心话的机构。
Given an integer array nums, return all the triplets numsi, numsj, numsk such that i != j, i != k, and j != k, and numsi + numsj + numsk == 0
Given an array of integers nums and an integer target, return _indices of the two numbers such that they add up to target