09 2020 档案

摘要:1、写一个一键安装 mariadb 数据库脚本。 #!/bin/bash DIR=`pwd` NAME="mariadb-10.5.5-linux-x86_64.tar.gz" FULL_NAME="${DIR}/${NAME}" yum -y install libaio numactl-libs 阅读全文
posted @ 2020-09-26 17:04 进击的子卿 阅读(101) 评论(0) 推荐(0)
摘要:iptables 周作业 1、拒绝所有主机ping当前的主机。 iptables -A INPUT -p icmp -j REJECT 2、本机能够访问别的机器的HTTP服务,但是别的机器无法访问本机 iptables -A INPUT -d 本机IP -p tcp --dport 80 -j RE 阅读全文
posted @ 2020-09-19 11:19 进击的子卿 阅读(99) 评论(0) 推荐(0)
摘要:重点 实验一:使用 kickstart 半自动化安装CentOS系统 1.制作应答文件 vim ks7.cfg install xconfig --startxonboot keyboard --vckeymap=us --xlayouts='us' rootpw --iscrypted $6$0V 阅读全文
posted @ 2020-09-11 21:33 进击的子卿 阅读(169) 评论(0) 推荐(0)
摘要:1、在 CentOS7 中使用 gpg 创建 RSA 非对称密钥对 [root@centos7 ~]#gpg --gen-key gpg (GnuPG) 2.0.22; Copyright (C) 2013 Free Software Foundation, Inc. This is free so 阅读全文
posted @ 2020-09-05 19:10 进击的子卿 阅读(258) 评论(0) 推荐(0)