07 2020 档案

摘要:1、配置 bind 服务,实现 www.magedu.org 域名解析 yum -y install bind bind-utils vi /etc/named.conf // listen-on port 53 {127.0.0.1;}; // allow-query {localhost;}; 阅读全文
posted @ 2020-07-27 07:55 tyzh2020 阅读(105) 评论(0) 推荐(0)
摘要:1、对称加密过程由那三部分组成 加密:发送方将原始信息经过对称密钥加密形成密文数据传输:密文通过网络发送到接收方解密:接收方收到密文后用对称密钥进行解密产生明文 2、使用 openssl 中的 aes 对称加密算法对文件 file.txt 进行加密,然后解密 openssl enc -e -aes1 阅读全文
posted @ 2020-07-21 08:53 tyzh2020
摘要:1、使用netstat和awk统计服务器出现tcp网络状态并按数量排序? netstat -tnlp | grep "^tcp\b" | awk '{print $5}' | sort| uniq -c | sort -nr 2、ll | awk '{print $3, "owns",$9}'这条命 阅读全文
posted @ 2020-07-13 11:13 tyzh2020 阅读(116) 评论(0) 推荐(0)
摘要:1、linux查看系统进程的命令是 ps或top 2、在超级用户下显示linux系统中正在运行的全部进程,使用的命令和参数 ps aux 或ps -ef3、在linux操作系统中,现在查看tomcat的进程状态使用命令是 ps -ef|grep tomcat 4、linux系统中,要想进程在后台运行 阅读全文
posted @ 2020-07-05 22:45 tyzh2020 阅读(125) 评论(0) 推荐(0)