原创 linux系統搭建shadowsocks服務器

安裝shadowsocks:[root@localhost ~]# yum install -y epel-release [root@localhost ~]# yum install -y python-pip [root@localh

原创 gzip

[root @ localhost〜]#gzip --help 用法:gzip [OPTION] ... [FILE] ... 壓縮或解壓縮 -c, --stdout   將壓縮信息輸出到屏幕 -d, --decompress 解壓縮 -f

原创 自動備份mysql和mariadb數據庫

shell腳本#!/bin/bash mysql_user="123456" #數據庫用戶名 mysql_pwd="123456" #數據庫密碼 mysql_name="123456" #需要備份數據庫的名稱 BackName="mysql

原创 iptables筆記

查看iptables表 iptables -t filter -L iptables -t nat -L iptables -t mangle -L 介紹iptables命令 iptables -t table 命令 chain rules

原创 date和clock獲取的時間不一致

[root@localhost ~]# clock Sun 25 Feb 2018 12:36:09 AM CST -0.016252 seconds   [root@localhost ~]# date Sun Feb 25 18:49:

原创 linux搭建freeradius服務器

相關網站Freeradius下載鏈接   https://github.com/FreeRADIUS/freeradius-server/tree/v3.0.x系統版本: CentOS Linux release 7.3.1611 (Cor

原创 gzip

[root @ localhost〜]#gzip --help 用法:gzip [OPTION] ... [FILE] ... 壓縮或解壓縮 -c, --stdout   將壓縮信息輸出到屏幕 -d, --decompress 解壓縮 -f

原创 date和clock獲取的時間不一致

[root@localhost ~]# clock Sun 25 Feb 2018 12:36:09 AM CST -0.016252 seconds   [root@localhost ~]# date Sun Feb 25 18:49:

原创 iptables筆記

查看iptables表 iptables -t filter -L iptables -t nat -L iptables -t mangle -L 介紹iptables命令 iptables -t table 命令 chain rules

原创 Cnetos 7 搭建cacti

安裝包[root@localhost cacti]# yum install -y wget gcc gcc-c++ net-snmp net-snmp-utils net-snmp-devel php php-mysql mariadb-