
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
可以在crontab中写入计划任务0 22 * * 6 sync && /sbin/shutdown -h now必须写绝对路径 直接写shutdown -h now 无效 表示在每周六的晚10点 关闭服务器。或者0 22 * * 6 sync && /sbin/poweroff也可写成脚本vim /aaa.sh#!/bin/bashsync &am...
前言在不重启服务器的情况,如何能够识别新添加的磁盘1、我们可以使用命令 lsblk或者fdisk -l 查看目前服务器磁盘信息,如下图,只能看到服务器上存在两块盘 sda和sdb,无法显示出新添加的磁盘sdc2、使用命令 cat /proc/scsi/scsi 或者 lsscsi查看SCSI卡、RAID卡,如图所示:HOST 主机适配器标识 第一个适配器为 00Channel 主机适配器上的SCS
Nginx以日期命名日志配置如下:http {..........log_formatmain'$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"';
Kubernetes集群安装ip版本172.30.101.14(master)CentOS Linux release 8.2.2004 (Core)172.30.101.15(node)CentOS Linux release 8.2.2004 (Core)设置主机名并配置hosts配置文件[root@localhost ~]# hostnamectl set-hostname master[r
以下日志开启均在mysql5.7.32进行测试general_loggeneral_log支持热开启,热关闭。开启general_log会记录所有操作mysql命令,所以会产生大量文件,一般不开启。相关参数general_log、log_output、general_log_filemysql> show variables like 'general_log';--查看日志是否开启+---
ConfigMap创建的三种方式1、使用目录创建[root@master config]# ls /opt/k8s/configgame.propertiesui.properties[root@master config]# cat game.propertiesenemies=alienslives=3[root@master config]# cat ui.propertiescolor.g
近期通过Google浏览器访问网站时,谷歌浏览器提示危险的错误(该域下的所有网站均不能正常访问,已部署了https),如下图:处理过程1、需要翻墙,到google浏览器中搜索google站长,或者直接访问https://search.google.com/search-console/welcome?hl=zh-CN该链接,出现以下界面:输入需要检测的域名点击继续,会给个html页面,下载该静态页
web安全响应头
title: ipv4与ipv6访问date: ‘2020-12-14 00:29:47’updated: ‘2020-12-14 00:29:47’tags: [Linux]permalink: /articles/2020/12/14/1607876987147.html双栈技术双栈接入是设备运用双协议栈技术,既能和IPv4网络通信,又能和IPv6网络通信。如果这台设备是一个路由器,那么这台路
Linux搭建FTP服务器







