原创 MySQL 主從一致性檢查

1.介紹 主從一致性主要是通過 Percona-Toolkit 這個工具來實現的,Percona Toolkit 是一組高級的命令行工具,用來管理 MySQL 和系統任務,主要功能包括: 驗證主節點和複製數據的一致性 有效的對記錄進行歸

原创 jumpserver 0.4.0 安裝使用

環境 系統: CentOS 7  Server IP: 192.168.1.76 一. 準備Python3和Python虛擬環境 1.1 安裝依賴包 $ yum -y install wget sqlite-devel xz gcc

原创 阿里安騎士推薦的系統安全優化腳本

#!/bin/env bash ##author fang for centos7##cronrm -f /etc/cron.denyrm -f /etc/at.deny touch /etc/cron.allow touch /etc

原创 centos7.2系統優化

1 修改網卡名稱爲eth0#mv ifcfg-eno16777729 ifcfg-eth0#vi /etc/sysconfig/grubGRUB_TIMEOUT=5GRUB_DISTRIBUTOR="$(sed 's, release .

原创 Nginx中FastCGI配置優化

 FastCGI:      FastCGI是從CGI發展改進而來的。傳統CGI接口方式的主要缺點是性能很差,因爲每次HTTP服務器遇到動態程序時都需要重新啓動腳本解析器來執行解析,然後結果被返回給HTTP服務器。這在處理高併發訪問時,幾

原创 解決docker 下來鏡像出現 error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net的問題

[root@node2 ~]# docker --version                                                                                      D