原创 Excel 多窗口顯示

Excel 多窗口顯示 打開註冊表編輯器,先進行導出操作備份註冊表。 regedit.exe 【HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open】,展開Open,將ddeexec刪除,然後選中com

原创 自動創建腳本定義內容,並實現版本控制

#!/bin/bashexport LANG=zh_CN.UTF-8 author: zhizhimao <zhizhimao.vip.qq.com> filename: vish version: v.0.0 date:2020-01-3

原创 linux 文件作爲Swap分區

linux 文件作爲Swap分區1.創建要作爲swap分區的文件:增加1GB大小的交換分區,則命令寫法如下,其中的count等於想要的塊的數量(bs*count=文件大小)。dd if=/dev/zero of=/var/swapfile

原创 centos7 python3.7+vim8

centos7 python3.7+vim8 安裝python3.7https://www.python.org/downloads/https://www.python.org/downloads/release/python-372/w

原创 centos7 安裝zabbix4監控系統

centos7 安裝zabbix4監控系統 一、安裝zabbix環境:安裝Apacheyum install -y httpd開機啓動Apachesystemctl enable httpdsystemctl start httpd防火牆打

原创 Centos7 Snapper快照備份

Centos7 Snapper快照備份必須是btrfs文件系統yum install -y snapper 創建配置文件:創建根目錄快照配置文件snapper -c config_name create-config -f btrfs /也

原创 centos7 網絡配置

網絡配置查看網卡信息:ifconfig 如果centos7 最小化安裝沒有ifconfig這個命令:yum install net-tools centos7 網卡命名規則:en: ethernet以太網卡o:主板集成網卡p:PCI獨立網卡

原创 Centos7 關閉SELINUX

關閉SELINUXvi /etc/selinux/config修改 SELINUX=disabled 命令修改:sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/conf

原创 centos7 dmidecode 信息採集

dmidecode採集信息 dmidecode輸出所有的硬件信息 dmidecode [選項] -t 顯示(type) -s 顯示(string)顯示所有(type):dmidecode -t 顯示所有(string):dmidecode

原创 Centos7 安裝

Centos7 安裝 硬盤容量小於2TB的話,系統默認MBR模式,如果使用GPT分割表選擇“Install CentOS 7”[Tab] 按鈕最後輸入inst.gpt 1、選擇語言 (默認英文)建議使用2、LOCALIZATION (本地化

原创 Nginx 安裝及調優

下載:nginxhttp://nginx.org/en/download.html上傳服務器tar -zxvf nginx-1.15.8cd nginx-1.15.8 安裝組件包yum -y install zlib zlib-devel

原创 ab壓力測試默認2萬併發,突破2萬併發測試。

下載:apachehttp://httpd.apache.org/download.cgi 安裝apache需要安裝組件APR and APR-Util包、PCRE包下載:APR and APR-Utilhttp://apr.apache.

原创 centos6 內核優化

CPU E5-2630 *2 內存64G 單服務器5萬頻發 vi /etc/sysctl.conf net.ipv4.ip_forward = 0 # 路由轉發net.ipv4.conf.all.rp_filter= 1 #啓用源路由覈

原创 Windows 2008R2 刪除 Windows Server Backup 備份副本

運行CMDdiskshadow顯示已有備份list shadows all 刪除所有副本delete shadows all刪除ID 副本delete shadows id

原创 python 圖片識別

安裝庫pip install pytesseract pip install Pillow windows安裝 tesseract 中文識別下載地址:https://digi.bib.uni-mannheim.de/tesseract/運行