摘要: Linux下 cmatrix的安装和使用(黑客屏保) 1. 安装ncurses支持包 yum install ncurses* # 安装相关ncurses支持包 2.下载屏保软件源码包 wget https://jaist.dl.sourceforge.net/project/cmatrix/cma 阅读全文
posted @ 2020-05-29 14:41 GaoYanbing 阅读(2817) 评论(0) 推荐(1) 编辑
摘要: yum install epel-releaseyum install ansible ansible 192.168.15.169 -m ping -k ansible all -u gao -k -m command -a 'ls /root' -b root -K 修改组 visudo 加入组 阅读全文
posted @ 2020-05-26 09:23 GaoYanbing 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1#my.cnf [client]port = 3306socket = /data1/mysql/data/mysql.sockdefault_character_set=utf8 [mysql]default-character-set=utf8socket=/data1/mysql/data/ 阅读全文
posted @ 2020-05-26 08:42 GaoYanbing 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 下载安装包 openssl https://ftp.openssl.org/source/ openssh https://openbsd.hk/pub/OpenBSD/OpenSSH/portable/ centos7.3和centos7.6升级完毕测试登录ssh以及重启后登录ssh均无问题。 前 阅读全文
posted @ 2020-05-25 16:31 GaoYanbing 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1、查看是否已经安装了vsftpd vsftpd -version 2、安装vsftpd(CentOS7) yum install -y vsftpd 3、新建FTP目录 创建的FTP目录如下: /data/KodServer/data/User/tomas/home 4、创建新用户 ftpname 阅读全文
posted @ 2020-05-25 14:52 GaoYanbing 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 1、关闭 rpcbind 服务 sudo systemctl disable rpcbind 2、关闭开机自启动 sudo systemctl disable rpcbind 3、立即执行关闭 systemctl stop rpcbind.socket 4、 验证是否监听 netstat -anup 阅读全文
posted @ 2020-05-25 14:49 GaoYanbing 阅读(2088) 评论(0) 推荐(0) 编辑
摘要: Centos7 禁止ping的几种方式 临时禁ping 将/proc/sys/net/ipv4/icmp_echo_ignore_all文件里面的0临时改为1,从而实现禁止ICMP报文的所有请求,达到禁止Ping的效果,网络中的其他主机Ping该主机时会显示“请求超时”,但该服务器此时是可以Ping 阅读全文
posted @ 2020-05-25 14:47 GaoYanbing 阅读(5690) 评论(0) 推荐(0) 编辑
摘要: 1,eg 0 2 * * */data/test/test.php >/dev/null 2>&1 & /dev/null 垃圾桶 0键盘输入 1屏幕输出 2错误输出 &后台运行 2>&1(2错误重定向到标准输出&1) 二、& 后台执行命令 当在前台运行某个作业时,终端被该作业占据;而在后台运行作业 阅读全文
posted @ 2020-05-14 17:56 GaoYanbing 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 抓包工具使用 1.作用: (1)捕获网络协议包 (2)分析网络协议包 2.分类: (1)命令行工具,如tcpdump (2)图像界面工具,wireshark 3.tcpdump命令行工具的使用 3.1格式:tcpdump [ -DenNqvX ] [ -c count ] [ -F file ] [ 阅读全文
posted @ 2020-05-14 10:59 GaoYanbing 阅读(2223) 评论(0) 推荐(0) 编辑
摘要: 一般我们使用Tcpdump时都是使用: tcpdump -i eth0 下面这条命令就是查看80端口的访问量,进行排序,取前20位 tcpdump -i eth0 -tnn dst port 80 -c 1000 | awk -F"." '{print 1"."1"."2"."3"."4}'| so 阅读全文
posted @ 2020-05-14 10:50 GaoYanbing 阅读(4553) 评论(0) 推荐(0) 编辑