1 2 3 4 5 ··· 21 下一页
 
摘要: 一、准备工作:安装所需软件(可以上网自行搜索) 1.VMware软件(https://www.cr173.com/soft/177242.html) VMware 12 V12.5.7 中文专业版 2.CentOS6.10镜像文件(http://isoredirect.centos.org/cent 阅读全文
posted @ 2018-07-20 22:35 圆缘 阅读(694) 评论(0) 推荐(0) 编辑
 
摘要: set ignorecase(忽略字符的大小写) 简写:set ic set cursorline(设置光标所在行的标识线) 简写:set cul set autoindent(设置自动缩进) 简写:set ai autocmd BufNewFile .sh exec ":call SetTitle 阅读全文
posted @ 2018-07-19 14:42 圆缘 阅读(1205) 评论(0) 推荐(0) 编辑
 
摘要: 一、2进制转10进制方法: 1=2^0=1 10=2^1=2 100=2^2=4 1000=2^3=8 10000=2^4=16 100000=2^5=32 1000000=2^6=64 10000000=2^7=128 将对应1位置的数相加 P.S:10101011=128+32+8+2+1=17 阅读全文
posted @ 2018-07-17 08:57 圆缘 阅读(10547) 评论(0) 推荐(0) 编辑
  2018年9月17日
摘要: 修改ssh服务器配置文件 /etc/ssh/sshd_config 第1项:GSSAPIAuthentication 设置为no 第2项:UseDNS 设置为no 最后重启ssh服务 6:service sshd restart 7:systemctl restart sshd 阅读全文
posted @ 2018-09-17 23:30 圆缘 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 本机免密登录远程主机 P.S. CentOS 6免密登录CentOS 7(全程在CentOS 6执行) 1.在CentOS 6生成密钥对 ssh keygen t rsa (连续按3次回车) 2.将CentOS 6生成的公钥传输给信任的CentOS 7远程主机 ssh copy id CentOS 阅读全文
posted @ 2018-09-17 23:13 圆缘 阅读(235) 评论(0) 推荐(0) 编辑
摘要: ![7.7颁发证书出错提示(可以省略).png](https://upload-images.jianshu.io/upload_images/10967676-a8949dd4e8f15ebb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![7.7颁发证书出错提示解决方法.png](https://upload-images.... 阅读全文
posted @ 2018-09-17 20:52 圆缘 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: linux上查看 windows上查看 需要把pem后缀修改为crt 阅读全文
posted @ 2018-09-17 18:32 圆缘 阅读(2656) 评论(0) 推荐(0) 编辑
摘要: CA重要配置文件: /etc/pki/tls/openssl.cnf 1.生成私钥 1.1不加密 :(umask 066;openssl genrsa out private.key 1024) :(umask 066;openssl genrsa out /etc/pki/CA/private/c 阅读全文
posted @ 2018-09-17 11:12 圆缘 阅读(17521) 评论(0) 推荐(0) 编辑
摘要: 文字说明 1 在CA上执行,建立CA cd /etc/pki/CA touch index.txt echo 0F serial (umask 077;openssl genrsa out private/cakey.pem 2048) openssl req new x509 key privat 阅读全文
posted @ 2018-09-17 09:52 圆缘 阅读(2495) 评论(0) 推荐(1) 编辑
  2018年9月13日
摘要: 路径:/etc/ssh/sshd_config 配置文件先备份 阅读全文
posted @ 2018-09-13 18:39 圆缘 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 本人是从某一培训机构“认识”Linux的,当时就被他深深吸引住了,因为他让我想起了《黑客帝国》与“黑客”,一个字“酷”,也从此对他产生了兴趣,就去网上搜索相关资料。 在茫茫搜索结果中,我找到了您 马哥教育,认识了一神人 马哥,知道了这世上还有另外一种精神 马哥精神:坚持奋斗,努力不息;知道了学习的三 阅读全文
posted @ 2018-09-13 11:56 圆缘 阅读(394) 评论(0) 推荐(1) 编辑
  2018年9月11日
摘要: 加密:gpg c filename 解密查看不生成文件:gpg d file.gpg 解密生成文件:gpg o filename d file.gpg CentOS 6 提示错误,在图形化界面操作就可以了 can't connect to `/root/.gnupg/S.gpg agent': No 阅读全文
posted @ 2018-09-11 10:45 圆缘 阅读(453) 评论(0) 推荐(0) 编辑
  2018年9月8日
摘要: 访问网页并发量: ab c 100 n 2000 http://192.168.30.7:9527/ 统计网页各IP的访问量: awk '/^[0 9]/{ip[$1]++}END{for (i in ip){print i,ip[i]}}' /var/log/httpd/access_log 将指 阅读全文
posted @ 2018-09-08 17:51 圆缘 阅读(605) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 21 下一页

返顶部