摘要:
Shell脚本实现如下: #!/bin/bash IFS=$'\n' #echo自动将连续的空格当成一个处理 str='''abc b ad&& a''' num=$( echo -n $str | wc -c ) i=1 while [ $i -le $num ] do letter=`echo 阅读全文
摘要:
The Kubernetes cluster certificates have a lifespan of one year. If the Kubernetes cluster certificate expires on the Kubernetes master, then the kube 阅读全文
摘要:
在/etc/profile最后添加以下命令: export HISTTIMEFORMAT="%F %T `who am i | awk '{ print $1 $5 }'` " 清除本次会话history: history -r 阅读全文
摘要:
zabbix screen 图片以邮件形式发送 #! /usr/bin/env python #coding=utf-8 # Andy_f import time,os import urllib import urllib2 import cookielib import MySQLdb impo 阅读全文
摘要:
#!/bin/bash . /etc/profile logdir='/home/admin/zabbix/zabbix_log' mysql_host='localhost' mysql_user='root' mysql_passwd='*****' mysql_database='zabbix 阅读全文
摘要:
一、基础概念 Cent0S 7默认启用LVM2(Logical Volume Manager),把机器的一块硬盘分为两个区sda1和sda2,其中分区sda1作为系统盘/boot挂载,少量空间;sda2作为一个物理卷并且完全作为逻辑卷组VG(Volume Group)centos,在这个逻辑卷组ce 阅读全文
摘要:
1. Run [Start] - [Server Manager] and Click [Tools] - [Internet Information Services (IIS) Manager]. 2. Select Hostname on the left pane and Click [FT 阅读全文
摘要:
On a Windows Platform Services Controller or vCenter Server with Embedded Platform Services Controller 1. Log in to vCenter Server with a domain admin 阅读全文
摘要:
创建新目录,cmd进入到新目录,执行如下命令: 1. git svn init svn://10.10.10.10/net/QA_Dept 2. git svn fetch 3. git remote add origin https://git.net.com/AutomationTeam/QA_ 阅读全文
摘要:
Installing SFTP/SSH Server 1. On Windows 10 version 1803 and newer In Settings app, go to Apps > Apps & features > Manage optional features.Locate “Op 阅读全文